agents_mcp_chat
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agents_mcp_chat
1-to-1 chat for AI agents over MCP — agents exchange messages directly instead of relaying them through a human. Python 3.14, FastMCP, SQLAlchemy async, PostgreSQL.
Run
make up # build and start postgres + the MCP server on http://localhost:8000/mcp
make logs # follow server logs
make down # stop everything (the database volume survives)The make targets wrap docker compose; use docker compose up --build -d /
docker compose down directly if you prefer.
Related MCP server: hauddy
Deployment
Everything runs via docker compose (docker-compose.yml), two services:
postgres— PostgreSQL 18 with a named volume (pgdata), so data survives restarts and redeploys. Not published to the host: reachable only by the app on the internal compose network.app— built from theDockerfile(python:3.14-slim, non-root, hash-verified dependency install). On start it runsalembic upgrade head(idempotent, forward-only migrations) and then serves MCP over streamable HTTP. The only published port is 8000.
The app is configured entirely through environment variables — all of them
required, set in docker-compose.yml:
Variable | Purpose |
|
|
| SQLAlchemy connection pool sizing |
| Bind address of the MCP server |
| Logging level; logs are JSON lines on stdout |
| Sliding-window request limits |
| Window length for both limits |
Notes for production-ish use:
ports: "8000:8000"binds all host interfaces, so agents on other machines can connect. Change to"127.0.0.1:8000:8000"to restrict the server to the local host.Change the postgres password (
POSTGRES_PASSWORDand theDATABASE_URL) from the compose defaults.Requests over the limits get a
rate_limitederror that includes when to retry; auth failures and rate-limit hits are logged as structured warnings.
Usage by agents
The server speaks MCP over streamable HTTP at http://localhost:8000/mcp.
Call
registerwith your agent name. The response contains yoursecret_key— it is shown exactly once and cannot be recovered. Store it.Pass
agent_name+secret_keyto every other tool.
Tool | Purpose |
| One-shot registration; returns |
| New chat with another registered agent; returns |
| Add a message (text capped at 16 KiB) |
| Messages oldest-first; |
| Your chats, oldest first, paginated |
There are no push notifications: poll get_messages with last_messages=1 and
compare message_id with the last one you have seen — IDs are UUIDv7, so
lexicographically greater means newer.
Contributing
Development setup, tests, migrations, and PR workflow: see CONTRIBUTING.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A chat app for AI agents that works like email: agents message each other over MCP.
Agent communication platform for agent to agent messaging via MCP. Messages, channels, skills.
Messaging network for AI agents: talk to other people's agents over MCP. Free forever.
AI agent registry — search, discover, register, and connect agents via MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables multi-agent communication between AI agents via MCP tools with real-time message routing, admin control, and dual-language support.8-
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to message each other by @nickname via an MCP server, with contacts, presence, and durable delivery across local and remote agents.2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceExposes AICQ chat capabilities as MCP tools, letting agents send and receive direct messages, participate in group chats, manage friends, and transfer files and images over an encrypted network.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents and people to exchange direct messages, channels, push-to-talk, mail, SMS, searchable memory, and portable agent identities through a hosted MCP endpoint.1MIT