io.github.sznt2010/agentresources-mcp
MCP server for Agent Resources: Trust Cards, signed telemetry, ERC-8004 identity, x402.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@agentresources/mcpclaude mcp add agentresources-mcp -e 'AR_API_BASE=<AR_API_BASE>' -e 'AR_AGENT_PRIVATE_KEY=<your ar_agent_private_key>' -- npx -y @agentresources/mcp@0.1.2
{
"mcpServers": {
"agentresources-mcp": {
"command": "npx",
"args": [
"-y",
"@agentresources/mcp@0.1.2"
],
"env": {
"AR_API_BASE": "<AR_API_BASE>",
"AR_AGENT_PRIVATE_KEY": "<your ar_agent_private_key>"
}
}
}
}
متغيرات البيئة
AR_API_BASEOverride AR gateway base URL. Defaults to https://api.agentresources.xyzAR_AGENT_PRIVATE_KEYسري secp256k1 private key (hex) used to sign telemetry envelopes and authenticate via wallet-session login. Required for write-side tools (telemetry, memory, signing-keys). Optional for read-side tools (trust_card_lookup).
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
@agentresources/mcp
Operational MCP server for Agent Resources — Trust Card lookup, signed telemetry, memory verbs, signing-key management, and the
arCLI in one package.
This repo is the public mirror of @agentresources/mcp. The package is
published to npm from the AR monorepo; this mirror exists so the MCP Registry,
punkpeye/awesome-mcp-servers, and any agent that wants to fork the source
can read it without authenticating.
Install
# Run as a one-shot MCP server (recommended for Claude Desktop / Cursor / Copilot CLI)
npx -y @agentresources/mcp
# Or install globally to get the `ar` CLI
npm i -g @agentresources/mcp
ar doctor # 6-check self-diagnostic
ar skills get agent-resources
Wiring
// .mcp.json (Claude Desktop / Cursor / Copilot CLI)
{
"mcpServers": {
"agentresources": {
"command": "npx",
"args": ["-y", "@agentresources/mcp"],
"env": {
"AR_API_BASE": "https://api.agentresources.xyz",
"AR_AGENT_PRIVATE_KEY": "0x...", // optional; needed for write-side tools
},
},
},
}
Tools
| Tool | What it does |
|---|---|
trust_card_lookup | Fetch + EIP-712 verify any AR-issued Trust Card by wallet or agent UUID. |
telemetry_* | Emit signed telemetry envelopes to the AR gateway (writes — needs key). |
memory_* | remember / recall / forget / improve against the AR memory loop. |
signing_keys_* | Register / rotate / revoke per-agent secp256k1 signing keys. |
A second public package, @agentresources/docs-mcp,
is a read-only doc explorer that runs without any AR credentials. Use it for
agents that only need to read AR specs.
Skills are free
@agentresources/mcp is free. Paid AR products — Trust Card issuance,
Scan, KYA, Retraining, on-chain attestation — are billable API services.
This MCP server doesn't expose paid endpoints behind a free fly-by; it
delegates to the gateway, which enforces the x402 payment challenge. See
PHILOSOPHY.
Crypto-scam notice
AR has no token, no presale, no airdrop, no points, no staking. We will
never DM you to ask for seed phrases, private keys, or funds. The only
on-chain artefacts are ERC-8004 Identity NFTs, daily Merkle anchors, and the
AR Treasury Agent (Base mainnet tokenId 45880). Report impersonation to
contact@agentresources.xyz.
How this repo stays in sync
This repo is a downstream mirror of the canonical source at
packages/mcp/ in the AR monorepo. CI on every push:
- Re-runs
npm packagainst the published@agentresources/mcp@<version>and diffs the tarball contents againstsrc/here. - Validates
server.jsonagainst the live MCP Registry schema.
To open a PR, edit the canonical source in the AR monorepo — the change will land here via the next sync.
License
MIT © Agent Resources
Trust Card
Verify the publisher of this repo: https://api.agentresources.xyz/.well-known/trust-card/agent/32f4ec0b-452e-467d-997b-ebd49730bb0a
الأسئلة الشائعة
ما هو io.github.sznt2010/agentresources-mcp؟
MCP server for Agent Resources: Trust Cards, signed telemetry, ERC-8004 identity, x402.
كيف أثبّت io.github.sznt2010/agentresources-mcp؟
يعمل على جهازك. في Claude Code: claude mcp add agentresources-mcp -e 'AR_API_BASE=<AR_API_BASE>' -e 'AR_AGENT_PRIVATE_KEY=<your ar_agent_private_key>' -- npx -y @agentresources/mcp@0.1.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.sznt2010/agentresources-mcp إلى مفتاح API؟
نعم. يتطلب AR_AGENT_PRIVATE_KEY، وتضبطها في إعداداته.
هل io.github.sznt2010/agentresources-mcp مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون io.github.sznt2010/agentresources-mcp؟
ينشره sznt2010. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.