Agent Hub
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., "@Agent Hubsend to code: run the tests on branch X and report back"
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.
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: claude-session-bridge
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 "<адрес>". Адрес — это ключ доступа, никому его не показывай.
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.
- OctopadOAuthapp.octopad
The AI brain for builders: ChatGPT, Claude and your other AIs share one workspace and one method.
Persistent cross-session memory shared by Codex, Claude Code, ChatGPT, and other AI agents.
Portable AI memory you own. Keep memories and notes across Claude, ChatGPT, and other AI tools.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceSelf-hosted semantic memory layer for Claude and MCP-compatible AI clients. Store notes, search by meaning not keywords, and recall relevant context automatically across sessions. Runs free on Cloudflare Workers, D1, Vectorize, and Workers AI4 npm800MIT
- AlicenseNot gradedqualityCmaintenanceEnables multiple Claude Code sessions to communicate and share results automatically, with optional orchestration for hands-off workflow coordination.4 npmMIT
- AlicenseNot gradedqualityCmaintenanceA minimal, tag-free personal memory system that syncs across all Claude interfaces. Built on Cloudflare's edge stack for zero-maintenance serverless operation.11 npmMIT
- AlicenseNot gradedqualityCmaintenanceSelf-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.11 npm1MIT