Skip to content
VS Code

ruff lint x402 for VS Code

io.github.divine-software-creations/ruff-lint-x402

Ruff Python linting for AI agents, pay-per-call via x402 ($0.005 USDC on Base).

client:VS Code transport:stdio runtime:npm

Install ruff lint x402 in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "evm-private-key",
      "description": "EVM_PRIVATE_KEY",
      "password": true
    }
  ],
  "servers": {
    "ruff-lint-x402": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@divine-software-creations/ruff-lint-x402-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "${input:evm-private-key}"
      }
    }
  }
}

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

ruff lint x402 in other clients