mycelium-mcp
Click on "Install 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
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: |
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SoftBacon-Software/mycelium-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server