Fix MCP server path issue in Claude Desktop config

- Use absolute path to mcp_server.py to prevent path resolution issues
- Resolves 'can't open file //mcp_server.py' error in Claude Desktop

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-05-31 11:04:55 +07:00
parent 896ef83dc5
commit defd03b13a

View File

@ -2,7 +2,7 @@
"mcpServers": { "mcpServers": {
"nomad-mcp": { "nomad-mcp": {
"command": "/Users/nkohl/.local/bin/uv", "command": "/Users/nkohl/.local/bin/uv",
"args": ["run", "python", "mcp_server.py"], "args": ["run", "python", "/Users/nkohl/Documents/Code/nomad_mcp/mcp_server.py"],
"cwd": "/Users/nkohl/Documents/Code/nomad_mcp", "cwd": "/Users/nkohl/Documents/Code/nomad_mcp",
"env": { "env": {
"NOMAD_ADDR": "http://pjmldk01.ds.meisheng.group:4646" "NOMAD_ADDR": "http://pjmldk01.ds.meisheng.group:4646"