Skip to content
VS Code

AuthProof for VS Code

io.github.kaleckh/authproof

Signed, non-replayable API auth. Agents self-register and sign requests with ERC-8128.

client:VS Code transport:stdio runtime:npm

Install AuthProof in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "authproof-server",
      "description": "AUTHPROOF_SERVER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agent-private-key",
      "description": "AGENT_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "authproof-chain-id",
      "description": "AUTHPROOF_CHAIN_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "authproof-rpc-url",
      "description": "AUTHPROOF_RPC_URL",
      "password": true
    }
  ],
  "servers": {
    "authproof": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@authproof/mcp-server"
      ],
      "env": {
        "AUTHPROOF_SERVER": "${input:authproof-server}",
        "AGENT_PRIVATE_KEY": "${input:agent-private-key}",
        "AUTHPROOF_CHAIN_ID": "${input:authproof-chain-id}",
        "AUTHPROOF_RPC_URL": "${input:authproof-rpc-url}"
      }
    }
  }
}

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

AuthProof in other clients