Desktop Commander を使って Claude Desktop と MCP(外部機能を提供するプログラム)サーバーの設定、接続、検証、修復を行えます。mcp.json や claude_desktop_config.json といった設定ファイルの確認・修正、MCP サーバーの接続サポート、ローカル AI ツール(パソコン内で動作する AI 機能)の診断が可能です。 **次のような場合に使用:** - ユーザーが Claude Desktop、MCP サーバー、MCP 設定ファイル、またはローカル AI エージェント(AI タスク実行者)やゲートウェイ(仲介役)のインストール、設定、接続、検証、修復を望んでいる場合 **トラブル対応例:** 「Claude が私のツールを認識しない」「MCP サーバーが表示されない」「Claude でツールが読み込まれない」「MCP サーバーを追加したい」「MCP が接続しない」「Claude Desktop の設定を修正したい」「エージェントが応答しない」「Ollama(ローカル AI 実行環境)や LM Studio を接続したい」「Claude Desktop を再起動したい」といった症状が報告された場合にも対応できます。 また、OpenClaw や Hermes といったローカル AI エージェント用の仲介ツールにも対応しています。
Set up, connect, validate, and repair Claude Desktop and MCP servers using Desktop Commander — inspecting and fixing mcp.json / claude_desktop_config.json, getting MCP servers to connect, and diagnosing local AI tooling. Use when a user wants to install, configure, connect, validate, or fix Claude Desktop, an MCP server, an MCP config file, or a local AI agent/gateway. Trigger on the symptoms that actually bring people in: "Claude can't see my tools", "my MCP server isn't showing up", "tools aren't loading in Claude", "add an MCP server", "my MCP isn't connecting", "fix my Claude Desktop config", "the agent won't respond", "wire up Ollama / LM Studio", "restart Claude Desktop". Also covers local agent gateways like OpenClaw and Hermes.
デスクトップ・コマンダー(ファイルとターミナル操作ツール)を使って、ユーザーが自分のコンピュータ上で AI ツールをインストール、設定、修復するのを支援します。ほとんどの場合、きれいな新規インストールではなく設定の調整と問題解決が中心になります。すでに何かが存在していて、半分壊れているかもしれないと考えてください。
最初に OS とシェル(コマンド入力環境)を確認する
get_config を読み込み、その中の systemInfo と allowedDirectories を確認してください設定を進める前に、モデル / API キーが機能することを確認する
start_process(プロバイダへの簡単な確認リクエスト)で早めに小さなテストを実行し、キーが無効または残高不足の場合は、ユーザーにはっきり伝えてくださいエラーを翻訳し、そのまま丸投げしない
秘密情報(API キーなど)を絶対に繰り返し表示しない
.env ファイルに入力される」べきであり、チャットで繰り返し表示してはいけません編集の前にバックアップを取る
start_process を使って設定ファイルをまず .bak にコピーしてください(cp file.json file.json.bak、Windows の場合は copy)edit_block で変更を加えれば、既存のエントリが保護されますwrite_file を使ってくださいstart_process で JSON を解析して検証してください確認してから完了とする
list_processes でプロセスが実行されているか確認し、start_process(lsof / netstat)でポートがリッスンしているか確認し、クライアントが再接続してツール一覧が表示されるか確認してください繰り返し可能にする
このスキルは、タスクに応じて 3 つのリファレンスファイルのいずれかに振り分けます。動作を始める前に関連ファイルを読んでください。正確なパス、コマンド、既知の問題が記載されています。
Claude Desktop & MCP サーバー — Claude Desktop のインストール、MCP サーバーの追加、MCP 設定ファイル(claude_desktop_config.json、.claude/mcp.json、~/.lmstudio/mcp.json など)の確認・検証・修復、接続ヘルスチェック
→ references/claude-desktop-mcp.md を読んでください
OpenClaw — AI エージェント用の自社ホスト型マルチチャネルゲートウェイ(複数の通信経路を統一管理するツール)。インストール、セットアップ、モデル/プロバイダの接続、チャネル(Telegram、Slack、iMessage など)の接続、ゲートウェイの診断、アンインストール
→ references/openclaw.md を読んでください
Hermes — 最初に確認が必要です:Hermes Agent(Nous Research 開発の自己改善型エージェントフレームワーク)か Hermes 3(Ollama で実行するローカル AI モデル)か。インストール、hermes setup --portal の実行、プロバイダの設定、パーソナリティ(SOUL.md)、メモリ/スキル、MCP、メッセージング機能の設定
→ references/hermes.md を読んでください
ツールの現在の動作について確信が持てない場合は、公式ドキュメントを参照してください: OpenClaw — https://docs.openclaw.ai/ · Hermes — https://hermes-agent.nousresearch.com/docs/
目的とプラットフォームを明確にする
現在の状態を確認する
read_file で関連設定ファイルを読み込み、list_processes で関連プロセス/ポート/サービスが既に実行されているかを確認してから変更を加えてくださいマッチするリファレンスファイルを読む
前に進む最小限の変更をする
結果を具体的に確認する
何が変わったか、どこで、どうやって元に戻すかをまとめる
OpenClaw、Hermes、またはその他のローカルエージェント/ゲートウェイの場合、この順序で確認してください:
プロバイダ/認証 — 有効な API キーが有効なプロバイダ用に設定されていて、クレジットがありますか?(ほとんどの問題はここで止まります)
モデル — 選択されたモデルは存在し、ツール呼び出しに対応していますか?ローカルモデルは特に対応していないことが多いです
プロセス/ポート — ゲートウェイ/デーモンは実際に実行されていて、その指定ポートでリッスンしていますか?別のプロセスがそのポートを使用していませんか?
接続 — チャットクライアント / ウェブソケットの場合、接続できるがメッセージを最初に送信したときに切断されますか?通常、ネットワークの問題ではなくプロバイダ/モデルが原因です
ログ — ツールのログから最後のエラーではなく最初の実エラーを読んでください
Help users install, configure, and repair AI tooling on their own machine using Desktop Commander's file and terminal tools. The work is usually configure-and-troubleshoot, not clean installs — assume something already exists and may be half-broken.
get_config and use its systemInfo
and allowedDirectories — file paths, commands, and config locations differ
across macOS, Windows, and Linux, so confirm the platform before assuming
anything.start_process (a quick
curl to the provider) early, and tell the user plainly if the key is invalid
or out of credit..env file — never repeated back in chat. If a user pastes a live
secret, warn them, use it, and suggest they rotate it if it was shared
insecurely. Redact secrets in any output, logs, or summaries you produce..bak first with
start_process (cp file.json file.json.bak, or copy on Windows), then make
the change with edit_block so existing entries survive — reach for
write_file only on a from-scratch config. Validate the JSON after every edit
by parsing it with start_process.list_processes to confirm the process is running and start_process
(lsof/netstat) to confirm the port is listening, then check the client
reconnected and its tools are listed. Don't declare success on a guess.This skill routes to one of three reference files depending on the task. Read the relevant file before acting — they contain the exact paths, commands, and known failure modes.
Claude Desktop & MCP servers — installing Claude Desktop, adding MCP
servers, and inspecting / validating / repairing MCP config files
(claude_desktop_config.json, .claude/mcp.json, ~/.lmstudio/mcp.json,
and similar). Also connection health checks.
→ Read references/claude-desktop-mcp.md
OpenClaw — a self-hosted multi-channel gateway for AI agents. Install,
onboard, wire a model/provider, connect channels (Telegram, Slack, iMessage,
etc.), diagnose the gateway, and uninstall.
→ Read references/openclaw.md
Hermes — disambiguate first: Hermes Agent (the Nous Research
self-improving agent framework) vs. Hermes 3 (just a local LLM you run via
Ollama). Install, run hermes setup --portal, configure providers, personality
(SOUL.md), memory/skills, MCP, and messaging.
→ Read references/hermes.md
When in doubt about a tool's current behavior, fetch the official docs: OpenClaw — https://docs.openclaw.ai/ · Hermes — https://hermes-agent.nousresearch.com/docs/
read_file the relevant config files and use
list_processes to check whether the relevant process/port/service is already
running before changing anything.Use this order for OpenClaw, Hermes, or any local agent/gateway:
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。