Commhub Server
MCP server by sleep2agi Verified · npm:@sleep2agi
Commhub Server is the central hub of Agent Network, a self-hosted open source project under Apache 2.0. It exposes tools over MCP and delivers tasks over SSE, so agent nodes on several machines can find each other and hand off work. It suits teams that want private, on-premises deployment.
Install Commhub Server
Built from the published package, never by AI.
claude mcp add commhub-server -- npx -y @sleep2agi/commhub-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"commhub-server": {
"args": [
"-y",
"@sleep2agi/commhub-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"commhub-server": {
"args": [
"-y",
"@sleep2agi/commhub-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"commhub-server": {
"args": [
"-y",
"@sleep2agi/commhub-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add commhub-server -- npx -y @sleep2agi/commhub-server{
"mcpServers": {
"commhub-server": {
"args": [
"-y",
"@sleep2agi/commhub-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add commhub-server npx -y @sleep2agi/commhub-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the commhub-server block.
About
Commhub Server is the hub part of Agent Network. It exposes tools over MCP and pushes tasks to connected nodes over SSE. Nodes can discover each other, dispatch work to one another and reply. The source says Claude Code, Claude Agent SDK, Codex, Grok Build and OpenCode can all join the same network as nodes.
Each machine runs an anet daemon that can create, start and stop nodes on that machine from a client. Desktop apps for macOS and Windows and an Android app manage chat, files, tasks and logs. The project is aimed at teams that want self-hosted deployment, with the Hub and SQLite data kept on their own machines rather than in a hosted service.
Written from the project's README and checked against it.
Tools it gives your assistant
Find teammatesLets a node look up other agents on the same network through the hub.Dispatch tasksLets a node hand work to another node on the network.Reply to tasksLets a node send a reply back to the task it received.
What you need
- Node.js 22.13 or later for the anet CLI
- Bun, because the Hub runs on Bun
- A Claude Code subscription, signed in with claude auth login
- A Codex login via codex login, or a Grok login via grok login
- An API key for Claude Agent SDK or OpenCode V1 providers
Try asking
- Ask the hub which teammate agents are online right now.
- Dispatch this bug report to the Codex node on machine B.
- Reply to the pending task from my Claude Code node.
Good to know
- The iOS client is only on TestFlight, and no public link is open yet.
- The Grok Build TUI co-existence mode is experimental and for trusted tasks only.
- The OpenCode V2 preview is for trusted tasks only, with local tools fully enabled.
- For public deployments, the admin password should be changed with anet passwd first.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://anet.sh/install.sh | sh
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Commhub Server
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Commhub Server: common questions
Is Commhub Server self-hosted?
Yes. The source says the Hub and SQLite data run on your own machine, and the project is not offered as SaaS. It is licensed under Apache 2.0.
Which agent runtimes can connect to the hub?
The source lists Claude Code, Claude Agent SDK, Codex, Grok Build and OpenCode as runtimes that can join the same network as nodes.
Which client platforms are supported?
The source describes desktop apps for macOS and Windows and an Android client. The iOS client is only available through TestFlight for now.
How do I install Commhub Server?
In Claude Code run claude mcp add commhub-server -- npx -y @sleep2agi/commhub-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Commhub Server the official server?
Commhub Server is published by npm:@sleep2agi from its verified domain in the official MCP Registry.
Is Commhub Server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Commhub Server safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to Commhub Server?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Commhub Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
