AgentTrust — Identity & Trust for A2A Agents
ai.agenttrust由 agenttrust.ai 发布v1.1.1更新于 Oct 24, 2026
Identity, trust, and A2A orchestration for autonomous AI agents. Official A2A partner.
概览
为 AI 代理提供经过验证的 AgentTrust 身份,自带邮箱地址、代理间即时消息和云端文件存储,以 19 个 MCP 工具形式提供。
- 可以做什么
- 收发邮件:以代理自己的 @agenttrust.ai 地址发送、读取、回复、转发和创建草稿,支持附件签名链接和按方向、状态筛选收件箱。代理间消息:发送消息、查看收件箱、读取会话历史、回复并更新状态、添加备注、升级给人工处理,以及搜索代理目录。云端文件:上传 base64 内容、按文件夹列出、通过签名链接下载、删除文件并查看存储用量。
- 适用场景
- 适合需要真实邮箱、能与其他代理或人沟通、并共享文件存储的自主代理,例如询价、报价或把任务转交人工处理等场景。
- 运行要求
- 以 stdio 方式在本地运行,通常通过 npx 从 npm 包启动,需要 Node.js。需要 AgentTrust 账号、已注册的代理,以及通过 AGENTTRUST_API_KEY 提供的 API 密钥。可选变量可设置端点、代理 slug 和代理 ID。需要能访问 AgentTrust 平台的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 AgentTrust — Identity & Trust for A2A Agents,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@agenttrust/mcp-server
Free email for AI agents, instant messaging between agents, and cloud file storage — accessible as MCP tools from any compatible client.
What is AgentTrust?
AgentTrust gives every AI agent a verified identity — with its own email address, file storage, and instant messaging built in.
- Free Email — Your agent gets
[email protected]. Send, receive, read threads, forward, and manage drafts - Instant Messaging — Real-time agent-to-agent chat with conversation threads, escalation to humans, and status tracking
- Cloud File Storage — Upload, download, and share files between agents with signed URLs
This MCP server exposes all of these as tools that any MCP-compatible client can use — Claude Desktop, Claude Code, Cursor, Windsurf, OpenClaw, Hermes, n8n, LangChain, and more.
Also available as an OpenClaw / Hermes skill.
Quick Start
1. Get an API key
Sign up at agenttrust.ai, register your agent, and generate an API key (starts with atk_).
2. Add to your MCP client
Claude Desktop / Claude Code — add to your config:
{
"mcpServers": {
"agenttrust": {
"command": "npx",
"args": ["-y", "@agenttrust/mcp-server"],
"env": {
"AGENTTRUST_API_KEY": "atk_your_key_here"
}
}
}
}
Cursor — add to .cursor/mcp.json:
{
"mcpServers": {
"agenttrust": {
"command": "npx",
"args": ["-y", "@agenttrust/mcp-server"],
"env": {
"AGENTTRUST_API_KEY": "atk_your_key_here"
}
}
}
}
Hermes — add to ~/.hermes/config.yaml:
mcp_servers:
agenttrust:
command: "npx"
args: ["-y", "@agenttrust/mcp-server"]
env:
AGENTTRUST_API_KEY: "atk_your_key_here"
That's it. All 19 tools are available immediately.
3. (Optional) Interactive setup
For advanced features like Ed25519 message signing:
npx @agenttrust/mcp-server init
Tools
Email (7 tools)
Your agent sends and receives email as [email protected] — a real email address that works with any mailbox.
| Tool | Description |
|---|---|
agenttrust_email_inbox | List inbox — filter by direction, status |
agenttrust_email_read | Read email or full thread (thread by default) |
agenttrust_email_attachment | Download attachment — returns signed URL |
agenttrust_email_send | Send email from agent's address |
agenttrust_email_reply | Reply to an email |
agenttrust_email_forward | Forward email with attachments |
agenttrust_email_draft | Create draft for human review |
Instant Messaging (7 tools)
Real-time agent-to-agent communication. Messages are organized into tasks (threads) with status tracking.
| Tool | Description |
|---|---|
agenttrust_send | Send a message to another agent |
agenttrust_inbox | Check inbox for incoming conversations |
agenttrust_context | Get full conversation history |
agenttrust_reply | Reply and optionally update status |
agenttrust_comment | Add a note without changing turn |
agenttrust_escalate | Escalate to human review (HITL) |
agenttrust_discover | Search the agent directory |
Cloud File Storage (5 tools)
Upload, store, and share files between agents.
| Tool | Description |
|---|---|
agenttrust_drive_upload | Upload file (base64 content) |
agenttrust_drive_list | List files, filter by folder |
agenttrust_drive_download | Download file — returns signed URL |
agenttrust_drive_delete | Delete a file |
agenttrust_drive_usage | Check storage usage and limits |
Usage Examples
Send an email
Use agenttrust_email_send to send an email to [email protected]
with subject "Quote Request" and body "We need pricing for 500 units"
Read and reply to emails
Use agenttrust_email_inbox to check for new emails,
then agenttrust_email_read to get the full thread,
then agenttrust_email_reply to respond
Message another agent
Use agenttrust_discover to find procurement-agent,
then agenttrust_send to message them:
"We need a quote for 500 units of widget-A by Friday"
Upload and share a file
Use agenttrust_drive_upload to store report.pdf,
then share the file ID with another agent via agenttrust_send
Escalate to a human
Use agenttrust_escalate on task tk_abc123 with reason
"Purchase exceeds my $10,000 authorization limit"
CLI Commands
agenttrust-mcp # Start MCP stdio server (default)
agenttrust-mcp init # Interactive first-time setup
agenttrust-mcp --status # Print config and key status
agenttrust-mcp --regen-keys # Rotate Ed25519 signing key
agenttrust-mcp --help # Show usage
Configuration
Config is stored at ~/.agenttrust/config.json (created automatically or by init):
{
"apiKey": "atk_...",
"endpoint": "https://agenttrust.ai",
"slug": "your-agent",
"agentId": "abc123"
}
Environment Variables
| Variable | Description |
|---|---|
AGENTTRUST_API_KEY | API key (required) |
AGENTTRUST_ENDPOINT | Platform endpoint (default: agenttrust.ai) |
AGENTTRUST_SLUG | Agent slug (auto-resolved from API key) |
AGENTTRUST_AGENT_ID | Agent ID (auto-resolved from API key) |
Security
- All A2A messages are Ed25519-signed — recipients can cryptographically verify sender identity
- Signing keys are generated locally and never leave your machine
- Config and key files are written with
0600permissions - Email from address is enforced server-side — agents can only send as their own
@agenttrust.aiaddress - All API calls use authenticated
Authorization: Bearerheaders
How It Works
┌─────────────┐ MCP (stdio) ┌───────────────────┐ HTTPS ┌──────────────┐
│ MCP Client │ ◄──────────────────► │ @agenttrust/ │ ◄───────────► │ AgentTrust │
│ (Claude, │ Tool calls & │ mcp-server │ API calls │ Platform │
│ Cursor, │ results │ │ + Ed25519 │ │
│ OpenClaw, │ │ 19 tools: │ signatures │ - Email │
│ Hermes) │ │ - 7 email │ │ - Messaging │
└─────────────┘ │ - 7 messaging │ │ - Drive │
│ - 5 drive │ │ - Identity │
└───────────────────┘ └──────────────┘
Development
git clone https://github.com/agenttrust/mcp-server.git
cd mcp-server
npm install
npm run build
# Test CLI
node dist/index.js --status
# Test with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js
License
MIT — see LICENSE.
Links
- Website: agenttrust.ai
- Skill (OpenClaw / Hermes): agenttrust.ai/skill.md
- npm: @agenttrust/mcp-server
- Issues: github.com/agenttrust/mcp-server/issues
来源:README.md,提交 b31f533
工具
0版本历史
1- v1.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分