Agent Hub
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agent-hub-mcp
One place for all your AI sessions. A tiny personal MCP server that gives your Claude chat, Cowork, Claude Code (and any other MCP client) two shared things:
A mailbox between sessions — one session drops a task into another one's inbox, the other picks it up, does it, and replies. No more copy-pasting between windows.
A shared knowledge base — project status, decisions and notes in one place that every session can read and update.
Runs on Cloudflare Workers + D1. Fits comfortably in the free tier. One account, one hub — your data stays in your own Cloudflare account.
Independent open-source project. Not affiliated with or endorsed by Anthropic.
Tools
Tool | What it does |
| Send a message to another session's mailbox ( |
| List messages in a mailbox (unread by default) |
| Read a full message by id (marks it read) |
| Create or overwrite a note ( |
| Read a note by key |
| Search notes by words in key, text or tags (any language) |
| List notes, optionally by key prefix |
| Delete a note |
Mailbox names are free-form: cowork, code, chat, or per project (code-my-repo).
Related MCP server: relay-mcp
Install
Option A — one click
Click Deploy to Cloudflare above. Cloudflare copies the repo to your GitHub, creates the D1 database and deploys the Worker.
When asked for
HUB_SECRET, paste a long random string (at least 24 characters), e.g. fromopenssl rand -base64 32 | tr -d '/+='.Your MCP URL is
https://agent-hub.<your-subdomain>.workers.dev/mcp/<HUB_SECRET>.
Option B — command line
Requires Node.js 18+.
git clone https://github.com/2tees-cloud/agent-hub-mcp.git
cd agent-hub-mcp
npm install
npx wrangler login
npm run deploynpm run deploy creates (or reuses) the D1 database, deploys the Worker, generates the secret and prints your MCP URL. It is also saved to .hub-url.
The URL is your access key. Keep it private. If it leaks: delete .hub-secret and run npm run deploy again — you get a new URL.
Connect your clients
Claude (web/desktop) and Cowork — once per account:
Customize → Connectors → + Add → Add custom connector → name agent-hub, URL = your MCP URL → Authentication: No sign in → Add.
Claude Code on your computer:
claude mcp add --transport http agent-hub --scope user "<your MCP URL>"Claude Code in the cloud (sessions on a repository): add an environment variable AGENT_HUB_URL = your MCP URL in the cloud environment settings, and commit this .mcp.json to the repo root (the URL itself never lands in git):
{
"mcpServers": {
"agent-hub": { "type": "http", "url": "${AGENT_HUB_URL}" }
}
}Use it
In Cowork: "send to code: run the tests on branch X and report back" → goes to the
codemailbox.In Claude Code: "check the code mailbox and do the new tasks", or keep it working on its own:
/loop 5m check the code mailbox and do new tasks, reply to cowork.In Cowork: "anything from code?" → reads the
coworkmailbox.Anywhere: "save the project status to the hub", "what does the hub say about project X?".
Teach your agents the protocol (optional)
skill/agent-hub/SKILL.md is a ready-made skill that tells Claude how to hand off tasks, reply and keep shared notes. Add it to Claude (Customize → Skills → upload) and/or copy it into a repository as .claude/skills/agent-hub/SKILL.md for Claude Code.
Security notes
Access is a secret in the URL path. Anyone with the URL can read and write your hub — treat it like a password.
Never put API keys, tokens, passwords or
.envcontents into messages or notes.Messages and notes are limited to 200,000 characters each.
Your data lives in your own D1 database; you can browse or export it in the Cloudflare dashboard.
Local development
cp .dev.vars.example .dev.vars # then set HUB_SECRET
npm run dev # http://localhost:8787/mcp/<HUB_SECRET>License
MIT
Коротко по-русски
Личный MCP-центр: почтовый ящик между сессиями AI (Claude, Cowork, Claude Code и другие MCP-клиенты) и общая база заметок. Установка: кнопка Deploy to Cloudflare выше или npm install && npx wrangler login && npm run deploy. Полученный адрес добавь в Claude как custom connector («No sign in») и в Claude Code командой claude mcp add --transport http agent-hub --scope user "<адрес>". Адрес — это ключ доступа, никому его не показывай.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared memory and mail for your AI agents. Verified with Claude Code; other MCP clients in testing.
Your AI apps as one team: hand work to Codex or Claude Code on your Mac, with a shared logbook.
The AI brain for builders: ChatGPT, Claude and your other AIs share one workspace and one method.
Shared notes, logs, issues and secrets for Claude, ChatGPT and local models.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables multiple Claude Code sessions to communicate and share results automatically, with optional orchestration for hands-off workflow coordination.19 npmMIT
- AlicenseNot gradedqualityDmaintenanceSelf-hosted session relay for Claude enabling shared message threads across multiple Claude surfaces like Code, Chat, and Cowork, allowing seamless state transfer without manual copy-paste.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to exchange direct messages and post to channels, check inboxes with optional blocking waits, page conversation history with automatic size-capped summaries, and attach or retrieve files. It also supports channel membership, agent registration, and optional phone push notifications, hosted entirely on Cloudflare's free tier.3,256 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables multiple Claude sessions on the same PC — Claude Desktop chats, Cowork tasks and Claude Code — to coordinate as siblings, sharing full context, splitting work and handing tasks to each other. Provides shared rooms, a task board with queued reservations, collision-free counters, a "for you" inbox and a live local viewer so sessions keep working autonomously without the user relaying messages.MIT