Skip to content
VS Code

pystub for VS Code

io.github.koyoyeager/pystub

Auto-detect stubbable packages for Python exe builds and generate minimal stub code

client:VS Code transport:stdio runtime:pypi

Install pystub in VS Code

.vscode/mcp.json

{
  "servers": {
    "pystub": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-pystub"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

pystub in other clients