Skip to content
VS Code

mcp for VS Code

dev.threadmine/mcp

Analyze JVM thread dumps with ThreadMine: deadlocks, CPU spikes, pool exhaustion, health score.

client:VS Code transport:stdio runtime:npm

Install mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "threadmine-api-key",
      "description": "THREADMINE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "threadmine-api-url",
      "description": "THREADMINE_API_URL",
      "password": true
    }
  ],
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@threadmine/mcp"
      ],
      "env": {
        "THREADMINE_API_KEY": "${input:threadmine-api-key}",
        "THREADMINE_API_URL": "${input:threadmine-api-url}"
      }
    }
  }
}

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

mcp in other clients