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.26.1
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: main
Choose a head ref
  • 7 commits
  • 12 files changed
  • 11 contributors

Commits on Dec 18, 2025

  1. Fix: Add middleware to inject deps into context for tool handlers

    The issue was that after PR #1640 switched from closure-based deps to context-based deps,
    the stdio server was missing middleware to inject ToolDependencies into the request context.
    This caused tools to panic with "ToolDependencies not found in context" when called.
    
    Added middleware in NewMCPServer() that wraps all requests with github.ContextWithDeps(),
    ensuring deps are available to tool handlers via MustDepsFromContext().
    
    Also added tests to verify server creation and toolset resolution logic.
    
    Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
    Copilot and SamMorrowDrums committed Dec 18, 2025
    Configuration menu
    Copy the full SHA
    311d581 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2025

  1. Add aliases for new actions tools (#1652)

    * add aliases for new actions tools
    
    * generate docs
    tommaso-moro authored Dec 19, 2025
    Configuration menu
    Copy the full SHA
    63c7db0 View commit details
    Browse the repository at this point in the history
  2. Add raw client error annotation and annotate GetFileContents (#1570)

    * Add raw client error annotation and annotate GetFileContents
    
    * Track response.
    
    * add raw errors to context
    
    * add raw api error test
    
    * Update pkg/errors/error.go
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Add blank line after Error() method for readability
    
    * add NewGitHubRawAPIErrorResponse back
    
    ---------
    
    Co-authored-by: Matt Holloway <mattdholloway@pm.me>
    Co-authored-by: Matt Holloway <mattdholloway@github.com>
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    4 people authored Dec 19, 2025
    Configuration menu
    Copy the full SHA
    b79d126 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2025

  1. feat: Add DestructiveHint to delete_project_item tool annotation

    Add DestructiveHint: true to the delete_project_item tool to be
    consistent with other delete operations (delete_file and
    delete_workflow_run_logs) that properly indicate destructive behavior.
    
    This helps LLMs better understand that this tool permanently removes
    data and should be used with appropriate caution.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    2 people authored and SamMorrowDrums committed Dec 22, 2025
    Configuration menu
    Copy the full SHA
    844137c View commit details
    Browse the repository at this point in the history
  2. chore: Update toolsnap for delete_project_item with destructiveHint

    Add destructiveHint: true to the snapshot file to match the code change.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    2 people authored and SamMorrowDrums committed Dec 22, 2025
    Configuration menu
    Copy the full SHA
    6c0bbb8 View commit details
    Browse the repository at this point in the history
  3. get_file_contents fetch refs improvements (#1655)

    * get_file_contents improvements
    
    * Return custom errors when main ref is supplied
    
    * Remove test for short sha
    
    * Apply Copilot suggestion
    almaleksia authored Dec 22, 2025
    Configuration menu
    Copy the full SHA
    2f31c15 View commit details
    Browse the repository at this point in the history
  4. remove experiments toolset

    tommaso-moro authored and SamMorrowDrums committed Dec 22, 2025
    Configuration menu
    Copy the full SHA
    b5be18c View commit details
    Browse the repository at this point in the history
Loading