AgentHistoryMCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_handoff_contextA | Retrieve a compact, budgeted handoff context pack from the most recent sessions of a project across other AI Coding Agents (e.g. switching from Codex to Claude Code). Returns initial request, latest turns, touched files, and provenance. |
| search_historyA | Full-text search across pure user/assistant dialog turns (Chinese, English, and camelCase/snake_case code identifiers) across all discovered AI Coding Agents. Tool outputs are excluded for high signal-to-noise ratio. |
| list_sessionsA | List indexed sessions across AI Coding Agents, optionally filtered by project path and agent_ids, sorted by recent activity. |
| read_sessionA | Read paginated user/assistant dialog turns live from the original session file (supports tree branches for Pi/Claude; verbose tool outputs are omitted). |
| list_projectsA | List all local projects discovered across AI Coding Agents with canonical root paths, Git remotes, active agents, and session counts. |
| get_agents_statusA | Discover installed AI Coding Agents on this machine, inspect adapter health/compatibility (installed, data_found, readable, supported, indexed), and optionally trigger an incremental index refresh. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool maps to a distinct operation: agent discovery/health, project listing, session listing, single-session reading, cross-agent full-text search, and a compact handoff pack. The only near-neighbor pair is get_handoff_context vs read_session, but one aggregates recent turns across sessions while the other pages through one session file, and the descriptions make that split explicit.
All names follow a consistent verb_noun snake_case pattern (get_, list_, search_, read_). The verbs accurately signal the operation type, making the set predictable to scan.
Six tools is well-scoped for a read-only cross-agent history server; each one covers a distinct stage of the discover-to-retrieve workflow with no filler.
The lifecycle is covered end to end: discover agents, list projects, list sessions, read or search turns, and package a handoff. Minor gaps remain — index refresh is buried as an optional flag on get_agents_status rather than its own tool, and there is no way to surface omitted tool outputs or per-session metadata without a full read, though both appear to be deliberate design choices.