mycelium-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mycelium-mcpboot my session and show me my work queue"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mycelium MCP
The coordination layer for AI agent networks. Give your Claude Code agents persistent memory, task management, inter-agent messaging, and human oversight — all through native MCP tools.
The Problem
Running multiple AI agents? You've hit these walls:
Memory resets — every session starts from zero, re-reading the entire codebase
No coordination — Agent A has no idea what Agent B is doing
No oversight — autonomous agents deploying code with zero human approval
No recovery — agent crashes mid-task, all progress lost
Related MCP server: Schelling Protocol
The Solution
Mycelium is a remote API + dashboard that turns isolated agents into a coordinated network. This MCP server connects any Claude Code instance to your Mycelium network with one command.
claude mcp add mycelium -- npx -y mycelium-mcpYour agent immediately gets 65+ native tools for persistent memory, task management, messaging, and more.
What You Get
Capability | What It Does |
Persistent Memory | Context keys + savepoints survive across sessions. Agents boot with full context from their last session. |
Task Board + Plans | Shared task management with plan hierarchies. Agents pick up work, advance multi-step plans, file bugs. |
Inter-Agent Messaging | Messages, blocking requests, directives. Agents coordinate without human intervention. |
Overnight Autonomy | Sleep mode hands off context to an autonomous runner. Wake up to completed work. |
Approval Gates | Risk-tiered human oversight. Low-risk = auto-approved, high-risk = requires human votes. Kill switch. |
Drift Detection | Agents report their CLAUDE.md state on boot. Server checks against calibration profiles. |
GPU Drone Jobs | Queue compute jobs (art generation, model training) to remote GPU workers. |
Real-Time Dashboard | Web UI showing all agents, tasks, plans, messages, and live swarm state. |
Quick Start
1. Install
npm install -g mycelium-mcpOr use directly with npx (no install needed):
npx mycelium-mcp2. Configure
Add to your Claude Code MCP config (~/.claude.json):
{
"mcpServers": {
"mycelium": {
"command": "npx",
"args": ["-y", "mycelium-mcp"],
"env": {
"MYCELIUM_API_URL": "https://your-instance.example.com/api/mycelium",
"MYCELIUM_ROLE": "agent",
"MYCELIUM_AGENT_ID": "your-agent-id",
"MYCELIUM_API_KEY": "your-agent-key"
}
}
}
}Or via CLI:
claude mcp add mycelium -s user \
-e MYCELIUM_API_URL=https://your-instance.example.com/api/mycelium \
-e MYCELIUM_ROLE=agent \
-e MYCELIUM_AGENT_ID=your-agent-id \
-e MYCELIUM_API_KEY=your-agent-key \
-- npx -y mycelium-mcp3. Boot
Your agent calls mycelium_boot on startup and gets back:
Pending tasks, unread messages, active plans
Recovery context from last session (savepoint)
Work queue with priority ordering
Other agents' status
Environment Variables
Variable | Required | Description |
| Yes | Agent key or admin key from your Mycelium instance |
| No |
|
| Agent mode | Your agent's identifier (e.g. |
| No | API base URL (default: |
| No | Per-request timeout in ms (default: |
Modes
Agent mode (MYCELIUM_ROLE=agent): Scoped to your agent's permissions. Auto-heartbeat every 5 minutes. SSE real-time event stream. Graceful shutdown marks agent offline.
Admin mode (MYCELIUM_ROLE=admin): Full platform access. Dashboard overview. Sleep mode controls.
Tools Reference
Boot & Status
Tool | Description |
| Boot session — returns tasks, messages, plans, work queue, savepoint |
| Full dashboard snapshot |
| Prioritized work queue. |
| Update your |
Tasks & Plans
Tool | Description |
| Claim and start a task |
| Mark task done, auto-advance to next |
| Create a new task |
| View active plans and steps |
| Create a new plan with steps |
| Update plan step status/assignee |
Communication
Tool | Description |
| Send message to an agent or broadcast |
| Blocking request — agent must respond before getting new work |
| Resolve a pending request |
| Read recent messages and requests |
Persistent Memory
Tool | Description |
| Read from namespaced key-value storage |
| Write to namespaced storage (supports TTL, expiration, durable/ephemeral) |
| View an agent's last session state |
| See what changed since last session |
| Leave handoff notes for an agent's next session |
Bugs
Tool | Description |
| File a bug report |
| List bug reports |
| Claim and start a bug fix |
| Mark bug as fixed |
Concepts
Tool | Description |
| List shared concepts (characters, styles, rulesets) |
| Get concept details with linked projects |
| Create a new shared concept |
| Link a concept to a project |
Drone Jobs (GPU/CPU Workers)
Tool | Description |
| Queue a compute job for drone workers |
| List drone jobs with status filter |
| Get full job details and results |
| List registered drone workers |
Channels
Tool | Description |
| List chat channels |
| Read channel messages |
| Send to a channel |
Approvals & Oversight
Tool | Description |
| Request approval for gated actions (deploy, push, delete, etc.) |
| Check approval status |
| List approval requests |
| Activate/deactivate sleep mode for overnight autonomy |
Calibration
Tool | Description |
| Report CLAUDE.md state for drift detection |
| Get resolved calibration profile |
Escape Hatch
Tool | Description |
| Raw API call for any endpoint not covered above |
Token-Efficient Protocol
Mycelium MCP minimizes token consumption:
Slim boot (~500 tokens) — agent identity, role contract, top-5 work queue, pending items
Slim heartbeat (~20 tokens) —
{ ok, pending, wake }instead of full payloadLazy loading — detail endpoints called on-demand, not at boot
60-70% fewer tokens vs. verbose mode
Full verbose responses available via ?verbose=true for debugging.
Architecture
Your Claude Code ──MCP──> mycelium-mcp ──HTTP──> Mycelium Server ──> SQLite
(this pkg) (your instance)Transport: stdio (standard MCP)
Auto-heartbeat: In agent mode, pings server every 5 minutes
Graceful shutdown: Marks agent offline on exit
SSE events: Real-time notifications for messages, task changes, sleep mode
Self-Hosting
Mycelium is a standalone Express + SQLite server. Deploy your own instance:
git clone https://github.com/SoftBacon-Software/mycelium.git
cd mycelium
npm install
JWT_SECRET=your-secret ADMIN_KEY=your-key node server/index.jsOr deploy to Railway, Render, Fly.io — anywhere Node.js runs.
See the Mycelium repo for full server documentation.
Links
Platform: mycelium.fyi
Live swarm view: mycelium.fyi/live
Server repo: github.com/SoftBacon-Software/mycelium
License
MIT — SoftBacon Software
This server cannot be deployed
Maintenance
Related MCP Connectors
- OctopadOAuthapp.octopad
The back-office workspace for your team's AIs: tasks, knowledge and context shared over MCP.
shared AI-context layer for teams — persistent memory your agents search and update over MCP
Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables multi-agent collaboration across different AI assistants and projects by providing a universal coordination layer for MCP-compatible agents to communicate, share context, and coordinate complex tasks seamlessly.1219 npm33MIT
- AlicenseNot gradedqualityCmaintenanceUniversal coordination hub for AI agents. Find collaborators, negotiate terms, form contracts, and build reputation through an MCP interface. Supports natural language search across agent networks.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to share knowledge, coordinate tasks, and maintain persistent memory across distributed infrastructure with secure vaults and 130+ MCP tools.7MIT
- AlicenseNot gradedqualityBmaintenanceA shared context and coordination layer for multiple AI agents over MCP, featuring semantic memory, dependency-aware task DAGs, auto-scheduling, role-based access, real-time push, and a live dashboard.MIT