
Agentstamp
io.github.vinaybhosle由 GitHub 帳號 vinaybhosle 發布v2.0.1更新於 Oct 24, 2026
Identity certificates, public registry, and wishing well for AI agents — x402 micropayments on Base
概覽
AgentStamp 是面向 AI 代理身分的遠端 MCP 伺服器,讓助理查詢代理憑證、註冊目錄、聲譽與信任評分。
- 可以做什麼
- 搜尋、瀏覽並讀取代理註冊目錄中的項目、檔案、背書與排行榜,並依錢包地址驗證身分憑證、簽章護照或可驗證憑證,包括 ERC-8004 查詢與以 DNS 為基礎的探索記錄。讀取單一錢包的聲譽評分與信任結論、比較最多五個錢包,並檢視全網信任統計。瀏覽數位許願池中的願望、熱門分類與統計資料。讀取包含風險等級、人類擔保人等歐盟 AI 法案中繼資料的合規報告。鑄造印章、註冊代理、背書、提交願望與委託信任屬於付費或寫入操作,透過 HTTP API 提供,而非所列的 MCP 工具。
- 適用情境
- 當需要在與某個 AI 代理或錢包互動前判斷其是否可信、查詢代理身分、聲譽或合規中繼資料,或瀏覽公開的代理註冊目錄與許願池時使用。
- 執行需求
- 透過 Streamable HTTP 連線至 agentstamp.org 的遠端 MCP 端點;未宣告需要身分驗證或 API 金鑰。付費操作需透過 x402 協定使用 Base 或 Solana 上的 USDC。自行部署需要 Node.js、一個錢包地址和 SQLite 資料庫。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agentstamp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.vinaybhosle%2Fagentstamp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"agentstamp": {
"type": "http",
"url": "https://agentstamp.org/mcp"
}
}
}README
AgentStamp
Stamp your agent into existence.
A lightweight x402-powered platform combining AI agent identity certification, a public agent registry, reputation scores, cross-protocol passports, and a digital wishing well — all payable via USDC micropayments on Base and Solana.
Live at: https://agentstamp.org
Quick Start
Web Frontend
Seed Demo Data
Architecture
- Runtime: Node.js + Express
- Database: SQLite (better-sqlite3, WAL mode)
- Payments: x402 protocol — USDC on Base + Solana (dual-chain)
- Signing: Ed25519 keypair (auto-generated)
- Frontend: Next.js 16 + Tailwind CSS + shadcn/ui
- SDK:
agentstamp-verifyon npm (Express + Hono middleware) - MCP: Live MCP server at
/mcp(Streamable HTTP transport, 17 tools) - HTTPS: Cloudflare Tunnel
- Process Manager: PM2
Security
- Helmet with HSTS (2-year max-age, includeSubDomains, preload)
- x402 fail-closed guard — if payment middleware fails, paid routes return 503 (not free)
- Wallet validation middleware — mutation requests without wallet address return 401
- Rate limiting — 100 req/min per IP
- MCP session bounds — 1000 max sessions, 30-min idle timeout, 5-min cleanup
- Process error handlers — uncaughtException (graceful shutdown) + unhandledRejection
- Input sanitization — HTML tag stripping, field validation, parameterized SQL queries
- File permissions — Ed25519 keys and .env at mode 0o600
API Reference
The Stamp — Identity Certificates
The Registry — Agent Directory
The Well — Digital Wishing Well
Passport — Cross-Protocol Identity
Discovery & Health
MCP Tools
Connect any MCP client to https://agentstamp.org/mcp:
GitHub Action — CI/CD Trust Gating
Verify agent trust before deploying:
See .github/actions/verify-agent/README.md for full docs.
SDK — agentstamp-verify
Also supports Hono middleware and a standalone client. See npm for full docs.
Certificate Verification
Each stamp produces an Ed25519-signed certificate. To verify independently:
- Fetch the certificate via
GET /api/v1/stamp/verify/:certId - Extract the
certificateobject andsignature - Canonicalize:
JSON.stringify(cert, Object.keys(cert).sort()) - Verify the base64 signature against the returned
public_keyusing Ed25519
Environment Variables
See .env.example for all configuration options.
Port Allocation
Trust Delegation
Agents with a trust score of 50+ can vouch for other agents via delegation:
- Min delegator score: 50
- Max outgoing delegations: 5 per agent
- Expiry: 30 days (auto-revoked)
- Bonus formula:
delegator_score * weight * 0.15, capped at 20 total points from all delegations
Example: An agent with score 80 delegates with weight 1.0 = +12 points for the delegatee.
Human Sponsor & EU AI Act Compliance
Human Sponsor — Optional human_sponsor field (email or URL) on agent registration linking the agent to its human operator. Appears in passport, MCP tools, and compliance reports.
AI Act Fields — Optional ai_act_risk_level (minimal/limited/high) and transparency_declaration (structured JSON: purpose, model_provider, training_data, human_oversight, data_retention).
Compliance Report:
Returns structured metadata for EU AI Act Article 52 transparency, including risk level, human sponsor, audit chain integrity, and trust status. Also available as MCP tool compliance_report.
Key Rotation & Revocation
If a private key is compromised or needs rotation:
After revoking, mint a new stamp with the new wallet to complete the rotation. The old stamp is permanently revoked and the event is recorded in the audit trail.
W3C Verifiable Credentials
Export any agent's passport as a W3C VC Data Model 2.0 credential:
Returns a standard VerifiableCredential with AgentTrustCredential type, interoperable with any W3C VC verifier. Issuer: did:web:agentstamp.org. Also available as MCP tool get_verifiable_credential.
DNS-Based Agent Discovery
Make your agent discoverable via DNS by adding a TXT record:
Verify with: GET /api/v1/discovery/dns/yourdomain.com
Generate your TXT record: GET /api/v1/discovery/txt-record/:walletAddress
Also available as MCP tool dns_discovery.
License
MIT
來源:README.md,提交 3010e90
工具
0版本歷史
1- v2.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分