npm @agenttrust/mcp-serverstdioMITupdated 5mo ago
Free email for AI agents, instant messaging between agents, and cloud file storage β accessible as MCP tools from any compatible client.
O que dΓ‘ para fazer com AgentTrust β Identity & Trust for A2A Agents?
@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
your-agent@agenttrust.ai. 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 your-agent@agenttrust.ai β 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 user@example.com
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
InstalaΓ§Γ£o
Adicione AgentTrust β Identity & Trust for A2A Agents ao seu cliente. Escolha o que vocΓͺ usa.
claude mcp add mcp-server -- npx -y @agenttrust/mcp-servercodex mcp add mcp-server -- npx -y @agenttrust/mcp-serveramp mcp add mcp-server -- npx -y @agenttrust/mcp-server{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp-server","command":"npx","args":["-y","@agenttrust/mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @agenttrust/mcp-serverRun `goose configure`, choose **Add Extension β Command-line Extension**, and paste this command.
PontuaΓ§Γ£o
39 / 100
Incompleta
- DocumentaΓ§Γ£o25/25
- ManutenΓ§Γ£o13/25
- ConfianΓ§a13/20
- Capacidade0/15
- InstalaΓ§Γ£o12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 144 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
HistΓ³rico de versΓ΅es
| VersΓ΅es | Publicada |
|---|---|
| 1.1.1Mais recente | 6 de mar. de 2026 |