Skip to content

Commit 3062213

Browse files
ericyangpanclaude
andcommitted
docs: add Claude Code MCP configuration examples to translations
Add the same MCP server configuration examples to German and Simplified Chinese translations of the MCP servers article. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent daea32c commit 3062213

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

content/articles/de/mcp-servers-explained.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,26 @@ Die meisten MCP-Server werden als npm-Pakete oder Python-Module verteilt. Befolg
6767

6868
Fügen Sie die MCP-Server-Konfiguration zu den Einstellungen Ihrer IDE hinzu. Das genaue Format variiert je nach Tool, umfasst aber typischerweise die Angabe des Serverbefehls und aller erforderlichen Argumente.
6969

70+
Hier ist ein Beispiel für die Konfiguration von Claude Code:
71+
72+
```json
73+
{
74+
"mcpServers": {
75+
"filesystem": {
76+
"command": "npx",
77+
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/your/project"]
78+
},
79+
"brave-search": {
80+
"command": "npx",
81+
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
82+
"env": {
83+
"BRAVE_API_KEY": "your-api-key-here"
84+
}
85+
}
86+
}
87+
}
88+
```
89+
7090
### 4. Testen Sie die Integration
7191

7292
Bitten Sie Ihren KI-Agenten, die neu verbundenen Tools zu verwenden. Wenn Sie beispielsweise einen Dateisystem-MCP installiert haben, versuchen Sie, ihn zu bitten, eine bestimmte Datei aus Ihrem Projekt zu lesen.

content/articles/zh-Hans/mcp-servers-explained.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,26 @@ MCP 从根本上改变了这一点。有了 MCP 服务器,你的 AI Agent 可
6767

6868
将 MCP 服务器配置添加到 IDE 的设置中。确切的格式因工具而异,但通常涉及指定服务器的命令和任何必需的参数。
6969

70+
以下是 Claude Code 的配置示例:
71+
72+
```json
73+
{
74+
"mcpServers": {
75+
"filesystem": {
76+
"command": "npx",
77+
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/your/project"]
78+
},
79+
"brave-search": {
80+
"command": "npx",
81+
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
82+
"env": {
83+
"BRAVE_API_KEY": "your-api-key-here"
84+
}
85+
}
86+
}
87+
}
88+
```
89+
7090
### 4. 测试集成
7191

7292
让你的 AI Agent 使用新连接的工具。例如,如果你安装了文件系统 MCP,尝试让它从你的项目中读取特定文件。

0 commit comments

Comments
 (0)