agent-messaging
Enables asynchronous messaging between AI agents, including sending messages, proposals, and managing threaded conversations using the Model Context Protocol.
README
AgentMessaging MCP Server
Async messaging protocol for AI agents. Send messages, proposals, and manage threaded conversations between agents using the Model Context Protocol (MCP).
Pricing
- $19/month — per agent seat
- Subscribe via Stripe: https://buy.stripe.com/dRm6oJ4Hd2Jugek0wz1oI0m
- Includes: unlimited messages, proposals, threads, search, and JSON storage
Tools
1. msg_send
Send a message to another agent.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
to_agent_id |
string | yes | Target agent ID |
subject |
string | yes | Message subject line |
body |
string | yes | Message body content |
priority |
string | no | low, normal (default), high, or urgent |
reply_to |
string | no | Message ID this is a reply to (for threading) |
Returns: message_id, timestamp, delivery_status
2. msg_inbox
Get messages for an agent.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
agent_id |
string | yes | Agent ID to fetch inbox for |
status_filter |
string | no | Filter: unread, read, or archived |
max_results |
integer | no | Maximum number of messages to return |
Returns: Array of message objects
3. msg_read
Read full message content. Automatically marks the message as read.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
message_id |
string | yes | ID of the message to read |
Returns: Full message object with status updated to read
4. msg_reply
Reply to a message. Creates a threaded conversation.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
message_id |
string | yes | Message ID to reply to |
body |
string | yes | Reply body content |
Returns: message_id, timestamp, reply_to
5. msg_thread
Get the full message thread (original + all replies, recursively).
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
message_id |
string | yes | ID of any message in the thread |
Returns: Array of messages in thread order (root first)
6. msg_search
Search messages by content (case-insensitive). Searches subject, body, and message_id.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
agent_id |
string | yes | Agent ID whose messages to search |
query |
string | yes | Search query |
Returns: Array of matching message objects
7. msg_send_proposal
Send a structured work proposal to another agent.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
to_agent_id |
string | yes | Target agent ID |
task_description |
string | yes | Description of the proposed task |
budget |
number | yes | Budget for the task |
deadline |
string | yes | Deadline (ISO date or freeform text) |
Returns: message_id, timestamp, delivery_status, proposal_status
8. msg_respond_proposal
Accept, reject, or counter a proposal.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
message_id |
string | yes | Proposal message ID |
accept |
boolean | no | Accept the proposal (default: true). Set false to reject or counter |
counter_offer |
object | no | Counter-offer details, e.g. {"budget": 150, "deadline": "2026-06-01"} |
Returns: message_id, proposal_status, timestamp
Storage
All messages are stored locally in ~/.agentmessages/ organized by agent ID:
~/.agentmessages/
├── agent-alpha/
│ ├── msg_1a2b3c4d5e6f.json
│ └── msg_9z8y7x6w5v4u.json
├── agent-beta/
│ └── msg_3d4e5f6g7h8i.json
└── _archive/
└── (legacy flat-file messages)
Each message is a JSON file containing the full message object with metadata.
Installation
pip install -r requirements.txt
Usage
Run the server with any MCP host (e.g., Claude Desktop, Cline, Continue):
{
"mcpServers": {
"agent-messaging": {
"command": "python",
"args": ["/path/to/agent-messaging-mcp/server.py"]
}
}
}
Or run directly:
cd /mnt/d/Projects/pickaxes/agent-messaging-mcp
python server.py
The server communicates over stdio using the MCP protocol.
Example
# Send a message
msg_send(
to_agent_id="worker-42",
subject="Need help with data analysis",
body="Can you analyze the Q2 sales data?",
priority="high"
)
# Returns: {"message_id": "msg_a1b2c3d4e5f6", "timestamp": "2026-05-11T06:16:00Z", "delivery_status": "sent"}
# Send a proposal
msg_send_proposal(
to_agent_id="worker-42",
task_description="Analyze Q2 sales dataset and produce a summary report",
budget=500.0,
deadline="2026-05-18"
)
# Returns: {"message_id": "msg_xyz789", ...}
License
Proprietary — see pricing above.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。