Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: github/github-mcp-server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.7.0
Choose a base ref
...
head repository: github/github-mcp-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.8.0
Choose a head ref
  • 6 commits
  • 50 files changed
  • 8 contributors

Commits on Jul 11, 2025

  1. get_file_content Match Paths in Git Tree if Full Path Unknown (#650)

    * add contingency to match path in git tree
    
    * resolveGitReference helper
    
    * fix: handling of directories
    
    * Test_filterPaths
    
    * filterPaths - trailing slashes
    
    * fix: close response body, improve error messages, docs
    
    * update tool result message about resolved git ref
    
    * unit test cases for filterPaths maxResults param
    
    * resolveGitReference - NewGitHubAPIErrorToCtx
    LuluBeatson authored Jul 11, 2025
    Configuration menu
    Copy the full SHA
    c23b1f9 View commit details
    Browse the repository at this point in the history
  2. fix: get_file_contents use "/" for root (#666)

    * update path description to use "/" for root
    
    * update docs and toolsnaps
    
    * use mcp.DefaultString, revert description, update unit test
    LuluBeatson authored Jul 11, 2025
    Configuration menu
    Copy the full SHA
    d15026b View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2025

  1. Bump go-github to v73.0.0 (#597)

    * Bump go-github to v73.0.0
    
    * Clean up go.mod and update licenses
    
    * Updated remaining imports to use github package v73 instead of v72
    
    ---------
    
    Co-authored-by: Tommaso Moro <37270480+tommaso-moro@users.noreply.github.com>
    Co-authored-by: tommaso-moro <tommaso-moro@github.com>
    3 people authored Jul 15, 2025
    Configuration menu
    Copy the full SHA
    be91795 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2025

  1. Always include SHA in get_file_contents responses (#676)

    * fix: Add SHA to get_file_contents while preserving MCP behavior (#595)
    
    Enhance get_file_contents to include SHA information without changing
    the existing MCP server response format.
    
    Changes:
    - Add Contents API call to retrieve SHA before fetching raw content
    - Include SHA in resourceURI (repo://owner/repo/sha/{SHA}/contents/path)
    - Add SHA to success messages
    - Update tests to verify SHA inclusion
    - Maintain original behavior: text files return raw text, binaries return base64
    
    This preserves backward compatibility while providing SHA information
    for better file versioning support.
    
    Closes #595
    
    * fix: Improve error handling for Contents API response
    
    Ensure response body is properly closed even when an error occurs by moving
    the defer statement before the error check. This prevents potential resource
    leaks when the Contents API returns an error with a non-nil response.
    
    Changes:
    - Move defer respContents.Body.Close() before error checking
    - Rename errContents to err for consistency
    - Add nil check for respContents before attempting to close body
    
    This follows Go best practices for handling HTTP responses and prevents
    potential goroutine/memory leaks.
    
    * revert changes to resource URI
    
    * use GraphQL API to get file SHA
    
    * refactor: mock GQL client instead of getFileSHA function to follow conventions
    
    * lint
    
    * revert GraphQL
    
    ---------
    
    Co-authored-by: LuluBeatson <lulubeatson@github.com>
    yonaka15 and LuluBeatson authored Jul 17, 2025
    Configuration menu
    Copy the full SHA
    0568187 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2025

  1. Reorganize README, add dedicated install guides, include policies and…

    … governance info for the github server (#695)
    
    * Refactor README and add host installation guides, governance docs
    
    - Reorganized README for clarity and navigation
    - Added dedicated installation guides for Claude, Cursor, Windsurf, JetBrains, and more
    - Clarified contribution guidelines and approval criteria
    - Added policies and governance documentation
    
    * Update README.md
    
    * Update README with configuration section for remote GitHub MCP Server
    
    * Update MCP access policy description in README
    
    Removing coding agent from the policy note, as the GitHub server is unaffected by this policy
    
    * Update configuration steps for GitHub Copilot in JetBrains IDEs...
    
    ...to reflect changes in accessing settings and configuring MCP.
    
    * Update install-other-copilot-ides.md
    
    * Update Eclipse MCP support version and configuration steps...
    
    ...for GitHub Copilot plugin in installation guide.
    
    * Update docs/installation-guides/install-cursor.md
    
    * Update docs/installation-guides/install-windsurf.md
    
    * Apply suggestion from @tonytrg
    
    * Apply suggestion from @tonytrg
    
    * Apply suggestion from @tonytrg
    
    * Apply suggestion from @tonytrg
    
    * Apply suggestion from @tonytrg
    
    * Apply suggestion from @tonytrg
    
    * Apply suggestion from @tonytrg
    
    ---------
    
    Co-authored-by: Tony Truong <tonytrg@github.com>
    D1M1TR10S and tonytrg authored Jul 18, 2025
    Configuration menu
    Copy the full SHA
    1a74e6d View commit details
    Browse the repository at this point in the history
  2. fix: shorten long tool name for adding pr review comments (#697)

    * shorten tool name
    
    * update function name to match tool name
    
    * adjust wording of descriptions
    LuluBeatson authored Jul 18, 2025
    Configuration menu
    Copy the full SHA
    b5e3348 View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy