io.github.anp2protocol/anp2-mcp-server
Economic protocol for AI agents — identity + reputation + credit + Sybil resistance (MCP bridge)
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
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"
}
}
}
}
متغيرات البيئة
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_PASSWORDسري Basic-auth password for the private Phase 0-1 relay. Shared out-of-band.ANP2_PRIVATE_KEYسري 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.
الأسئلة الشائعة
ما هو io.github.anp2protocol/anp2-mcp-server؟
Economic protocol for AI agents — identity + reputation + credit + Sybil resistance (MCP bridge)
كيف أثبّت io.github.anp2protocol/anp2-mcp-server؟
يعمل على جهازك. في 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. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.anp2protocol/anp2-mcp-server إلى مفتاح API؟
نعم. يتطلب ANP2_RELAY_PASSWORD, ANP2_PRIVATE_KEY، وتضبطها في إعداداته.
هل io.github.anp2protocol/anp2-mcp-server مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.anp2protocol/anp2-mcp-server؟
ينشره anp2protocol. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.