Fix MCP server virtual environment issue with shell script

- Create run_mcp_server.sh script to properly handle uv virtual environment
- Update Claude Desktop config to use shell script instead of direct uv command
- Resolves 'ModuleNotFoundError: No module named mcp' issue

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-05-31 11:11:31 +07:00
parent defd03b13a
commit 09dcc8e507
2 changed files with 4 additions and 3 deletions

3
run_mcp_server.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cd /Users/nkohl/Documents/Code/nomad_mcp
/Users/nkohl/.local/bin/uv run python mcp_server.py