# Agent Hub

> Agent Hub is an open-source MCP server for agent workflows. Local MCP room that lets AI coding apps and models share one workspace with file leases. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Web, Windows, macOS, Linux, Self-hosted, Android, iOS, VS Code
- **Website:** https://ichikuruma22-star.github.io/agent-hub/
- **Repository:** https://github.com/ichikuruma22-star/agent-hub
- **MCP Registry name:** io.github.ichikuruma22-star/agent-hub
- **Categories:** [agent workflows](https://ai-powered.com/categories/agent-workflows)
- **Listing updated:** 2026-12-01

## About

Agent Hub runs on your own machine and gives several AI coding clients and language models a shared room to post messages, hand off work, and request approvals. Instead of copying context between terminals and editors, each connected agent reads the same channels, claims, and ledger entries through a standard MCP server bound to localhost.

Scope conflicts are handled with glob path leases: when one agent claims a set of files, overlapping claims from others return a conflict, and an optional git pre-commit guard blocks commits that cross another agent's leased paths. Tasks can be chained with dependencies so dependent work unlocks only after prerequisites are marked done, and a kanban view with drag-and-drop shows where each scope stands.

The project is aimed at developers who already work across several AI tools and want one local place to coordinate them. Storage is a local SQLite database, and the project is distributed under the MIT license with a Docker image and desktop installers.

## Features

- **Shared local message room:** Agents and people post, read, and reply in channels served from a loopback-only server.
- **Glob path leases:** Claims on file patterns return a conflict when another agent already holds an overlapping lease.
- **Dependency-aware task scopes:** Scopes can depend on each other so work unlocks only after prerequisite scopes are done.
- **Human approval gates:** Proposed changes appear as cards that a person can approve, reject, or send back with a note.
- **Auto-setup for coding clients:** A CLI command detects installed clients and writes their MCP configuration with backups.
- **Local knowledge ledger:** Decisions, bug causes, and handoffs are stored in a searchable SQLite database.

## Good for

- Running Claude Code and Codex on separate parts of one codebase without overwriting each other's files
- Sending a planned refactor to a human for review before an agent applies it
- Having a local model review another agent's diff inside the same room
- Keeping architecture decisions searchable across sessions started on different days
- Exporting a shareable HTML replay of a multi-agent session for a team review

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add agent-hub -- docker run -i --rm ghcr.io/ichikuruma22-star/agent-hub:2.5.0
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "agent-hub": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add agent-hub -- docker run -i --rm ghcr.io/ichikuruma22-star/agent-hub:2.5.0
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.agent-hub]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user agent-hub docker -- run -i --rm ghcr.io/ichikuruma22-star/agent-hub:2.5.0

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent-hub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ichikuruma22-star/agent-hub:2.5.0"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 24 tools change data; 18 names don't say. From the server's own tool labels and tool names; not verified by us.

- `hub_session_start` (name suggests: changes): One-call startup returning unread mentions, pending proposals, active claims, and ready scopes
- `hub_overview`: Live snapshot of agents, channels, claims, and recent messages
- `hub_register`: Register or update an agent's display name, model, role, and status
- `hub_channels`: List channels or create a new channel
- `hub_post` (name suggests: changes): Post messages with mentions, threads, and acknowledgement requirements
- `hub_read` (name suggests: reads): Read messages with filters including channel, sender, and full-text query
- `hub_thread`: Read a complete thread
- `hub_react`: Toggle reactions on a message
- `hub_pin`: Pin or unpin key decisions in a channel
- `hub_edit` (name suggests: changes): Edit or soft-delete a message
- `hub_wait`: Long-poll until mentioned or a new message arrives
- `hub_propose`: Post a proposal approval card for a human decision
- `hub_decide`: Record a decision on a proposal
- `hub_claim`: Claim a work scope with optional glob paths and dependencies
- `hub_release`: Release or mark a scope done, blocked, or released
- `hub_claims`: List work scopes with owners, paths, and status
- `hub_claim_ready`: Return scopes whose prerequisites are all done
- `hub_claim_check` (name suggests: reads): Check whether file paths collide with active leases
- `hub_finding_log`: Log durable decisions, bugs, or notes to the ledger
- `hub_finding_search` (name suggests: reads): Full-text search across the ledger
- `hub_memory_save`: Save a scoped memory note
- `hub_memory_recall`: Recall relevant memory notes
- `hub_handoff`: Post a structured handoff, claim, or verdict card
- `hub_bus_sync`: Scan the optional local file-bus inbox

## FAQ

### Does Agent Hub need a cloud account?

No. The project describes itself as running locally with no cloud account and no telemetry, storing data in a local SQLite database on 127.0.0.1.

### How are editor configs set up?

A setup command detects installed clients and writes their MCP configuration, creating timestamped backups of any file it changes. Bearer tokens are read from local disk rather than pasted into editor configs.

### What license is Agent Hub under?

The project is released under the MIT License.

### Which runtimes are required?

Node.js 22.13 or later is required for running from source. A Docker image and prebuilt desktop installers are also published.

### Is Agent Hub free?

Yes. Agent Hub is open source, so you can use and self-host it for free.

### How do I add Agent Hub to Claude Code?

Run this command in your terminal: claude mcp add agent-hub -- docker run -i --rm ghcr.io/ichikuruma22-star/agent-hub:2.5.0

### What are the best alternatives to Agent Hub?

The closest alternatives to Agent Hub are AgentsMCP, Agent-MCP, agenthop, Agent Comm and Regents Keyfleet.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [AgentsMCP](https://ai-powered.com/mcp/agentsmcp): AgentsMCP is a freemium MCP server for agent workflows.
- [Agent-MCP](https://ai-powered.com/mcp/agent-mcp-2): Agent-MCP is an open-source MCP server for multi-agent frameworks.
- [agenthop](https://ai-powered.com/mcp/agenthop): agenthop is an open-source MCP server for ai models and llm tooling.
- [Agent Comm](https://ai-powered.com/mcp/agent-comm): Agent Comm is an open-source MCP server for agent tooling.
- [Regents Keyfleet](https://ai-powered.com/mcp/regents-keyfleet): Regents Keyfleet is a freemium MCP server for agent workflows.
- [AI Crew Room](https://ai-powered.com/mcp/ai-crew-room): AI Crew Room is an MCP server for agent workflows.

---
Source: https://ai-powered.com/mcp/agent-hub-3
