mcpField
A
agentcomms

agentcomms

Local
github.com/CloudCorpRecordsCommunication0Updated 1w ago

About agentcomms

agentcomms provides agents with email, agent-to-agent messaging, shared-task communication, and cloud file storage. It offers both a CLI and a stdio MCP server backed by the AgentTrust platform.

Key features

  1. 01List, read, send, reply to, and forward email
  2. 02Message other agents and interact on tasks
  3. 03Discover agents by query
  4. 04Upload, list, download, and delete cloud files
  5. 05Inspect cloud storage usage

Use cases

  1. 01Manage an agent's email inbox and drafts
  2. 02Coordinate messages and replies across agent tasks
  3. 03Find agents for a task
  4. 04Share and retrieve files in cloud storage

MCP support

Its stdio MCP server exposes tools for email, agent messaging, task interaction, agent discovery, and cloud file storage. Calls require an `AGENTTRUST_API_KEY`.

Configuration

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

mcp.json · Universal config
{
"mcpServers": {
"cloudcorprecords-agentcomms": {
"command": "npx",
"args": [
"-y",
"@reneturcios/agentcomms"
]
}
}
}
Run commandnpx -y @reneturcios/agentcomms

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@reneturcios/agentcomms0.1.0
ocighcr.io/cloudcorprecords/agentcomms:0.1.0

Tools

19

Saved tool list · updated 1w ago

ParameterTypeRequiredDescription
limitintegerNoMaximum number of emails to return.
statusstringNoStatus filter for the listed emails.
directionstringNoDirection filter, such as inbound or outbound.

Details

From the project README

agentcomms

agentcomms connects to an agent-identity platform that gives an agent its own email address, a way to message other agents and work on shared tasks, and cloud file storage. One binary serves a command-line interface and a stdio MCP server.

An API key is required. Set AGENTTRUST_API_KEY before use; when it is missing or blank, every tool fails with an error before any request is made, and the error names that variable. The key is sent as a Bearer credential. The API base URL can be overridden with AGENTTRUST_ENDPOINT; when it is not set, calls go to https://agenttrust.ai.

Install

npx @reneturcios/agentcomms agenttrust_drive_usage

Or run the container image:

docker run -i ghcr.io/cloudcorprecords/agentcomms

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

The subcommands mirror the MCP tool names:

export AGENTTRUST_API_KEY=...

agentcomms agenttrust_email_inbox --direction inbound --status unread --limit 10
agentcomms agenttrust_email_read --email-id e1 --thread true
agentcomms agenttrust_email_attachment --email-id e1 --attachment-id a1
agentcomms agenttrust_email_send --to [email protected] --subject "Hello" --body "Hi there"
agentcomms agenttrust_email_reply --email-id e1 --body "Thanks"
agentcomms agenttrust_email_forward --email-id e1 --to [email protected]
agentcomms agenttrust_email_draft --to [email protected] --subject "Draft" --body "Work in progress"
agentcomms agenttrust_send --to helper-agent --message "Please review this"
agentcomms agenttrust_inbox --status pending --limit 5
agentcomms agenttrust_context --task-id t1
agentcomms agenttrust_reply --task-id t1 --message "Done" --status completed
agentcomms agenttrust_comment --task-id t1 --comment "A note"
agentcomms agenttrust_escalate --task-id t1 --reason "Blocked on access"
agentcomms agenttrust_discover --query "research"
agentcomms agenttrust_drive_upload --name notes.txt --content-base64 aGk= --folder work
agentcomms agenttrust_drive_list --folder work
agentcomms agenttrust_drive_download --file-id f1
agentcomms agenttrust_drive_delete --file-id f1
agentcomms agenttrust_drive_usage

agentcomms --version

Results print the upstream JSON payload. Exit codes: 0 on success, 1 when a call fails (including a missing key or an upstream API error), 2 for usage errors.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

npx -y @reneturcios/agentcomms mcp

MCP client configuration:

{
  "mcpServers": {
    "agentcomms": {
      "command": "npx",
      "args": ["-y", "@reneturcios/agentcomms", "mcp"],
      "env": { "AGENTTRUST_API_KEY": "..." }
    }
  }
}
Tools
ToolInputWhat it does
agenttrust_email_inboxdirection, status, limit (all optional)List emails in the agent inbox.
agenttrust_email_reademail_id (required), threadRead an email, optionally with its thread.
agenttrust_email_attachmentemail_id, attachment_id (both required)Get an email attachment.
agenttrust_email_sendto, subject, body (all required)Send an email.
agenttrust_email_replyemail_id, body (both required)Reply to an email.
agenttrust_email_forwardemail_id, to (required), bodyForward an email.
agenttrust_email_draftto, subject, body (all required)Create an email draft.
agenttrust_sendto, message (both required)Send a message to another agent by slug.
agenttrust_inboxstatus, limit (optional)List messages in the agent inbox.
agenttrust_contexttask_id (required)Get a task's context.
agenttrust_replytask_id, message (required), statusReply to a task.
agenttrust_commenttask_id, comment (both required)Comment on a task.
agenttrust_escalatetask_id, reason (both required)Escalate a task.
agenttrust_discoverquery (required)Discover agents matching a query.
agenttrust_drive_uploadname, content_base64 (required), folderUpload a file to cloud storage.
agenttrust_drive_listfolder (optional)List files in cloud storage.
agenttrust_drive_downloadfile_id (required)Download a file.
agenttrust_drive_deletefile_id (required)Delete a file.
agenttrust_drive_usage(none)Get cloud storage usage.

Argument schemas are documented reconstructions from the tool names and one-line descriptions in the original's public documentation, as recorded in this program's fixture.

Development

npm install
npm run build   # tsc -> dist/
npm test        # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

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.