From ef50ad64acf71903cf50af034fdebc836d53dd11 Mon Sep 17 00:00:00 2001 From: QwQ-dev Date: Tue, 10 Jun 2025 22:30:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0Claude=20Code=E5=88=B0MCP?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=9A=84AI=E5=BA=94=E7=94=A8=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在README.md和README_EN.md中添加Claude Code支持信息 - 更新MCP集成指南,添加Claude Code配置命令 - 统一Claude Code配置文件路径信息 --- README.md | 1 + README_EN.md | 1 + docs/mcp-integration-guide.md | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 5ee191a..abcf684 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ |--------|------|-------------|------| | **Claude Desktop** | ✅ 官方支持 | Windows: `%APPDATA%\Claude\claude_desktop_config.json`
macOS: `~/Library/Application Support/Claude/claude_desktop_config.json` | Anthropic官方客户端,MCP原生支持 | | **Cursor** | ✅ 支持 | 通过MCP设置面板配置 | 智能代码编辑器,开发者友好 | +| **Claude Code** | ✅ 支持 | `/home/user/.claude.json` 或者 `~/.claude.json` | Anthropic官方CLI工具,MCP原生支持,命令行AI编程助手 | | **Windsurf** | ✅ 支持 | IDE内MCP配置面板 | Codeium推出的AI原生IDE | | **Cline** | ✅ 支持 | VS Code插件配置 | 强大的AI编程助手 | | **Augment** | ✅ 支持 | 桌面应用配置 | AI原生代码编辑器 | diff --git a/README_EN.md b/README_EN.md index 4909158..633134c 100644 --- a/README_EN.md +++ b/README_EN.md @@ -62,6 +62,7 @@ For custom configurations: |-------------|--------|---------------|-------| | **Claude Desktop** | ✅ Official | Windows: `%APPDATA%\Claude\claude_desktop_config.json`
macOS: `~/Library/Application Support/Claude/claude_desktop_config.json` | Anthropic's official client with native MCP support | | **Cursor** | ✅ Supported | MCP settings panel | Developer-friendly code editor | +| **Claude Code** | ✅ Supported | `/home/user/.claude.json` or `~/.claude.json` | Anthropic's official CLI tool with native MCP support, command-line AI programming assistant | | **Windsurf** | ✅ Supported | IDE MCP panel | Codeium's AI-native IDE | | **Cline** | ✅ Supported | VS Code plugin config | Powerful AI programming assistant | | **Augment** | ✅ Supported | Desktop app config | AI-native code editor | diff --git a/docs/mcp-integration-guide.md b/docs/mcp-integration-guide.md index 56f88bc..9f2f556 100644 --- a/docs/mcp-integration-guide.md +++ b/docs/mcp-integration-guide.md @@ -40,6 +40,12 @@ npx dpml-prompt@snapshot mcp-server } ``` +### 3. Claude Code 命令 + +```bash +claude mcp add-json promptx '{"command":"npx","args":["-y","-f","dpml-prompt@snapshot","mcp-server"]}' +``` + ### 💡 **重要:关于 `cwd` 参数** #### **`cwd` 的含义和MCP协议限制**