Skip to content

Commit 1da4ae1

Browse files
committed
docs(mcp): update examples for MCP client configuration
- Add Java example configuration - Include Python + UV example configuration - Update Python example to use --directory flag - Remove redundant weather server configuration from Python example
1 parent a261604 commit 1da4ae1

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

docs/mcp/mcp-client.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,22 @@ Since we need to support AutoDev DevIns use MCP tools, we current only support S
3030

3131
Java examples:
3232

33+
```json
34+
{
35+
"mcpServers": {
36+
"weather": {
37+
"command": "java",
38+
"args": [
39+
"-jar",
40+
"/Volumes/source/ai/autodev-mcp-test/kotlin-weather-stdio-server/build/libs/weather-stdio-server-0.1.0-all.jar"
41+
]
42+
}
43+
}
44+
}
45+
```
46+
47+
Python + UV examples:
48+
3349
```json
3450
{
3551
"mcpServers": {
@@ -38,18 +54,13 @@ Java examples:
3854
"args": [
3955
"run",
4056
"--with",
57+
"--directory",
58+
"/Users/phodal/source/ai/autodev-mcp-test/python-sqlite3/",
4159
"mcp",
4260
"mcp",
4361
"run",
4462
"/Users/phodal/source/ai/autodev-mcp-test/python-sqlite3/server.py"
4563
]
46-
},
47-
"weather": {
48-
"command": "java",
49-
"args": [
50-
"-jar",
51-
"/Volumes/source/ai/autodev-mcp-test/kotlin-weather-stdio-server/build/libs/weather-stdio-server-0.1.0-all.jar"
52-
]
5364
}
5465
}
5566
}

0 commit comments

Comments
 (0)