Skip to content
VS Code

Performance Co-Pilot for VS Code

io.github.major/pcp

Query system performance metrics via MCP - CPU, memory, disk I/O, network, processes

client:VS Code transport:stdio runtime:pypi

Install Performance Co-Pilot in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "pcp-host",
      "description": "PCP_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pcp-port",
      "description": "PCP_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pcp-target-host",
      "description": "PCP_TARGET_HOST",
      "password": true
    }
  ],
  "servers": {
    "pcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pcp-mcp"
      ],
      "env": {
        "PCP_HOST": "${input:pcp-host}",
        "PCP_PORT": "${input:pcp-port}",
        "PCP_TARGET_HOST": "${input:pcp-target-host}"
      }
    }
  }
}

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

Performance Co-Pilot in other clients