Files
ai-workflow-course/modules/20-mcp-servers-giving-the-ai-hands/lab/mcp-config-example.json
T
claude 513d7e7ac8
Sync course wiki / sync-wiki (push) Successful in 11s
Reframe sweep M7-27 + capstone (AI drives git, lesson=theory, de-slop) (#93)
Co-authored-by: claude <claude@jpaul.io>
Co-committed-by: claude <claude@jpaul.io>
2026-06-22 21:58:36 -04:00

10 lines
1006 B
JSON

{
"_comment": "Common shape of an MCP server entry for a local (stdio) server. Many agentic tools accept this 'mcpServers' map; yours may use a different key or location (check its docs). The /home/you/... paths below are placeholders: swap in your own real absolute paths. They MUST be absolute -- a literal ~ may not expand inside JSON, so write the full path. IMPORTANT: 'command' must be the absolute path to the python interpreter that has the MCP SDK installed (your venv's python, the one your agent reported) -- a bare 'python' makes the client launch whatever is on its PATH, which usually does NOT have the SDK, and the server then reports 'not connected'. On Windows the venv python is ...\\.venv\\Scripts\\python.exe. Set 'args' to the absolute path to tasks_mcp_server.py in your tasks-app.",
"mcpServers": {
"tasks": {
"command": "/home/you/ai-workflow-course/tasks-app/.venv/bin/python",
"args": ["/home/you/ai-workflow-course/tasks-app/tasks_mcp_server.py"]
}
}
}