- Notifications
You must be signed in to change notification settings - Fork1.4k
Comparing changes
Open a pull request
base repository:github/github-mcp-server
Uh oh!
There was an error while loading.Please reload this page.
base:v0.7.0
head repository:github/github-mcp-server
Uh oh!
There was an error while loading.Please reload this page.
compare:v0.8.0
- 6commits
- 50files changed
- 8contributors
Commits on Jul 11, 2025
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
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
Commits on Jul 15, 2025
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>
Commits on Jul 17, 2025
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 changingthe 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 base64This preserves backward compatibility while providing SHA informationfor better file versioning support.Closes#595* fix: Improve error handling for Contents API responseEnsure response body is properly closed even when an error occurs by movingthe defer statement before the error check. This prevents potential resourceleaks 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 bodyThis follows Go best practices for handling HTTP responses and preventspotential 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>
Commits on Jul 18, 2025
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 READMERemoving 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>
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
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff v0.7.0...v0.8.0
Uh oh!
There was an error while loading.Please reload this page.