Skip to content
VS Code

blacksmith for VS Code

io.github.grahamnotgrant/blacksmith

MCP server for Blacksmith CI - query runs, analyze test failures, detect flaky tests.

client:VS Code transport:stdio runtime:npm

Install blacksmith in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "blacksmith-org",
      "description": "BLACKSMITH_ORG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "blacksmith-session-cookie",
      "description": "BLACKSMITH_SESSION_COOKIE",
      "password": true
    }
  ],
  "servers": {
    "blacksmith": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "blacksmith-mcp"
      ],
      "env": {
        "BLACKSMITH_ORG": "${input:blacksmith-org}",
        "BLACKSMITH_SESSION_COOKIE": "${input:blacksmith-session-cookie}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

blacksmith in other clients