---
title: "Claude DesktopのMCP設定：ファイルパス、キー、例 · DotsAgent"
description: "AnthropicのMCPサーバーをClaude Desktopに追加する方法を紹介します。設定ファイルの場所、トップレベルキーと形式、リモートサーバーのOAuth対応、設定例を確認できます。"
url: https://dotsagent.io/ja/mcp/clients/claude-desktop
---

Anthropic

# Claude DesktopにMCPサーバーを追加

Claude Desktopはローカルサーバーをclaude_desktop_config.jsonから読み込みます。リモートサーバーはアプリ内でカスタムコネクタとして追加します。

- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
- **トップレベルキー**: `mcpServers`
- **形式**: json
- **リモートサーバーのOAuth**: 

## 設定例

この例では、GitHub のホスト型サーバーと Playwright のローカルサーバーを、このクライアントが想定する形式で追加します。

`~/Library/Application Support/Claude/claude_desktop_config.json`

```
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}
```

リモートサーバーはファイルに記述できません。Settings > Connectors > Add custom connectorで追加し、URLを貼り付けてサインインしてください。

## 注意点と仕様

- ファイルを編集したら、アプリを終了して再起動してください。
- ログの保存先は、macOSでは~/Library/Logs/Claude、Windowsでは%APPDATA%\Claude\logsです。
- Windowsでは、npxをcmd経由で実行します。commandはcmd、引数は/c、npx、パッケージの順です。ジェネレーターが設定します。
- Linux向けの公式ビルドはありません。

[Claude Desktopの設定を作成 →](https://dotsagent.io/ja/mcp/config#client=claude-desktop)

## その他のクライアント

[Claude Code](https://dotsagent.io/ja/mcp/clients/claude-code)

[Cursor](https://dotsagent.io/ja/mcp/clients/cursor)

[VS Code (GitHub Copilot)](https://dotsagent.io/ja/mcp/clients/vscode-copilot)

[Windsurf / Devin Desktop](https://dotsagent.io/ja/mcp/clients/windsurf)

[Zed](https://dotsagent.io/ja/mcp/clients/zed)

[OpenAI Codex CLI](https://dotsagent.io/ja/mcp/clients/codex-cli)

[Gemini CLI](https://dotsagent.io/ja/mcp/clients/gemini-cli)

[ChatGPT](https://dotsagent.io/ja/mcp/clients/chatgpt)

[OpenClaw](https://dotsagent.io/ja/mcp/clients/openclaw)

[Cline](https://dotsagent.io/ja/mcp/clients/cline)

[Continue](https://dotsagent.io/ja/mcp/clients/continue)

[JetBrains AI Assistant](https://dotsagent.io/ja/mcp/clients/jetbrains-ai)

## 情報源

1. [modelcontextprotocol.io](https://modelcontextprotocol.io/docs/develop/connect-local-servers)/docs/develop/connect-local-servers
2. [modelcontextprotocol.io](https://modelcontextprotocol.io/docs/develop/connect-remote-servers)/docs/develop/connect-remote-servers
3. [github.com](https://github.com/modelcontextprotocol/servers)/modelcontextprotocol/servers

AIエージェント開発者向けの独立したリファレンスです。ここに記載されているいずれのベンダーとも提携していません。

© 2026 DotsAgent · 確認日: 2026年10月1日
