Skip to content

Commit 346110c

Browse files
authored
fix: Correct configuration of claude-desktop integration (#130)
Signed-off-by: wforget <[email protected]>
1 parent 7dfd9bb commit 346110c

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

examples/integrations/claude-desktop/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,20 @@ curl http://localhost:18080/api/v1/applications
3838
"mcpServers": {
3939
"mcp-apache-spark-history-server": {
4040
"command": "uv",
41-
"args": ["run", "-m", "spark_history_mcp.core.main"]
41+
"args": [
42+
"run",
43+
"--project",
44+
"/path/to/mcp-apache-spark-history-server",
45+
"-m",
46+
"spark_history_mcp.core.main"
47+
],
48+
"cwd": "/path/to/mcp-apache-spark-history-server"
4249
}
4350
}
4451
}
4552
```
4653

47-
**⚠️ Important**: Replace `/Users/username/mcp-apache-spark-history-server` with your actual repository path.
54+
**⚠️ Important**: Replace `/path/to/mcp-apache-spark-history-server` with your actual repository path.
4855

4956
2. **Restart Claude Desktop**
5057

examples/integrations/claude-desktop/claude-desktop-shs-mcp-config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"run",
77
"--project",
88
"/path/to/mcp-apache-spark-history-server",
9-
"python",
10-
"main_stdio.py"
9+
"-m",
10+
"spark_history_mcp.core.main"
1111
],
1212
"cwd": "/path/to/mcp-apache-spark-history-server"
1313
}

0 commit comments

Comments
 (0)