feat(mcp): add alwaysLoad: true to plugin .mcp.json#140
Merged
Conversation
Add plugin-root .mcp.json shipping the github-rag-mcp HTTP MCP server config with `alwaysLoad: true`. Claude Code v2.1.121 (released 2026-04-28) recognizes this option and skips tool-search deferral for the listed server, so RAG search tools stay always available without the per-turn ToolSearch round-trip. Claude Code v2.1.121 で導入された alwaysLoad オプションを利用し、 research 経路で常用する github-rag-mcp の tool を deferred 状態から ロードする 1 往復を毎ターン削減する。旧 Claude Code は未知 field を 無視するため後方互換性は維持される。 Closes #139 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
github-rag-mcp | db9cd01 | Apr 28 2026, 02:16 PM |
liplus-lin-lay
commented
Apr 28, 2026
Member
Author
liplus-lin-lay
left a comment
There was a problem hiding this comment.
AI Self-Review (auto mode)
変更スコープ
.mcp.jsonを plugin root に新規追加 (10 行、JSON config のみ)- 実装コード / docs 動作影響なし
リスク評価: 低
- config patch 単体。runtime path / build path に触れない。
alwaysLoad未対応の旧 Claude Code は未知 field を無視 (後方互換)。- HTTP/OAuth 接続経路は変更なし。MCP retry の v2.1.121 改善に乗る。
- prompt 圧迫リスク低 (
search1 tool のみ)。
Spec 準拠
- field 順序 (
type->url->alwaysLoad->note) が issue 提案どおり。 - commit title ASCII 単行 / body 日本語含む /
Closes #139あり。 - PR title ASCII 単行 / body 日本語 /
Closes #139あり。 - auto mode のため
--autoflag 未付与で PR 作成済み。
判定
patch 相当 (governance/config 変更、user/system observable 影響なし)。CI green。merge 可。
This was referenced Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.mcp.jsonを新規追加し、github-rag-mcpserver config にalwaysLoad: trueを指定する。alwaysLoadオプションにより、当該 server の全 tool が tool-search deferral を skip し常時 prompt に常駐する。ToolSearch経由でロードする 1 往復を毎ターン削減する。Test plan
.mcp.jsonが plugin root に存在し JSON として valid であることtype->url->alwaysLoad->note) が issue 提案どおりであることgithub-rag-mcpserver の tool が deferred 表示されないこと (post-merge 動作確認)Closes #139