Skip to content

github: defer MCP tool loading instead of alwaysLoad - #95

Merged
cblecker merged 1 commit into
mainfrom
claude/github-plugin-alwaysload-yjba22
Aug 25, 2026
Merged

github: defer MCP tool loading instead of alwaysLoad#95
cblecker merged 1 commit into
mainfrom
claude/github-plugin-alwaysload-yjba22

Conversation

@cblecker

Copy link
Copy Markdown
Owner

Removes "alwaysLoad": true from the GitHub MCP server config so its tools are deferred and loaded on demand via tool search, rather than being injected into every session's context window at startup.

Changes

  • github/.mcp.json — drop "alwaysLoad": true
  • github/README.md — update the MCP Server description to reflect on-demand tool loading
  • github/.claude-plugin/plugin.json — 1.3.1 → 1.4.0 (minor: backward-compatible behavior change)

The SessionStart hook is unchanged — its "prefer GitHub MCP tools over the gh CLI and WebFetch" guidance still applies, and is arguably more useful now that the tools aren't listed upfront.

Validation

  • claude plugin validate . — passed
  • claude plugin validate ./github — passed
  • npx markdownlint-cli2 on github/README.md — clean

Generated by Claude Code

Remove "alwaysLoad": true from the GitHub MCP server config so its tools
are loaded on demand through tool search rather than being injected into
every session's context window.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R96fvxFzaMYDUy9jAivP7g
Copilot AI balanced review requested due to automatic review settings August 25, 2026 19:28
@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d3f0ea94-e69d-4e22-9703-fa3f5c22f4e2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The configuration, documentation, and required semantic version bump are consistent.

Pull request overview

Defers GitHub MCP tool loading to reduce startup context usage.

Changes:

  • Removes alwaysLoad.
  • Documents on-demand loading.
  • Bumps the plugin minor version.
File summaries
File Description
github/.mcp.json Enables deferred tool loading.
github/README.md Documents the new behavior.
github/.claude-plugin/plugin.json Bumps version to 1.4.0.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@cblecker
cblecker merged commit 770bd65 into main Aug 25, 2026
14 checks passed
@cblecker
cblecker deleted the claude/github-plugin-alwaysload-yjba22 branch August 25, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants