xats MCP Server
One agent roster and inbox shared by Claude Code, Codex, OpenCode and Pi.
xats scores 70 (Good), licensed MIT and written in JavaScript. It installs as a local process. It does not declare tools yet. Filed under Communication. GitHub shows 7 stars. Package registries report about 201 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
70 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 70 comes from
22 + 20 + 7 + 10 + 4 + 7 = 70. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "abdk4moura-xats-setup": { "command": "npx", "args": [ "-y", "xats-mcp@0.1.4" ], "env": { "XATS_MCP_URL": "", "XATS_PORT": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
XATS_MCP_URL | Optional | Full MCP URL of a running xats daemon. Defaults to http://127.0.0.1:9100/mcp. |
XATS_PORT | Optional | Port of a running xats daemon when XATS_MCP_URL is unset. Default 9100. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Cross-Agent Teams
One roster and one set of inboxes shared by Claude Code, Codex, OpenCode, Pi, and Antigravity.
On Linux, a Claude Code session also sees those agents inside its own ListAgents
and can message them with the native SendMessage tool.
A local daemon, no account, and identities that outlive a single session.
Why this exists
Every host now ships some form of agent coordination inside its own walls, and all of it stops at the vendor boundary. A Claude Code session cannot address a Codex or Pi session.
This project fills that gap. The roster, the inboxes and the message history are shared across hosts, and an identity persists after a session ends, so a resumed agent keeps its address and its unread mail.
If you only ever use one agent, your host's built-in feature is the lower friction choice and you probably do not need this.
Install
npx xats-setup
That is the whole install. It is idempotent, needs no sudo, installs under
~/.xats, and requires Node 20 or newer.
Claude Code users can also install the plugin, which draws mail as native UI:
/plugin install xats --marketplace Abdk4Moura/xats-setup
For a stdio-only MCP client, npx -y xats-mcp bridges stdio to the running
daemon. The listing in the official MCP Registry is io.github.Abdk4Moura/xats.
Starting with 0.3.15, supported interactive Claude sessions use connected
local-first delivery by default. No feature flag is needed after upgrading the
daemon and Claude integration and restarting Claude. Compatibility polling is
available with XATS_LOCAL_DELIVERY=0 claude.
Flags, the interactive picker, upgrades, reset, and Windows or WSL notes are in docs/installation.md.
Prove it works
Three runnable checks on your own machine, from one command to two different agent vendors exchanging a message, with real output: docs/prove-it-works.md.
npx xats-setup --only=daemon,service
node scripts/demo.mjs
The same walkthrough with the demo is at abdk4moura.github.io/xats.

Two real sessions, a pi agent on the left and Claude Code on the right, coordinating over the local bus. Not a mockup and not scripted. Idle time is compressed for playback; nothing is staged.
What it does
| Component | Result |
|---|---|
daemon | The owned daemon, with its runtime dependencies under ~/.xats/daemon |
service | Starts the daemon at login or boot (systemd, launchd, Scheduled Task) |
claude | SessionStart and SessionEnd hooks, MCP entry, skill, native status band and /xats pane |
codex | Hooks plus MCP entry and skill; mail arrives as developer context on the next turn |
agy | Native Antigravity plugin, skill, and stdio MCP tools |
pi | Extension and skill that draw a themed xats-inbox card |
opencode | Plugin, skill and a TUI badge with a /xats panel; the v2 API is selected when detected |
mimocode | Legacy plugin and skill |
peer | Stage 1 direct HTTPS peering and mDNS discovery, listener off until enabled |
bridge | Legacy Node bridge for the Filament mesh, joined as a separate step |
omp | Included, loading not yet verified: treat as experimental |
Mail is never presented as something you typed. Each host draws it natively, and the model receives it as plugin-attributed content rather than as your words. The per-host details are in docs/hosts.md.
Identity is per session, not per box. Two OpenCode tabs in the same directory
get distinct identities and inboxes. Pin a prefix with XATS_NAME, or claim a
name at runtime with xats_claim_name. The daemon is the authority: it
disambiguates a colliding name and refuses an exact claim that a live agent holds.
Limits
Stated plainly, because they matter more than the feature list:
- The daemon binds loopback only. Peering is a separate service, and its listener stays off until you enable it.
- Stage 1 peering is direct transport authentication, not signed per-message envelopes or internet federation. It cannot traverse a firewall or NAT that blocks direct IP connectivity.
- Codex has no render API, so it gets no badge and mail arrives on its next turn rather than interrupting the current one.
- OMP support is unverified.
- This is a new project with a single maintainer. The demo, the tests and the CI are real; the age is not.
The longer version, including the security posture, is in docs/limits.md and docs/SECURITY.md.
Docs
| Document | Contents |
|---|---|
| docs/installation.md | All flags, picker, upgrade, reset, Windows and WSL |
| docs/prove-it-works.md | Two runnable proofs, with real output |
| docs/hosts.md | How each host draws mail and delivers it to the model |
| docs/identity.md | Mailbox identity, presence, and unambiguous Name [ref] addressing |
| docs/tools.md | Which tool to call for identity, inbox, and sending, and which are internal |
| docs/limits.md | What it does not do, and why |
| docs/stage1-networking.md | Direct peer transport in depth |
| docs/SECURITY.md | Threat model and reporting |
License
MIT. See LICENSE.
Frequently asked questions
What is xats MCP Server?
One agent roster and inbox shared by Claude Code, Codex, OpenCode and Pi.
How do I install xats MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. xats MCP Server runs locally from the npm package xats-mcp with the command npx -y xats-mcp@0.1.4.
Is xats MCP Server free and open source?
Yes. xats MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does xats MCP Server support remote (HTTP) connections?
No remote endpoint is listed for xats MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is xats MCP Server's trust score calculated?
xats MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.