agent-handoff-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HANDOFF_DIR | No | Directory where handoff Markdown files are stored. Defaults to ~/.agent-handoff/, can also be specified with CLI --dir. | ~/.agent-handoff/ |
| HANDOFF_DEBUG | No | Set to 1 to also output JSONL diagnostic logs to stderr, e.g. "HANDOFF_DEBUG": "1". |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| handoff_listA | List active isolated conversation handoff slots (index only, no full bodies, preventing cross-conversation bleed). Optionally filter by project name. |
| handoff_loadA | Load the full context of a single isolated handoff slot by topic name. Only call after the user explicitly asks to resume/continue a specific thread. |
| handoff_saveA | Save or update an isolated conversation handoff slot. ONLY call when the user explicitly asks to handoff / save context (e.g. '交接', 'handoff'). Never auto-save without user intent. |
| handoff_closeA | Close and remove a finished handoff slot so active slots stay clean. Optionally archive a copy to a directory (e.g. Obsidian Wiki _raw/). |
| handoff_exportA | Render an isolated handoff slot as a ready-to-paste prompt for web-based AI tools (ChatGPT, Claude Web, Gemini Web) that do not support MCP. |
| handoff_diagnosticsA | Generate a privacy-safe diagnostic report (version, OS, directory health, sanitized JSONL logs, GitHub Issue link) for troubleshooting or bug submission. Never includes private conversation content. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| save | Summarize the current conversation into an isolated handoff slot. |
| resume | Resume an isolated conversation handoff slot without cross-thread bleed. |
| list | List all active isolated handoff slots. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| handoff-index | Active isolated conversation handoff slots (index only, safe against cross-thread bleed). |
TDQS
Scored across 6 tools
Each tool maps to a distinct operation on a handoff slot: enumerate (list), read one into context (load), create/update (save), delete (close), render for external tools (export), and self-diagnose (diagnostics). The subtle pairs (list vs load, load vs export) are explicitly separated by descriptions that state when each should be used and warn against cross-conversation bleed.
All six tools use the same 'handoff_<verb>' snake_case pattern with short, unambiguous verbs. There are no mixed conventions, casing variants, or vague generic names.
Six tools is a tight, well-scoped surface for a handoff/persistence server, with no filler. Every tool corresponds to a real workflow step an agent would need.
The full lifecycle is covered: list, read, create/update, delete, plus export and diagnostics. Minor gaps remain — no search/filter beyond project name, and no way to inspect or restore archived (closed) slots or rename a slot.