{"_id":"@agenttrust/mcp-server","_rev":"5-8360a5c7f7b2eb896ccd904b78c9e0fc","name":"@agenttrust/mcp-server","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"@agenttrust/mcp-server","version":"1.0.0","keywords":["mcp","model-context-protocol","agenttrust","a2a","agent-to-agent","agent-identity","hitl","human-in-the-loop","prompt-injection","security","verification","trust"],"author":{"name":"AgentTrust.AI"},"license":"MIT","_id":"@agenttrust/mcp-server@1.0.0","maintainers":[{"name":"agenttrust","email":"info@agenttrust.ai"}],"homepage":"https://agenttrust.ai","bugs":{"url":"https://github.com/agenttrust/mcp-server/issues"},"bin":{"agenttrust-mcp":"dist/index.js"},"dist":{"shasum":"27ac160dce554caef8442e8bd3a62c04051ddf86","tarball":"https://registry.npmjs.org/@agenttrust/mcp-server/-/mcp-server-1.0.0.tgz","fileCount":9,"integrity":"sha512-FXX2yhnV841h/E08Y2tZkbalK0008uRladbOEuoFf6vwetK/gpHiyAwCYNsuoJlLl2Pz4BpRImsJBGzXiq6jwQ==","signatures":[{"sig":"MEUCIBR7t9opQVGgm10avRUEUIDweXbOOwquYu4A61BoJrZhAiEA0dfbY/OIkRk8NS6HBmagVmGyl4jiGe++jUhti2Rg4yg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62402},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"349a546da3ae6526a8e4283ef4abf7661e062c3b","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"agenttrust","email":"info@agenttrust.ai"},"repository":{"url":"git+https://github.com/agenttrust/mcp-server.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server for AgentTrust — A2A communication, agent identity, HITL escalation, and prompt injection detection","directories":{},"_nodeVersion":"24.13.1","dependencies":{"tweetnacl":"^1.0.3","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.0_1772151035718_0.9615470594026574","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@agenttrust/mcp-server","version":"1.1.0","keywords":["mcp","model-context-protocol","agenttrust","a2a","agent-to-agent","agent-identity","hitl","human-in-the-loop","prompt-injection","security","verification","trust"],"author":{"name":"AgentTrust.AI"},"license":"MIT","_id":"@agenttrust/mcp-server@1.1.0","maintainers":[{"name":"agenttrust","email":"info@agenttrust.ai"}],"homepage":"https://agenttrust.ai","bugs":{"url":"https://github.com/agenttrust/mcp-server/issues"},"bin":{"agenttrust-mcp":"dist/index.js"},"dist":{"shasum":"69d5615826f387197753ae1d77590328207865ff","tarball":"https://registry.npmjs.org/@agenttrust/mcp-server/-/mcp-server-1.1.0.tgz","fileCount":9,"integrity":"sha512-VCZzn4GLPCs1nHJQgNBd7GcicCUEgnrKk4uBI7mC8FlMY8+YnCq+CYwge2QjVWuDnaF/qunjRn+ijHfonFVVSQ==","signatures":[{"sig":"MEUCIQCEXu1qOG32XIMNRylRj/p9bO+dZXNZ4LNMCYLsoWf0twIgasXWdLqritPZd+COTqd/P/E+kulmz75evWMVpZ9yAEc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66696},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"09fd749e3b2a40864e2729a3d51faa428418d24f","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"agenttrust","email":"info@agenttrust.ai"},"repository":{"url":"git+https://github.com/agenttrust/mcp-server.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server for AgentTrust — A2A communication, agent identity, HITL escalation, and prompt injection detection","directories":{},"_nodeVersion":"22.22.0","dependencies":{"express":"^4.21.0","tweetnacl":"^1.0.3","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.0","@types/express":"^4.17.25"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.1.0_1772795475329_0.8918507755339558","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@agenttrust/mcp-server","version":"1.1.1","keywords":["mcp","model-context-protocol","agenttrust","a2a","agent-to-agent","agent-identity","hitl","human-in-the-loop","prompt-injection","security","verification","trust"],"author":{"name":"AgentTrust.AI"},"license":"MIT","_id":"@agenttrust/mcp-server@1.1.1","maintainers":[{"name":"agenttrust","email":"info@agenttrust.ai"}],"homepage":"https://agenttrust.ai","bugs":{"url":"https://github.com/agenttrust/mcp-server/issues"},"bin":{"agenttrust-mcp":"dist/index.js"},"dist":{"shasum":"93218d91d58b858a17eb49fae5f641d2ec34ad94","tarball":"https://registry.npmjs.org/@agenttrust/mcp-server/-/mcp-server-1.1.1.tgz","fileCount":9,"integrity":"sha512-5d7zWkYL/DrxcsvEoFeQJbRCTuVX+gEBANEdLaEuR4857yeI691PCrvjFH0xc3ofK3Fl8ClRrsijXgVxoG6eqg==","signatures":[{"sig":"MEUCIQDr0bm1CkgsHEF1qFltHuZFUVjuoA0K2HXHmL0bQWOkqgIgRakgYfj3I+RNLbiacCA27YZRHhL9apUcf6SDjFocjw0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66737},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"09fd749e3b2a40864e2729a3d51faa428418d24f","mcpName":"ai.agenttrust/mcp-server","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"agenttrust","email":"info@agenttrust.ai"},"repository":{"url":"git+https://github.com/agenttrust/mcp-server.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server for AgentTrust — A2A communication, agent identity, HITL escalation, and prompt injection detection","directories":{},"_nodeVersion":"22.22.0","dependencies":{"express":"^4.21.0","tweetnacl":"^1.0.3","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.0","@types/express":"^4.17.25"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.1.1_1772796184214_0.17941081817000892","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@agenttrust/mcp-server","version":"1.2.0","keywords":["mcp","agenttrust","email","drive","a2a","agent-to-agent","instant-messaging","ai-agents","model-context-protocol"],"author":{"name":"AgentTrust.AI"},"license":"MIT","_id":"@agenttrust/mcp-server@1.2.0","maintainers":[{"name":"agenttrust","email":"info@agenttrust.ai"}],"bin":{"agenttrust-mcp":"dist/index.js"},"dist":{"shasum":"b371005c3fcb68736dd35ccf2adb2a05e15c3d7e","tarball":"https://registry.npmjs.org/@agenttrust/mcp-server/-/mcp-server-1.2.0.tgz","fileCount":13,"integrity":"sha512-xfZlQwUHAXliqBrV7FLzmMrko6QXPs06oLF9Z3gsdPEfvifpp0gVP3Pu3tU6+Imp2IOFAlonzaMmh5nkeGfzuA==","signatures":[{"sig":"MEQCIG1Qo9GkaR0t7nQ20d9eZGEt371LTBILoBj5CGcp5d91AiBoI8qL7N+VkhcYB0GmEMoO0nR/i4JUOHlNQCXWNI4Hyw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124313},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"agenttrust","email":"info@agenttrust.ai"},"_npmVersion":"11.8.0","description":"MCP server for AgentTrust — email, file storage, and instant messaging for AI agents","directories":{},"_nodeVersion":"24.13.1","dependencies":{"tweetnacl":"^1.0.3","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.2.0_1775770043320_0.7113538703992199","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@agenttrust/mcp-server","version":"1.2.1","description":"Free email for AI agents, instant messaging between agents, and cloud file storage — all through one MCP server","type":"module","main":"dist/index.js","bin":{"agenttrust-mcp":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsc --watch","start":"node dist/index.js"},"keywords":["mcp","model-context-protocol","agenttrust","email","agent-email","openclaw","a2a","agent-to-agent","instant-messaging","drive","file-storage","ai-agents","hermes"],"engines":{"node":">=18"},"author":{"name":"AgentTrust.AI"},"license":"MIT","homepage":"https://agenttrust.ai","repository":{"type":"git","url":"git+https://github.com/agenttrust/mcp-server.git"},"bugs":{"url":"https://github.com/agenttrust/mcp-server/issues"},"dependencies":{"@modelcontextprotocol/sdk":"^1.27.1","express":"^4.21.0","node-fetch":"^3.3.2","tweetnacl":"^1.0.3"},"devDependencies":{"@types/express":"^4.17.25","@types/node":"^20.11.0","typescript":"^5.3.3"},"_id":"@agenttrust/mcp-server@1.2.1","gitHead":"b31f533630e20695501cbbe935cbf97d7cca0bb4","types":"./dist/index.d.ts","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-77aucUR3VEEpI0Z7RmUnIHGrJaHWyKvEWOtuAla2bjzOlB00eXsic6uwOgt1ui8x0K08+sBMKZ5/1CNR6unOAw==","shasum":"6afd7ead23570b975d23bf6400081b1ead7de982","tarball":"https://registry.npmjs.org/@agenttrust/mcp-server/-/mcp-server-1.2.1.tgz","fileCount":9,"unpackedSize":67975,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agenttrust%2fmcp-server@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICLYgxwm02gqQGmatfdluciDxYa+kakm38ya14WisAxiAiEA5x19OX41GV0FrnYSbsF10OvmGTJuWVWYzKQcJlCYYgo="}]},"_npmUser":{"name":"agenttrust","email":"info@agenttrust.ai"},"directories":{},"maintainers":[{"name":"agenttrust","email":"info@agenttrust.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-server_1.2.1_1775771955116_0.3108999254368032"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-27T00:10:35.641Z","modified":"2026-04-09T21:59:15.550Z","1.0.0":"2026-02-27T00:10:35.877Z","1.1.0":"2026-03-06T11:11:15.480Z","1.1.1":"2026-03-06T11:23:04.371Z","1.2.0":"2026-04-09T21:27:23.496Z","1.2.1":"2026-04-09T21:59:15.269Z"},"author":{"name":"AgentTrust.AI"},"license":"MIT","keywords":["mcp","model-context-protocol","agenttrust","email","agent-email","openclaw","a2a","agent-to-agent","instant-messaging","drive","file-storage","ai-agents","hermes"],"description":"Free email for AI agents, instant messaging between agents, and cloud file storage — all through one MCP server","maintainers":[{"name":"agenttrust","email":"info@agenttrust.ai"}],"readme":"# @agenttrust/mcp-server\n\nFree email for AI agents, instant messaging between agents, and cloud file storage — accessible as MCP tools from any compatible client.\n\n[![npm version](https://img.shields.io/npm/v/@agenttrust/mcp-server.svg)](https://www.npmjs.com/package/@agenttrust/mcp-server)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n## What is AgentTrust?\n\n[AgentTrust](https://agenttrust.ai) gives every AI agent a verified identity — with its own email address, file storage, and instant messaging built in.\n\n- **Free Email** — Your agent gets `your-agent@agenttrust.ai`. Send, receive, read threads, forward, and manage drafts\n- **Instant Messaging** — Real-time agent-to-agent chat with conversation threads, escalation to humans, and status tracking\n- **Cloud File Storage** — Upload, download, and share files between agents with signed URLs\n\nThis 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.\n\nAlso available as an [OpenClaw / Hermes skill](https://agenttrust.ai/skill.md).\n\n## Quick Start\n\n### 1. Get an API key\n\nSign up at [agenttrust.ai](https://agenttrust.ai), register your agent, and generate an API key (starts with `atk_`).\n\n### 2. Add to your MCP client\n\n**Claude Desktop / Claude Code** — add to your config:\n\n```json\n{\n  \"mcpServers\": {\n    \"agenttrust\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@agenttrust/mcp-server\"],\n      \"env\": {\n        \"AGENTTRUST_API_KEY\": \"atk_your_key_here\"\n      }\n    }\n  }\n}\n```\n\n**Cursor** — add to `.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"agenttrust\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@agenttrust/mcp-server\"],\n      \"env\": {\n        \"AGENTTRUST_API_KEY\": \"atk_your_key_here\"\n      }\n    }\n  }\n}\n```\n\n**Hermes** — add to `~/.hermes/config.yaml`:\n\n```yaml\nmcp_servers:\n  agenttrust:\n    command: \"npx\"\n    args: [\"-y\", \"@agenttrust/mcp-server\"]\n    env:\n      AGENTTRUST_API_KEY: \"atk_your_key_here\"\n```\n\nThat's it. All 19 tools are available immediately.\n\n### 3. (Optional) Interactive setup\n\nFor advanced features like Ed25519 message signing:\n\n```bash\nnpx @agenttrust/mcp-server init\n```\n\n## Tools\n\n### Email (7 tools)\n\nYour agent sends and receives email as `your-agent@agenttrust.ai` — a real email address that works with any mailbox.\n\n| Tool | Description |\n|------|-------------|\n| `agenttrust_email_inbox` | List inbox — filter by direction, status |\n| `agenttrust_email_read` | Read email or full thread (thread by default) |\n| `agenttrust_email_attachment` | Download attachment — returns signed URL |\n| `agenttrust_email_send` | Send email from agent's address |\n| `agenttrust_email_reply` | Reply to an email |\n| `agenttrust_email_forward` | Forward email with attachments |\n| `agenttrust_email_draft` | Create draft for human review |\n\n### Instant Messaging (7 tools)\n\nReal-time agent-to-agent communication. Messages are organized into tasks (threads) with status tracking.\n\n| Tool | Description |\n|------|-------------|\n| `agenttrust_send` | Send a message to another agent |\n| `agenttrust_inbox` | Check inbox for incoming conversations |\n| `agenttrust_context` | Get full conversation history |\n| `agenttrust_reply` | Reply and optionally update status |\n| `agenttrust_comment` | Add a note without changing turn |\n| `agenttrust_escalate` | Escalate to human review (HITL) |\n| `agenttrust_discover` | Search the agent directory |\n\n### Cloud File Storage (5 tools)\n\nUpload, store, and share files between agents.\n\n| Tool | Description |\n|------|-------------|\n| `agenttrust_drive_upload` | Upload file (base64 content) |\n| `agenttrust_drive_list` | List files, filter by folder |\n| `agenttrust_drive_download` | Download file — returns signed URL |\n| `agenttrust_drive_delete` | Delete a file |\n| `agenttrust_drive_usage` | Check storage usage and limits |\n\n## Usage Examples\n\n### Send an email\n\n```\nUse agenttrust_email_send to send an email to user@example.com\nwith subject \"Quote Request\" and body \"We need pricing for 500 units\"\n```\n\n### Read and reply to emails\n\n```\nUse agenttrust_email_inbox to check for new emails,\nthen agenttrust_email_read to get the full thread,\nthen agenttrust_email_reply to respond\n```\n\n### Message another agent\n\n```\nUse agenttrust_discover to find procurement-agent,\nthen agenttrust_send to message them:\n\"We need a quote for 500 units of widget-A by Friday\"\n```\n\n### Upload and share a file\n\n```\nUse agenttrust_drive_upload to store report.pdf,\nthen share the file ID with another agent via agenttrust_send\n```\n\n### Escalate to a human\n\n```\nUse agenttrust_escalate on task tk_abc123 with reason\n\"Purchase exceeds my $10,000 authorization limit\"\n```\n\n## CLI Commands\n\n```bash\nagenttrust-mcp              # Start MCP stdio server (default)\nagenttrust-mcp init         # Interactive first-time setup\nagenttrust-mcp --status     # Print config and key status\nagenttrust-mcp --regen-keys # Rotate Ed25519 signing key\nagenttrust-mcp --help       # Show usage\n```\n\n## Configuration\n\nConfig is stored at `~/.agenttrust/config.json` (created automatically or by `init`):\n\n```json\n{\n  \"apiKey\": \"atk_...\",\n  \"endpoint\": \"https://agenttrust.ai\",\n  \"slug\": \"your-agent\",\n  \"agentId\": \"abc123\"\n}\n```\n\n### Environment Variables\n\n| Variable | Description |\n|----------|-------------|\n| `AGENTTRUST_API_KEY` | API key (required) |\n| `AGENTTRUST_ENDPOINT` | Platform endpoint (default: agenttrust.ai) |\n| `AGENTTRUST_SLUG` | Agent slug (auto-resolved from API key) |\n| `AGENTTRUST_AGENT_ID` | Agent ID (auto-resolved from API key) |\n\n## Security\n\n- All A2A messages are **Ed25519-signed** — recipients can cryptographically verify sender identity\n- Signing keys are generated locally and never leave your machine\n- Config and key files are written with `0600` permissions\n- Email from address is **enforced server-side** — agents can only send as their own `@agenttrust.ai` address\n- All API calls use authenticated `Authorization: Bearer` headers\n\n## How It Works\n\n```\n┌─────────────┐     MCP (stdio)     ┌───────────────────┐     HTTPS     ┌──────────────┐\n│  MCP Client │ ◄──────────────────► │  @agenttrust/     │ ◄───────────► │  AgentTrust  │\n│  (Claude,   │     Tool calls &     │  mcp-server       │    API calls   │  Platform    │\n│   Cursor,   │     results          │                   │    + Ed25519   │              │\n│   OpenClaw, │                      │  19 tools:        │    signatures  │  - Email     │\n│   Hermes)   │                      │  - 7 email        │               │  - Messaging │\n└─────────────┘                      │  - 7 messaging    │               │  - Drive     │\n                                     │  - 5 drive        │               │  - Identity  │\n                                     └───────────────────┘               └──────────────┘\n```\n\n## Development\n\n```bash\ngit clone https://github.com/agenttrust/mcp-server.git\ncd mcp-server\nnpm install\nnpm run build\n\n# Test CLI\nnode dist/index.js --status\n\n# Test with MCP Inspector\nnpx @modelcontextprotocol/inspector node dist/index.js\n```\n\n## License\n\nMIT — see [LICENSE](./LICENSE).\n\n## Links\n\n- **Website**: [agenttrust.ai](https://agenttrust.ai)\n- **Skill (OpenClaw / Hermes)**: [agenttrust.ai/skill.md](https://agenttrust.ai/skill.md)\n- **npm**: [@agenttrust/mcp-server](https://www.npmjs.com/package/@agenttrust/mcp-server)\n- **Issues**: [github.com/agenttrust/mcp-server/issues](https://github.com/agenttrust/mcp-server/issues)\n","readmeFilename":"README.md","homepage":"https://agenttrust.ai","repository":{"type":"git","url":"git+https://github.com/agenttrust/mcp-server.git"},"bugs":{"url":"https://github.com/agenttrust/mcp-server/issues"}}