Agent Mesh logo

Agent Mesh

Coordinates parallel agents with messaging, receipts, routing, health checks, and quorum-based decisions over MCP.

Install Agent Mesh

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agent-mesh": {
      "command": "npx",
      "args": [
        "-y",
        "--package=meshfleet",
        "--",
        "agent-mesh"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y --package=meshfleet -- agent-mesh

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The agent-mesh MCP server coordinates independent agent processes into fleets with peer messaging, witnessed delivery receipts, and quorum-based ratification. It exposes MCP tools for spawning and attaching agents, collecting results, routing work, monitoring health, and auditing the ledger. OpenCode is the primary supported host, while configured runtimes can include other command-line workers. Reach for it when a task benefits from parallel specialists and an inspectable record of communication and approvals.

Use cases

  • Spawn parallel specialists for repository exploration and implementation
  • Route tasks to agents by registered roles and skills
  • Record peer communication with per-recipient receipts
  • Run quorum-based reviews with required sign-offs
  • Audit fleet events and ledger consistency

Key features

  • Parallel fleet spawning with independent OS processes
  • Peer-to-peer messaging with witnessed receipts
  • Quorum ratification and recorded voting
  • Role-based routing and capability registration
  • Fleet-wide SSE event subscriptions
  • Ledger and build-identity verification

Tools32

What Agent Mesh lets your agent do. Expand a tool for its parameters.

Self-reported~1.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 47d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · agent-mesh (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads15Package downloads in the last 30 days.
Last commit12d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed32Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Agent Mesh works

What agent-mesh MCP server does

The agent-mesh MCP server organizes multiple workers into fleets of independent operating-system processes. A fleet can contain agents with separate roles and prompts, and may use the default OpenCode runtime or an operator-configured runtime. Agents can work in parallel, exchange messages, ask questions, and return final results for collection.

Coordination actions are recorded in a ledger. Messages create per-recipient delivery records, including delivery, viewing, and acknowledgement state. Decisions can be opened as ratifications with a quorum, deadline, required sign-offs, and optional voter weights. Agents can cast or change their effective vote, while the underlying history remains recorded.

The project is an MIT-licensed core and is deliberately pre-1.0. Its stated boundary excludes provider-account management, credentials, billing, spending authority, external publication, and managed policy.

How it works

Use spawn_fleet to start a set of agents, or spawn_from_template to create one from a saved configuration. Templates can be versioned and reused. attach_agent adds a premade agent to an active fleet. Fleet state, health, timeouts, and final outputs are available through dedicated tools.

Agents communicate through direct or broadcast messages. send_messages provides atomic batches of up to 1,000 messages. Consumers can poll with get_inbox, which acknowledges received messages, or subscribe through server-sent events with subscribe_inbox. subscribe_events provides a fleet-wide event stream, optionally filtered by fleet.

The agent-mesh MCP server supports operational checks through ledger verification, build-identity reporting, and health inspection. The versioned verifier variants use read-only snapshots and return consistency information; they do not add ledger writes. Routing tools can match work against registered roles and skills, record outcomes, or produce advisory candidate projections without executing providers.

Setup and configuration

The published package is named meshfleet, not agent-mesh. Install it globally with npm install -g meshfleet, or clone the repository, install dependencies, and build it with npm install && npm run build.

For the published package, configure an MCP host to run npx -y meshfleet as a local server, then restart the host. The documented primary host is OpenCode. A source checkout can instead run its built dist/index.js entrypoint, but the source-checkout configuration is intended for development rather than release use.

The package includes a no-key demonstration command that uses a temporary ledger. A configured ledger can be inspected with the package explicitly selected through npx. MESHFLEET_DB_FILE can point to another ledger file when an existing database was created by a newer package version.

Runtime selection is operator-controlled. OpenCode is the default. Other runtimes require their own configuration; some require an absolute command, a version label, and an opaque workspace binding. Model selectors use the provider/model form where supported.

Tools and capabilities

  • Spawn fleets, load saved fleet templates, attach agents, and set fleet-specific timeouts.
  • List fleet and agent state, collect final outputs, and inspect health or build identity.
  • Send direct, broadcast, or batched peer messages and receive them by polling or SSE.
  • Write, query, and verify witnessed-delivery records.
  • Open ratifications, cast votes, and resolve quorum decisions.
  • Register agent capabilities, route work, recommend routes, and record routing outcomes.
  • Discover premade agent personalities and run bounded peer discussions with ask_peer and wake_agent.

Limitations and notes

The agent-mesh MCP server does not itself provide provider credentials, account operations, billing information, quota data, authentication claims, or external attestation. Runtime wrappers own their authentication, and the server passes a scrubbed environment rather than reading or serializing credentials.

OpenCode is the first-class host described by the project. The core uses standard MCP, but broader host support is presented as demand-driven rather than guaranteed by the README. The project should therefore be tested with the intended MCP client and configured runtime before production use.

The source-only local-demo runtime is a deterministic worker for demonstrations and is not included in the published package. It does not silently replace failed real agents. Cryptographic signing and auditor-grade attestation belong to a separate paid layer, while coordination and verification remain part of the MIT core.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agent Mesh

agent-mesh is an MCP server that connects an MCP host with coordinated agent fleets and configurable runtimes. Its main tools spawn and attach agents, send peer messages, collect results, record witnessed receipts, route work, monitor health, verify the ledger, and run quorum-based ratifications. OpenCode is the primary documented host.

Install the published package with `npm install -g meshfleet`, then configure your MCP host to run `npx -y meshfleet`. You can also clone the repository, run `npm install && npm run build`, and launch the built server from the source checkout.

Call `spawn_fleet` with an array of agent definitions containing roles and prompts. Each entry can use the default OpenCode runtime, or an operator-configured runtime with its required settings. Use `spawn_from_template` when the fleet configuration has already been saved.

Each message creates per-recipient receipt records in the ledger. Use `get_inbox` to poll and acknowledge messages, or use the SSE subscription tools for push delivery. The `receipt` and ledger verification tools let you query and check those records.

The project documents OpenCode as its primary host and does not specifically document Cursor. Its core is a standard MCP server, so compatibility should be tested with the target client and its runtime configuration rather than assumed.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgent Mesh AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agent-mesh?style=directory)](https://allmcps.com/mcp/agent-mesh)
HTML Embed
<a href="https://allmcps.com/mcp/agent-mesh"><img src="https://allmcps.com/api/badge/agent-mesh?style=directory" alt="Agent Mesh on AllMCPs" /></a>