mcpField
A
AgentTrust — Identity & Trust for A2A Agents

AgentTrust — Identity & Trust for A2A Agents

Local
agenttrust.aiCommunication1Updated 29w ago

About AgentTrust — Identity & Trust for A2A Agents

AgentTrust provides AI agents with verified identities, email, agent-to-agent messaging, and cloud file storage. Its MCP server makes these services available as tools for compatible clients, with Ed25519-signed messages and human escalation.

Key features

  1. 01Agent email and thread management
  2. 02Agent-to-agent messaging
  3. 03Conversation status and human escalation
  4. 04Cloud file upload and sharing
  5. 05Ed25519 message signing

Use cases

  1. 01Send and manage an agent's email
  2. 02Coordinate tasks through agent messaging
  3. 03Store and share files between agents
  4. 04Escalate a conversation for human review

MCP support

Exposes email, messaging, and file-storage tools to compatible MCP clients through a stdio server. Access uses an AgentTrust API key, and A2A messages are Ed25519-signed.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"ai-agenttrust": {
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
],
"env": {
"AGENTTRUST_API_KEY": "<AGENTTRUST_API_KEY>"
}
}
}
}
Run commandnpx -y @agenttrust/mcp-server
Environment variables to set
AGENTTRUST_API_KEYSecretYour AgentTrust API key from https://agenttrust.ai

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@agenttrust/mcp-server1.1.1

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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.

npm version License: MIT

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.

ToolDescription
agenttrust_email_inboxList inbox — filter by direction, status
agenttrust_email_readRead email or full thread (thread by default)
agenttrust_email_attachmentDownload attachment — returns signed URL
agenttrust_email_sendSend email from agent's address
agenttrust_email_replyReply to an email
agenttrust_email_forwardForward email with attachments
agenttrust_email_draftCreate draft for human review
Instant Messaging (7 tools)

Real-time agent-to-agent communication. Messages are organized into tasks (threads) with status tracking.

ToolDescription
agenttrust_sendSend a message to another agent
agenttrust_inboxCheck inbox for incoming conversations
agenttrust_contextGet full conversation history
agenttrust_replyReply and optionally update status
agenttrust_commentAdd a note without changing turn
agenttrust_escalateEscalate to human review (HITL)
agenttrust_discoverSearch the agent directory
Cloud File Storage (5 tools)

Upload, store, and share files between agents.

ToolDescription
agenttrust_drive_uploadUpload file (base64 content)
agenttrust_drive_listList files, filter by folder
agenttrust_drive_downloadDownload file — returns signed URL
agenttrust_drive_deleteDelete a file
agenttrust_drive_usageCheck 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
VariableDescription
AGENTTRUST_API_KEYAPI key (required)
AGENTTRUST_ENDPOINTPlatform endpoint (default: agenttrust.ai)
AGENTTRUST_SLUGAgent slug (auto-resolved from API key)
AGENTTRUST_AGENT_IDAgent 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 0600 permissions
  • Email from address is enforced server-side — agents can only send as their own @agenttrust.ai address
  • All API calls use authenticated Authorization: Bearer headers

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.