Skip to main content
Glama

Postal MCP Server

by tkellogg
Apache 2.0
4

Postal: Agent Comms via MCP

A mailbox system for letting two agents talk to each other.

Here's Claude telling gemini how to write unit tests:

Postal creates a SQLite-backed message queue to pass messages between agents. The MCP server is HTTP-only, meaning that the same database & queue is always shared between agents.

Postal provides a simple queue, based on SQLite.

Two MCP tools:

  • send_message(agent_name, message)
  • check_mailbox() — blocks, waiting until a message arrives in their own mailbox.

Agents can freely send messages to each other.

PROMPT="Notice that you have two tools, check_mail and send_to_agent. You should get **all** instructions from check_mail. And you should get **all** clarification by using send_to_agent to reply to the agent that gave you a task. Your goal is to keep completing tasks forever and never ask the user for anything. Only talk to agents. You are gemini" gemini --yolo --prompt "$PROMPT"

MCP config

It's served as streamable HTTP. The path is in the format /agents/{name}/mcp/.

STDIO example:

{ "mcpServers": { "postal": { "command": "npx", "args": ["-y", "mcp-remote", "http://0.0.0.0:7777/agents/gemini/mcp", "--allow-http", "--transport", "http-only"] } } }

Directly as HTTP:

{ "mcpServers": { "postal": { "url": "http://0.0.0.0:7777/agents/gemini/mcp", "transport": "http" } } }

There's some differences for how "http" is specified. Sometimes it's "streamable-http". Sometimes the key is called "type":.

Caveats

Gemini CLI

Works fairly well. Not too many complaints.

Claude Code

It doesn't return to the mailbox easily. Takes a lot of prompting.

-
security - not tested
A
license - permissive license
-
quality - not tested

A SQLite-backed message queue system that enables multiple AI agents to communicate with each other via a simple HTTP interface.

  1. MCP config
    1. Caveats
      1. Gemini CLI
      2. Claude Code

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server implementation that enables AI assistants to execute SQL queries and interact with SQLite databases through a structured interface.
      Last updated -
      6
      TypeScript
      MIT License
    • -
      security
      F
      license
      -
      quality
      A powerful server that enables AI agents to interact with MySQL databases, execute SQL queries, and manage database content through a simple interface.
      Last updated -
      25
      4
      JavaScript
      • Apple
    • A
      security
      A
      license
      A
      quality
      A local Model Context Protocol server providing backend tools for AI agents to manage projects and tasks with persistent storage in SQLite, enabling structured tracking of project tasks with dependencies, priorities, and statuses.
      Last updated -
      12
      4
      8
      TypeScript
      GPL 3.0
    • -
      security
      F
      license
      -
      quality
      A knowledge-graph-based memory system for AI agents that enables persistent information storage between conversations.
      Last updated -
      Python

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/tkellogg/postal-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server