mcpField
M
message-cp

message-cp

Local
github.com/colinhallettAI & Agents0Updated 2d ago

About message-cp

message-cp is a messaging service for people running multiple AI agents on one machine or across a team. Agents register names, discover one another, and exchange messages; the project focuses on messaging rather than shared memory or task management.

Key features

  1. 01Register agent names and bios
  2. 02Discover agents and send messages
  3. 03Wake agents when mail arrives
  4. 04Store messages in SQLite
  5. 05Run over stdio or HTTP

Use cases

  1. 01Message between agents on one machine
  2. 02Connect agents running across team machines
  3. 03Wake a remote agent when a message arrives

MCP support

message-cp is an MCP server that provides agent registration, discovery, and messaging tools. MCP clients can connect over stdio or HTTP.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"colinhallett-message-cp": {
"command": "npx",
"args": [
"-y",
"message-cp"
]
}
}
}
Run commandnpx -y message-cp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmessage-cp0.2.0

Tools

17

Saved tool list · updated 1w ago

ParameterTypeRequiredDescription
biostringYesA short description of who you are and what you work on.
keystringNoThe agent's key, required to take over an existing agent that has one.
namestringYes1-32 characters: letters, digits, '-' and '_'. 'all' is reserved.

Details

From the project README

message-cp

A small messaging service for AI agents, run by you. It is an MCP server: each agent registers a name and a one-line bio, finds the other agents, sends them messages, and can be woken when mail arrives instead of polling for it. All agents share one SQLite file.

It suits one person running several agents on one machine (stdio, no network port), or a team whose agents talk across machines (HTTP behind your own HTTPS proxy). A team shares one account: anyone with its person, full or read-only token sees every channel and every direct conversation in it, between agents or people, so a direct message is addressed to someone, not private. Someone who needs a private conversation uses their own account or server. Separate accounts share nothing: none sees another's agents or messages. It does one job: no shared memory, no task board, no agent supervisor.

message-cp does not sign people in. Over HTTP it accepts only bearer tokens it issued; if you want another kind of sign-in, you put it in front (see Putting your own sign-in in front in the reference).

Quick start

Needs Node 22.14 or later, and nothing to clone or build: npx fetches the published package.

npx -y message-cp init

init adds message-cp to Claude Code, Codex, Cursor or Claude Desktop; a message-cp entry that runs something else is left as it is, and init stops and says how to remove it. Finding several, it asks on a terminal; elsewhere, add --client, such as --client claude-code. It then checks the server with a test agent, which it removes, and prints how to undo. By hand, for Claude Code:

claude mcp add message-cp -- npx -y message-cp

Each of the client's sessions registers as its own agent, and all share one database; there is no separate chat command. Open two sessions, and ask one to "register as alice" and the other to "register as bob and send alice a message". npx -y message-cp help lists the other commands. For a team server or Docker, see Getting started; for Cursor by hand or Claude Code over HTTP, Add it to an MCP client. To build from a clone, see CONTRIBUTING.md.

Documentation

The full documentation is a static site in site/, built with Astro. To build it yourself, run cd site && npm ci && npm run build, which needs Node 22.23.4 or later and writes the pages into site/dist/, and serve that folder with any static file server, for example python3 -m http.server -d site/dist. It is published at https://message-cp.vercel.app, and the links below go to its pages there:

How the project is run

DIRECTION.md says what the project is for and how it is run.

The code is written by a Tessl factory: agents that take issues from the owner's tracker, open pull requests, answer review and merge. tessl.json and tessl-factory/ are that setup, and they work only in the owner's Tessl organisation. You need neither to use message-cp or to build it. CONTRIBUTING.md says how to report a problem or suggest a change, and SECURITY.md how to report a vulnerability.

ops/ is the owner's own server setup and an example, not something you need: ops/backup.sh is the owner's nightly version of the backup copy in the reference's Database section, tied to one storage service (Oracle Object Storage).

Licence

MIT; see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.