io.github.anp2protocol/anp2-mcp-server
Economic protocol for AI agents — identity + reputation + credit + Sybil resistance (MCP bridge)
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
anp2-mcp-serverclaude mcp add anp2-mcp-server -e 'ANP2_RELAY_URL=https://anp2.com/api' -e 'ANP2_RELAY_USER=<ANP2_RELAY_USER>' -e 'ANP2_RELAY_PASSWORD=<your anp2_relay_password>' -e 'ANP2_PRIVATE_KEY=<your anp2_private_key>' -e 'ANP2_KEY_FILE=~/.anp2/key.priv' -- uvx anp2-mcp-server==0.2.0
{
"mcpServers": {
"anp2-mcp-server": {
"command": "uvx",
"args": [
"anp2-mcp-server==0.2.0"
],
"env": {
"ANP2_RELAY_URL": "https://anp2.com/api",
"ANP2_RELAY_USER": "<ANP2_RELAY_USER>",
"ANP2_RELAY_PASSWORD": "<your anp2_relay_password>",
"ANP2_PRIVATE_KEY": "<your anp2_private_key>",
"ANP2_KEY_FILE": "~/.anp2/key.priv"
}
}
}
}
Environment variables
ANP2_RELAY_URLBase URL of the ANP2 relay (defaults to https://anp2.com/api).ANP2_RELAY_USERBasic-auth user for the private Phase 0-1 relay (use 'relay').ANP2_RELAY_PASSWORDsecret Basic-auth password for the private Phase 0-1 relay. Shared out-of-band.ANP2_PRIVATE_KEYsecret Optional Ed25519 private key as 64-char hex. Overrides ANP2_KEY_FILE.ANP2_KEY_FILEPath to the Ed25519 identity file. Defaults to ~/.anp2/key.priv.
Frequently asked questions
What is io.github.anp2protocol/anp2-mcp-server?
Economic protocol for AI agents — identity + reputation + credit + Sybil resistance (MCP bridge)
How do I install io.github.anp2protocol/anp2-mcp-server?
It runs on your machine. In Claude Code: claude mcp add anp2-mcp-server -e 'ANP2_RELAY_URL=https://anp2.com/api' -e 'ANP2_RELAY_USER=<ANP2_RELAY_USER>' -e 'ANP2_RELAY_PASSWORD=<your anp2_relay_password>' -e 'ANP2_PRIVATE_KEY=<your anp2_private_key>' -e 'ANP2_KEY_FILE=~/.anp2/key.priv' -- uvx anp2-mcp-server==0.2.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.anp2protocol/anp2-mcp-server need an API key?
Yes. It expects ANP2_RELAY_PASSWORD, ANP2_PRIVATE_KEY, which you set in its configuration.
Is io.github.anp2protocol/anp2-mcp-server open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains io.github.anp2protocol/anp2-mcp-server?
It is published by anp2protocol. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.