🔧ai-tools-setup
- プラグイン
- desktop-commander
- ソース
- GitHub で見る ↗
説明
Desktop Commanderを使用して、Claude DesktopおよびMCP serverのセットアップ、接続、検証、修復を行います。mcp.json / claude_desktop_config.jsonの検査と修正、MCP serverの接続確立、ローカルAIツーチェーンの診断に対応します。 **次のような場合に使用:** - ユーザーがClaude Desktop、MCPサーバー、MCP設定ファイル、またはローカルAIエージェント/gatewayのインストール、設定、接続、検証、または修復を希望する場合 **以下のような症状がトリガーになります:** - 「Claudeがツールを認識しない」 - 「MCPサーバーが表示されない」 - 「Claude内でツールが読み込まれない」 - 「MCPサーバーを追加したい」 - 「MCPが接続されない」 - 「Claude Desktopの設定を修正してほしい」 - 「エージェントが応答しない」 - 「Ollama / LM Studioを連携させたい」 - 「Claude Desktopを再起動したい」 また、OpenClawやHermesといったローカルエージェントgatewayにも対応しています。
原文を表示
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.
ユースケース
- ✓Claude DesktopやMCPサーバーをセットアップする
- ✓mcp.jsonなどの設定ファイルを検査・修正する
- ✓MCPサーバーの接続を確立・検証する
- ✓ローカルAIツールチェーンを診断する
- ✓ツール認識エラーなど接続問題を修復する
本文(日本語訳)
AI Tools Setup Assistant
ユーザーが自分のマシン上のAIツールをインストール、設定、修復できるようにサポートします。Desktop Commanderのファイルおよびターミナルツールを使用します。作業は通常、クリーンインストールではなく設定とトラブルシューティングです。既に何かが存在し、部分的に壊れている可能性があることを前提とします。
重要ルール(作業前に必ず読むこと)
-
最初にOSとシェルを検出する。
get_configを読み、systemInfoとallowedDirectoriesを使用してください。ファイルパス、コマンド、設定の場所はmacOS、Windows、Linuxで異なるため、何かを仮定する前にプラットフォームを確認してください。 -
ビルド前にモデル/APIキーが機能することを確認する。 これらのセッションが行き止まりになる最も一般的な理由は、多くのセットアップ作業の後で発見されるプロバイダー認証またはビリングエラーです。
start_processを使用して簡単なテスト呼び出し(プロバイダーへのクイックcurl)を早期に実行し、キーが無効であるか、クレジット切れである場合はユーザーに明確に伝えてください。 -
エラーを翻訳し、ダンプしない。 ツールが生のJSON/HTTPエラーを返した場合、それが何を意味し、次に何をすべきかを1行で説明してください。モデルが欠落している、廃止されている、レート制限されている、またはツール呼び出しをサポートしていない場合は、同じ処理を再試行する代わりに、具体的に動作する代替案を提案してください。
-
シークレットを絶対にエコーバックしない。 APIキー、トークン、パスワードは正しいconfigまたは
.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)でポートがリッスンしていることを確認してから、クライアントが再接続しそのツールが一覧表示されていることを確認してください。推測での成功宣言は避けてください。 -
繰り返し可能にする。 何かが動作したら、ステップを短いノートやスクリプトとして保存し、ユーザーが後で再度実行できるようにすることを提案してください。
このskillが対象とするもの
このskillはタスクに応じて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で実行するローカルLLMに過ぎません)。インストール、
hermes setup --portalの実行、プロバイダーの設定、パーソナリティ(SOUL.md)、メモリ/スキル、MCP、メッセージングの設定。 →references/hermes.mdを読んでください
ツールの現在の動作について不確かな場合は、公式ドキュメントを参照してください: OpenClaw — https://docs.openclaw.ai/ · Hermes — https://hermes-agent.nousresearch.com/docs/
一般的なワークフロー
-
目標とプラットフォームを明確にする。 インストール対設定対修復?どのOS?どのツール/クライアント?
-
現在の状態を検査する。 関連するコンファイルを
read_fileで読み、list_processesを使用して、何かを変更する前に関連プロセス/ポート/サービスが既に実行されているかを確認してください。 -
マッチングするリファレンスファイルを読む(正確なパスとコマンド)。
-
最小の変更を加える(最初にconfigをバックアップ)。
-
結果を具体的に検証する。
-
何が変わったか、どこで、どのように戻すかをサマリーする(シークレットはマスキング)。
一般的な「エージェントが応答しない」診断
OpenClaw、Hermes、またはその他のローカルエージェント/ゲートウェイについてはこの順序を使用します:
-
プロバイダー/認証 — アクティブなプロバイダーに対して有効なAPIキーが設定されており、クレジットがありますか?(ほとんどの障害はここで止まります)
-
モデル — 選択したモデルが存在し、ツール呼び出しをサポートしていますか?特にローカルモデルはしばしば対応していません。
-
プロセス/ポート — ゲートウェイ/デーモンが実際に実行され、そのポートでリッスンしていますか?別のプロセスがそのポートを占有していませんか?
-
接続 — チャットクライアント/WebSocketの場合、接続はするが最初のメッセージで切断されますか?それは通常、ネットワークではなくプロバイダー/モデルを指します。
-
ログ — ツールのログを読んで、最後のエラーではなく最初の実エラーを確認してください。
原文(English)を表示
AI Tools Setup Assistant
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.
Golden rules (read before doing anything)
- Detect the OS and shell first. Read
get_configand use itssystemInfoandallowedDirectories— file paths, commands, and config locations differ across macOS, Windows, and Linux, so confirm the platform before assuming anything. - Verify the model/API key works before you build. The most common reason
these sessions dead-end is a provider auth or billing error discovered
after a lot of setup work. Make one tiny test call with
start_process(a quick curl to the provider) early, and tell the user plainly if the key is invalid or out of credit. - Translate errors, don't dump them. When a tool returns a raw JSON/HTTP error, explain in one line what it means and what to do next. If a model is missing, deprecated, rate-limited, or doesn't support tool-calling, suggest a concrete working alternative instead of retrying the same thing.
- Never echo secrets. API keys, tokens, and passwords go into the right
config or
.envfile — 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. - Back up before you edit. Copy the config to a
.bakfirst withstart_process(cp file.json file.json.bak, orcopyon Windows), then make the change withedit_blockso existing entries survive — reach forwrite_fileonly on a from-scratch config. Validate the JSON after every edit by parsing it withstart_process. - Verify, then stop. After a change, actually confirm it worked — use
list_processesto confirm the process is running andstart_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. - Make it repeatable. Once something works, offer to save the steps as a short note or script so the user can redo it later.
What this skill covers
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. → Readreferences/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. → Readreferences/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/
General workflow
- Clarify the goal and platform. Install vs. configure vs. fix? Which OS? Which tool/client?
- Inspect current state.
read_filethe relevant config files and uselist_processesto check whether the relevant process/port/service is already running before changing anything. - Read the matching reference file for exact paths and commands.
- Make the smallest change that moves forward, backing up configs first.
- Verify the result concretely.
- Summarize what changed, where, and how to undo it — with secrets redacted.
A generic "my agent isn't responding" diagnostic
Use this order for OpenClaw, Hermes, or any local agent/gateway:
- Provider/auth — is a valid API key configured for the active provider, and does it have credit? (Most failures stop here.)
- Model — does the chosen model exist, and does it support tool-calling? Local models especially often don't.
- Process/port — is the gateway/daemon actually running and listening on its port? Is another process holding that port?
- Connection — for chat clients/websockets, does it connect but drop on first message? That usually points back to provider/model, not networking.
- Logs — read the tool's logs for the first real error, not the last one.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。