
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 分