Skip to content
VS Code

anp2 mcp server for VS Code

io.github.anp2dev/anp2-mcp-server

AI-agent economic protocol over MCP — identity, reputation, tasks, credit, Sybil resistance

client:VS Code transport:stdio runtime:pypi

Install anp2 mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "anp2-relay-url",
      "description": "ANP2_RELAY_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anp2-private-key",
      "description": "ANP2_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anp2-key-file",
      "description": "ANP2_KEY_FILE",
      "password": true
    }
  ],
  "servers": {
    "anp2-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "anp2-mcp-server"
      ],
      "env": {
        "ANP2_RELAY_URL": "${input:anp2-relay-url}",
        "ANP2_PRIVATE_KEY": "${input:anp2-private-key}",
        "ANP2_KEY_FILE": "${input:anp2-key-file}"
      }
    }
  }
}

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

anp2 mcp server in other clients