Skip to content

fix(mcp): drop root .mcp.json; recommend alwaysLoad in desktop config examples#143

Merged
liplus-lin-lay merged 1 commit into
mainfrom
141-fix-mcp-drop-root-config
Apr 28, 2026
Merged

fix(mcp): drop root .mcp.json; recommend alwaysLoad in desktop config examples#143
liplus-lin-lay merged 1 commit into
mainfrom
141-fix-mcp-drop-root-config

Conversation

@liplus-lin-lay
Copy link
Copy Markdown
Member

Summary

  • PR feat(mcp): add alwaysLoad: true to plugin .mcp.json #140 (feat(mcp): add alwaysLoad: true to plugin .mcp.json #139) で repo root に新規追加した /.mcp.json を削除する。Li+ MCP 群は preview 運用中で、現在の想定 install 経路は Claude Desktop の claude_desktop_config.json への手動登録のみ。Claude Code 専用 scope の root .mcp.json は重複 / override の混乱要因となるため反転させる (将来 distribution 段階で再導入し得る reversible delete)。
  • alwaysLoad: true の推奨先を実際の install 経路 = mcp-server/README.mdclaude_desktop_config.json 例 (basic + self-hosted Worker の 2 箇所) に移す。Claude Code v2.1.121+ (2026-04-28 release) で field が認識される旨の短い note を 1 箇所だけ添える。alwaysLoad を解釈しない旧 client は field を無視するだけなので後方互換性は維持される。

Test plan

  • git diff --stat.mcp.json の真の削除 (file removed) と mcp-server/README.md の編集のみが含まれることを確認
  • 既存 claude_desktop_config.json snippet 2 箇所 (basic + self-hosted) の双方に "alwaysLoad": true が入っていること
  • root の README.md / README.ja.md / docs/installation*.md には claude_desktop_config snippet が存在せず、不要な version note 汚染を起こしていないこと
  • CI 緑化 (lint / TS check / build) を確認

Closes #141

Refs PR #140 (alwaysLoad 初版、本 PR で修正対象).

… examples

Remove the repo-root /.mcp.json added in PR #140 (issue #139). The Li+ MCP
suite is in preview phase, and the assumed install path is manual install
via Claude Desktop's claude_desktop_config.json — not Claude Code's
project-scoped .mcp.json. Shipping a root .mcp.json caused duplicate /
override friction for users who already register the server in their
Desktop config.

Surface the alwaysLoad: true recommendation on the actual install
surface instead: both claude_desktop_config.json examples in
mcp-server/README.md (basic + self-hosted Worker) now include the field,
with a single short note about the Claude Code v2.1.121+ requirement
(released 2026-04-28). Older clients silently ignore the field.

preview phase 中の install 経路は Desktop 設定への手動登録のみを前提とし、
将来の distribution 段階で root .mcp.json を再導入する余地を残す reversible
delete として扱う。

Closes #141

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 28, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
github-rag-mcp d6fd8db Apr 28 2026, 02:41 PM

Copy link
Copy Markdown
Member Author

@liplus-lin-lay liplus-lin-lay left a comment

Choose a reason for hiding this comment

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

AI セルフレビュー (auto mode)

変更内容

  • .mcp.json を真の削除 (10 行 → 0 行、file removed)
  • mcp-server/README.mdclaude_desktop_config.json 例 2 箇所 (basic + self-hosted Worker) に "alwaysLoad": true を追記
  • 同 README に Claude Code v2.1.121+ 要件と旧 client の field 無視に関する短い note を 1 箇所のみ追加

リスク評価

  • 影響範囲: 設定 / docs のみ。ランタイムコードや Worker・migration には触れていない (CI / test / Workers Builds の 3 check すべて pass)
  • 可逆性: 高。.mcp.json の再導入は将来 distribution phase で git revert 可能 (PR #140 の reversible delete として扱う)
  • 後方互換性: alwaysLoad を認識しない旧 Claude Code / Claude Desktop は field を無視するだけ。破壊的変更なし
  • scope creep: README / installation 系 docs を grep で確認したところ、root README.md / README.ja.md / docs/installation*.md には claude_desktop_config snippet が存在しないことを確認済。version note の汚染は最小

判定

patch / config + docs only / 低リスク → auto mode の self-review pass 基準を満たす。マージへ進む。

@liplus-lin-lay liplus-lin-lay merged commit 53b554c into main Apr 28, 2026
3 checks passed
@liplus-lin-lay liplus-lin-lay deleted the 141-fix-mcp-drop-root-config branch April 28, 2026 14:42
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.

fix(mcp): drop root .mcp.json; surface alwaysLoad in claude_desktop_config.json examples instead

1 participant