Skip to content
VS Code

pyscn for VS Code

io.github.ludo-technologies/pyscn

Python code analysis for AI agents: complexity, dead code, clones, coupling, and a health score.

client:VS Code transport:stdio runtime:pypi

Install pyscn in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "pyscn-config",
      "description": "PYSCN_CONFIG",
      "password": true
    }
  ],
  "servers": {
    "pyscn": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pyscn-mcp"
      ],
      "env": {
        "PYSCN_CONFIG": "${input:pyscn-config}"
      }
    }
  }
}

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

pyscn in other clients