Claude Desktop
4 min
claude desktop does not speak sse to connect it to the litmus mcp server, run the server locally in stdio mode and point claude desktop at the python process prerequisite stdio mode set up follow stdio mode # first it walks through cloning the repository, enabling stdio, installing dependencies, and verifying the server runs you should end up with a working python3 src/server py command that prints starting litmus mcp server in stdio mode 1\ open the claude desktop config file macos /library/application support/claude/claude desktop config json windows %appdata%\claude\claude desktop config json linux / config/claude/claude desktop config json 2\ add the server entry { "mcpservers" { "litmus mcp server" { "command" "/path/to/ venv/bin/python3", "args" \[ "/absolute/path/to/litmus mcp server/src/server py" ], "env" { "pythonpath" "/absolute/path/to/litmus mcp server/src", "edge url" "https //\<litmusedge ip>", "edge api client id" "\<oauth2 client id>", "edge api client secret" "\<oauth2 client secret>", "nats source" "\<litmusedge ip>", "nats port" "4222", "nats user" "\<access token username>", "nats password" "\<access token from litmusedge>", "influx host" "\<litmusedge ip>", "influx port" "8086", "influx db name" "tsdata", "influx username" "\<datahub username>", "influx password" "\<datahub password>" } } } } command should point at the python interpreter for the project's venv (recommended) or any python that has the project's dependencies installed args is the absolute path to src/server py in the cloned repository 3\ restart claude desktop the litmus tools should appear in the model's tool list if they don't, check claude desktop's logs for the server's startup output tips for development that bridges differing mcp library versions (e g , npx @modelcontextprotocol/inspector vs litmus mcp server ), always point command at the project's venv python so you don't pick up system wide mcp installs see claude desktop config venv example json in the repository for a ready to edit template reference stdio mode # server side setup headers reference # stdio mode reads the same names from environment variables mcp transports (modelcontextprotocol io) https //modelcontextprotocol io/legacy/concepts/transports