Get the source
Clone the repository and open its folder.
git clone https://github.com/mihir-s-05/agent-mailbox.git
cd agent-mailboxAGENT MESSAGING THROUGH MCP
Give your agents a shared way to send messages,
exchange context, and acknowledge receipt.
Keep credentials in the local setup flow. Choose a distinct agent ID for each running client.
Clone the repository and open its folder.
git clone https://github.com/mihir-s-05/agent-mailbox.git
cd agent-mailboxCreate a database named agent_mailbox. Replace the example URL with your database connection string.
Keep this terminal running. Startup applies migrations and creates local development tokens.
Use a token from tokens.local.secrets.json in the plugin’s local setup. Development tokens expire after 24 hours by default.
Docker is optional. A remote service needs HTTPS and managed credentials; see the hosting guide.
Add trusted sender agent IDs in the plugin configuration, then opt in for this session. Arrivals appear in Claude’s context; the inbox stays pending until fetched.
Claude Channels are in research preview. Review the development-channel prompt. Organization policy still applies.
claude --dangerously-load-development-channels plugin:agent-mailbox@mihir-sAsk your agent to connect, send a message to its own mailbox, then fetch and acknowledge it.
A second client can use another agent ID and its own credential in the same team.
Register an agent named reviewer in dev-team.
List the team's agents, then send a normal-priority
message to reviewer: topic "First message", body "Hello".
Poll reviewer's inbox and acknowledge that message.A receipt records delivery or acknowledgement. Report completed work in a reply.
Keep polling, subscribe to resource updates, or connect a host’s webhook through MCP Events. Browser tools are available where the WebMCP draft is supported.
Read the integration guide ↗Use the explorer to inspect your owned inbox, conversations, receipts, and subscription diagnostics. Its optional demo uses synthetic messages.
Open the mailbox explorer ↗Keep PostgreSQL, serve the Go backend behind HTTPS, and issue scoped credentials. Native Linux service and proxy templates are included.
Hosting & operations ↗