feat(mdn): MDN MCPサーバーをuserスコープに自動登録#48
Merged
Merged
Conversation
chezmoi の run_onchange スクリプトで MDN MCP (https://mcp.mdn.mozilla.net/) を user スコープに登録し、dotfiles を適用した全マシンで使えるようにする。fnox 登録スクリプトを踏襲し、claude 未インストール時は no-op・既登録時はスキップで冪等。
K35O_BOT_* の3キーが `KEY=` とスペース無しで追加されており vp check が落ちていたため `KEY =` に整形。a94d7da が main 直コミットで CI を通らず混入したフォーマット崩れの修正で、age 暗号化された値は不変(空白のみの変更)。
3718e93 to
11b211e
Compare
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.
概要
chezmoi の
run_onchange_after_register-mdn-mcp.shを追加し、MDN MCP サーバー (https://mcp.mdn.mozilla.net/) を user スコープに自動登録する。これで dotfiles を適用した全マシンで MDN ドキュメント参照(search/get-doc/get-compat)が使えるようになる。詳細
run_onchange_after_register-fnox-mcp.sh) を踏襲し、claude mcp add --transport http -s user mdn ...で登録。command -v claudeで claude 未インストール時は no-op、claude mcp get mdnで既登録時はスキップする冪等な実装。chezmoi apply --dry-runは run スクリプトを実行しないため CI への副作用なし。同梱した別コミット(CI修正)
style(fnox): config.toml のキー代入を整形を含む。dot_config/fnox/config.tomlのK35O_BOT_*3キーがKEY=(=前の空白なし)で追加されておりvp checkが落ちていたのをKEY =に整形。a94d7daが main 直コミットで CI を通らず混入したフォーマット崩れで、vp checkはリポジトリ全体を見るため本PRも巻き込まれていた。age 暗号化された値は不変(空白のみの変更、git diff -wで差分ゼロ)。補足
MDN MCP は Mozilla が experimental として運用中で、予告なく停止される可能性がある旨が案内ページに記載されている。停止が頻発する場合は user → プロジェクトスコープへの格下げを検討する。