Skip to content

chore(github): remove unwanted MCP toolsets and insiders mode - #14

Merged
cblecker merged 1 commit into
mainfrom
chore/remove-unwanted-github-mcp-toolsets
Feb 25, 2026
Merged

chore(github): remove unwanted MCP toolsets and insiders mode#14
cblecker merged 1 commit into
mainfrom
chore/remove-unwanted-github-mcp-toolsets

Conversation

@cblecker

@cblecker cblecker commented Feb 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace X-MCP-Toolsets: "all" with an explicit list of 17 toolsets, excluding web_search, copilot_spaces, copilot, stargazers, and git
  • Remove X-MCP-Insiders: "true" header
  • Update plugin description to reflect selective toolset configuration

Changes

github/.mcp.json

  • Changed X-MCP-Toolsets from "all" to explicit comma-separated list of enabled toolsets
  • Removed X-MCP-Insiders header entirely

github/.claude-plugin/plugin.json

  • Updated description to no longer reference "all toolsets" or "insiders mode"

Verification

  • claude plugin validate ./github passes

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Shortened plugin description to a concise summary of available toolsets and features.
    • Removed "copilot" from the plugin keywords list.
  • Chores

    • Replaced blanket "all toolsets" header with an explicit list of selected toolsets, clarifying enabled capabilities (repository management, code security, discussions, notifications, and related collaboration tools).

@coderabbitai

coderabbitai Bot commented Feb 25, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d261138 and e1c0660.

📒 Files selected for processing (2)
  • github/.claude-plugin/plugin.json
  • github/.mcp.json
🚧 Files skipped from review as they are similar to previous changes (2)
  • github/.claude-plugin/plugin.json
  • github/.mcp.json

Walkthrough

The pull request updates two GitHub plugin configuration files: the plugin metadata description was shortened to list selected toolsets, the keywords array removed "copilot", and the MCP header replaced wildcard/insiders values with an explicit list of toolsets.

Changes

Cohort / File(s) Summary
GitHub plugin metadata
github/.claude-plugin/plugin.json
Shortened description to reference selected toolsets; removed "copilot" from the keywords array.
MCP header configuration
github/.mcp.json
Replaced "X-MCP-Toolsets": "all" and "X-MCP-Insiders": "true" with an explicit, comma-separated toolset list (default, actions, orgs, labels, notifications, discussions, gists, projects, code_security, secret_protection, dependabot, security_advisories, github_support_docs_search).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 Nose a-twitch, I prance and peep,
I trimmed the blurb and made it neat—
Keywords slim, toolsets picked with care,
A tidy config, light as air. ✨

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately describes the main changes: removing unwanted MCP toolsets and insiders mode from the GitHub plugin configuration.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/remove-unwanted-github-mcp-toolsets

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 and usage tips.

@coderabbitai coderabbitai Bot 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.

🧹 Nitpick comments (2)
github/.mcp.json (1)

8-8: LGTM! Optionally simplify using the default keyword.

The explicit toolset list is correct. As a minor simplification, the default keyword refers to the default bundle of toolsets (context, issues, pull_requests, repos, users), so the value could be shortened to "default,actions,orgs,labels,notifications,discussions,gists,projects,code_security,secret_protection,dependabot,security_advisories,github_support_docs_search", removing 5 explicitly named entries.

♻️ Optional simplification using `default`
-        "X-MCP-Toolsets": "context,repos,issues,pull_requests,users,actions,orgs,labels,notifications,discussions,gists,projects,code_security,secret_protection,dependabot,security_advisories,github_support_docs_search"
+        "X-MCP-Toolsets": "default,actions,orgs,labels,notifications,discussions,gists,projects,code_security,secret_protection,dependabot,security_advisories,github_support_docs_search"

Note: invalid or unknown toolsets are silently ignored without error and will not prevent the server from starting, so the explicit list is safe as-is if you prefer the clarity of naming every toolset.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@github/.mcp.json` at line 8, Replace the explicit toolset list in the
"X-MCP-Toolsets" value with the shorter form using the default keyword; update
the string currently containing
"context,repos,issues,pull_requests,users,actions,orgs,labels,notifications,discussions,gists,projects,code_security,secret_protection,dependabot,security_advisories,github_support_docs_search"
to use "default" in place of the five entries (context, issues, pull_requests,
repos, users) so it becomes
"default,actions,orgs,labels,notifications,discussions,gists,projects,code_security,secret_protection,dependabot,security_advisories,github_support_docs_search".
github/.claude-plugin/plugin.json (1)

9-9: Consider removing the stale "copilot" keyword.

The copilot and copilot_spaces toolsets were intentionally excluded from .mcp.json. Keeping "copilot" as a discovery keyword could mislead users into expecting Copilot-specific tooling.

♻️ Suggested fix
-  "keywords": ["github", "mcp", "issues", "pull-requests", "copilot", "code-security"]
+  "keywords": ["github", "mcp", "issues", "pull-requests", "code-security"]
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@github/.claude-plugin/plugin.json` at line 9, Remove the stale "copilot"
discovery keyword from the keywords array in plugin.json (the entry "keywords":
["github", "mcp", "issues", "pull-requests", "copilot", "code-security"]);
update the array to exclude "copilot" so it no longer advertises Copilot tooling
and run a quick JSON lint to ensure the file stays valid after editing.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@github/.claude-plugin/plugin.json`:
- Line 9: Remove the stale "copilot" discovery keyword from the keywords array
in plugin.json (the entry "keywords": ["github", "mcp", "issues",
"pull-requests", "copilot", "code-security"]); update the array to exclude
"copilot" so it no longer advertises Copilot tooling and run a quick JSON lint
to ensure the file stays valid after editing.

In `@github/.mcp.json`:
- Line 8: Replace the explicit toolset list in the "X-MCP-Toolsets" value with
the shorter form using the default keyword; update the string currently
containing
"context,repos,issues,pull_requests,users,actions,orgs,labels,notifications,discussions,gists,projects,code_security,secret_protection,dependabot,security_advisories,github_support_docs_search"
to use "default" in place of the five entries (context, issues, pull_requests,
repos, users) so it becomes
"default,actions,orgs,labels,notifications,discussions,gists,projects,code_security,secret_protection,dependabot,security_advisories,github_support_docs_search".

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d88d77d and d261138.

📒 Files selected for processing (2)
  • github/.claude-plugin/plugin.json
  • github/.mcp.json

Replace X-MCP-Toolsets "all" with explicit list excluding web_search,
copilot_spaces, copilot, stargazers, and git toolsets. Remove
X-MCP-Insiders header.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cblecker
cblecker force-pushed the chore/remove-unwanted-github-mcp-toolsets branch from d261138 to e1c0660 Compare February 25, 2026 21:10
@cblecker
cblecker merged commit 5d71962 into main Feb 25, 2026
9 checks passed
@cblecker
cblecker deleted the chore/remove-unwanted-github-mcp-toolsets branch February 25, 2026 21:14
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.

1 participant