handoff-mcp
handoff-mcp
MCP 服务器,充当跨多个 LLM(Claude、Gemini、Copilot、Codex)的共享内存中心。任何进入项目的智能体都能立即理解其架构、模式和决策,并能从上一个 LLM 停止的地方无缝接手。
工具
工具 | 描述 |
| 初始化或获取项目 |
| 保存架构概览和技术栈 |
| 完整的项目概览 — 非常适合作为首次调用 |
| 在交接前保存工作状态 |
| 获取上一个 LLM 的工作内容 |
| 列出所有已保存的会话 |
| 保存可重用的代码模式(如 JWT、FCM 等) |
| 按类别/语言检索模式 |
| 保存 ADR(架构决策记录,即为何做出某项决策) |
| 检索架构决策 |
| 跨模式、决策和快照进行搜索 |
Related MCP server: ai-cortex
安装
要求: Bun
git clone https://github.com/Juan-Severiano/handoff-mcp
cd handoff-mcp
bun install配置
将 /path/to/handoff-mcp 替换为您克隆仓库的绝对路径。
Claude Desktop
文件:~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"handoff-mcp": {
"command": "bun",
"args": ["/path/to/handoff-mcp/src/index.ts"]
}
}
}Claude Code
claude mcp add handoff-mcp bun /path/to/handoff-mcp/src/index.tsGemini CLI
文件:~/.gemini/settings.json
{
"mcpServers": {
"handoff-mcp": {
"command": "bun",
"args": ["/path/to/handoff-mcp/src/index.ts"]
}
}
}GitHub Copilot (VS Code)
文件:工作区中的 .vscode/mcp.json,或 VS Code 用户 settings.json:
{
"servers": {
"handoff-mcp": {
"type": "stdio",
"command": "bun",
"args": ["/path/to/handoff-mcp/src/index.ts"]
}
}
}OpenAI Codex CLI
文件:~/.codex/config.yaml
mcpServers:
handoff-mcp:
command: bun
args:
- /path/to/handoff-mcp/src/index.ts数据库路径 (可选)
默认情况下,context.db 会在工作目录中创建。可通过环境变量覆盖:
{
"mcpServers": {
"handoff-mcp": {
"command": "bun",
"args": ["/path/to/handoff-mcp/src/index.ts"],
"env": { "DB_PATH": "/your/shared/path/context.db" }
}
}
}提示:将所有 LLM 指向同一个
DB_PATH,以便它们在不同工具间共享同一个数据库。
流程
Claude works on the project
→ create_or_get_project("my-app")
→ save_architecture({ description: "React Native + Spring Boot" })
Claude runs low on tokens
→ save_context_snapshot({
llmModel: "claude-opus-4",
taskDescription: "Implementing push notifications",
recentChanges: "FCM handler done",
nextSteps: "Wire up Foreground Service, test Android 16"
})
Gemini takes over
→ get_project_summary("my-app") # full context in one call
→ get_context_snapshot("my-app") # picks up exactly where Claude stopped
→ continues...开发
bun run dev # watch mode
bun run inspect # MCP Inspector
bun run build # compile to dist/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.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides persistent context synchronization and memory management for AI agents across sessions and projects, including file indexing, bug tracking, spatial navigation, and agent-to-agent handoff coordination.113MIT
- AlicenseNot gradedqualityBmaintenanceProvides durable project context for coding agents, including project maps, session history, and explicit memories, all stored locally.746MIT
- AlicenseNot gradedqualityCmaintenanceGives AI agents persistent memory, handoffs, and shared context across sessions, enabling seamless continuity and multi-agent collaboration.6668Inno Setup
- AlicenseAqualityAmaintenanceShared memory and handoff hub for AI agents, enabling seamless context transfer between sessions with token-budgeted resumes and automatic handoffs.1011MIT
Related MCP Connectors
Durable agent-to-agent handoffs and shared scratchpad for multi-agent workflows.
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Juan-Severiano/handoff-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server