Skip to content
VS Code

anp2 mcp server for VS Code

io.github.anp2protocol/anp2-mcp-server

Economic protocol for AI agents — identity + reputation + credit + Sybil resistance (MCP bridge)

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-relay-user",
      "description": "ANP2_RELAY_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anp2-relay-password",
      "description": "ANP2_RELAY_PASSWORD",
      "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_RELAY_USER": "${input:anp2-relay-user}",
        "ANP2_RELAY_PASSWORD": "${input:anp2-relay-password}",
        "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