VS Code Copilot
5 min
vs code / github copilot configure vs code with github copilot https //code visualstudio com/docs/copilot/chat/mcp servers to use the litmus mcp server over sse 1\ run the server docker run d name litmus mcp server \\ p 8000 8000 \\ ghcr io/litmusautomation/litmus mcp server\ latest 2\ add the server config two options option a user settings (json) open preferences > user settings (json) and add { "mcpservers" { "litmus mcp server" { "url" "http //\<mcp server ip> 8000/sse", "headers" { "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>" } } } } option b per project create vscode/mcp json at the workspace root with the same json body 3\ verify open the copilot chat panel and check the tools menu the litmus tools should appear if they don't reload the vs code window after editing mcp json confirm curl http //\<mcp server ip> 8000/health returns {"status" "ok"} from your workstation reference vs code mcp servers https //code visualstudio com/docs/copilot/chat/mcp servers headers reference #