{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"CLI エージェント (クロード コード、クライン) MCP 統合","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"cli-エージェント-クロード-コードクライン-mcp-統合","__idx":0},"children":["CLI エージェント (クロード コード、クライン) MCP 統合"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"構成手順","__idx":1},"children":["構成手順"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Claude Code"]}," などの CLI ベースの AI エージェント、または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cline"]}," や ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Roo Code"]}," などの VS Code 拡張機能の場合は、MCP 構成をそれぞれの JSON 構成ファイルに手動で追加する必要があります。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["MoreLogin デスクトップ クライアントから「MoreLogin-mcp」構成をコピーします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["特定のツールの構成ファイルを開きます。",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["クロード コード"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["~/.claude.json"]}," (またはローカル プロジェクト構成ファイル) を編集します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cline (VS Code)"]},": VS Code 設定を開き、「Cline: MCP」を検索し、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cline_mcp_settings.json"]}," ファイルを編集します。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mcpServers"]}," オブジェクトの下に設定を貼り付けます。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"mcpServers\": {\n    \"morelogin-mcp\": {\n      \"command\": \"/path/to/executable\",\n      \"args\": [\"/path/to/mcp-server-script.js\"],\n      \"env\": {}\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["(MoreLogin クライアントによって生成された正確な JSON を必ず使用してください。)"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ファイルを保存し、エージェントを再起動します。"]}]}]},"headings":[{"value":"CLI エージェント (クロード コード、クライン) MCP 統合","id":"cli-エージェント-クロード-コードクライン-mcp-統合","depth":1},{"value":"構成手順","id":"構成手順","depth":2}],"frontmatter":{"seo":{"title":"CLI エージェント (クロード コード、クライン) MCP 統合"}},"lastModified":"2026-06-10T11:47:34.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/mcp/cli-agents","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}