diff --git a/README.md b/README.md index 6e5617a..a818970 100644 --- a/README.md +++ b/README.md @@ -255,9 +255,8 @@ To use the MCP server with Claude Code, add it to your MCP configuration: { "mcpServers": { "clubber": { - "command": "python", - "args": ["-m", "src.mcp_server"], - "cwd": "/absolute/path/to/clubber", + "command": "uv", + "args": ["run", "python", "-m", "src.mcp_server"], "env": { "CLUBBER_API_URL": "http://127.0.0.1:8000/graphql" } @@ -266,6 +265,8 @@ To use the MCP server with Claude Code, add it to your MCP configuration: } ``` +**Note**: The `uv run` command ensures the virtual environment and dependencies are properly activated. The MCP server will use the current working directory where Claude Code is running, so make sure to open Claude Code from the clubber project directory. + After adding the configuration, restart Claude Code. You can then use natural language to manage members: - "List all members in the society"