agentpay
Enforced budgets for agents paying x402 APIs: the gateway holds the wallet, not the agent.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
agentpay-gatewayclaude mcp add agentpay -e 'AGENTPAY_URL=http://127.0.0.1:4020' -e 'AGENTPAY_API_KEY=<your agentpay_api_key>' -- npx -y agentpay-gateway@0.9.0
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"agentpay-gateway@0.9.0"
],
"env": {
"AGENTPAY_URL": "http://127.0.0.1:4020",
"AGENTPAY_API_KEY": "<your agentpay_api_key>"
}
}
}
}
متغيرات البيئة
AGENTPAY_URLagentpay gateway URLAGENTPAY_API_KEYسري Agent key from POST /admin/keys
الأسئلة الشائعة
ما هو agentpay؟
Enforced budgets for agents paying x402 APIs: the gateway holds the wallet, not the agent.
كيف أثبّت agentpay؟
يعمل على جهازك. في Claude Code: claude mcp add agentpay -e 'AGENTPAY_URL=http://127.0.0.1:4020' -e 'AGENTPAY_API_KEY=<your agentpay_api_key>' -- npx -y agentpay-gateway@0.9.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج agentpay إلى مفتاح API؟
نعم. يتطلب AGENTPAY_API_KEY، وتضبطها في إعداداته.
هل agentpay مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون agentpay؟
ينشره Hellotravisss. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.