When agents hand off work to each other, they typically write free-form summaries in chat: "I found a bug in file X around line Y, it looks like Z." This wastes output tokens, loses precision, and forces the receiving agent to re-read source files to verify what was said.
The more agents collaborate, the worse this gets.
The Solution
MCP server for exact, source-anchored handoffs between coding agents
Stars
1
Tools
—
Uptime
—
context-pack gives agents a shared, structured workspace. Instead of describing code in prose, an agent places anchors (file path + line range) into a pack. The server renders those anchors into real code excerpts. The agent then sends only pack_id + short summary in chat — the receiving agent opens the pack and gets the full picture: exact code, comments, diagrams, verdicts.
Key Benefits
Fewer output tokens: agents describe findings in a structured pack instead of prose, cutting handoff message size significantly.
Higher accuracy: context is anchored to actual code lines, not paraphrased — no "trust me" summaries.
Less redundant work: the receiving agent reads one pack instead of re-opening multiple source files.
For the full tool contract, paging, profiles, error codes, and migration notes — see TECHNICAL.md.
Troubleshooting
revision_conflict — re-read the pack (input get) to get the current revision, then retry with expected_revision set to the value from the re-read.
stale_ref — update or remove the outdated anchor.
not_found — pack has likely expired by TTL.
tool output too large — split the pack into smaller sections.
ambiguous — name matched multiple packs; use exact id from details.candidate_ids.
Corrupted or oversized pack files are removed automatically during list operations. To remove a specific pack: input { "action": "delete", "id": "<pack_id>" }.
Release artifacts are published on each tag v* via .github/workflows/release.yml.
Maintainers: release playbook is in RELEASE.md.
Проблема
Когда агенты передают работу друг другу, они обычно пишут пересказы в чат: "Я нашёл баг в файле X примерно на строке Y, выглядит как Z." Это тратит output-токены, теряет точность и заставляет получающего агента заново открывать исходники, чтобы проверить сказанное.
Чем больше агентов в цепочке — тем больше потери.
Решение
context-pack даёт агентам общее структурированное рабочее пространство. Вместо того чтобы описывать код словами, агент ставит якоря (путь к файлу + диапазон строк) в пакет. Сервер превращает якоря в реальные вырезки кода. Агент отправляет в чат только pack_id + короткий summary — получающий агент открывает пакет и видит полную картину: точный код, комментарии, диаграммы, вердикты.
Ключевые преимущества
Меньше output-токенов: агенты фиксируют находки в структурированном пакете вместо прозы — размер handoff-сообщений значительно сокращается.
Выше точность: контекст привязан к конкретным строкам кода, а не к пересказу — никаких "доверься мне".
Меньше дублирующей работы: получающий агент читает один пакет, а не заново открывает несколько исходных файлов.
Полный контракт инструментов, постраничное чтение, профили, коды ошибок и примеры миграции — в TECHNICAL.md.
Диагностика
revision_conflict — перечитайте пакет (input get), получите текущий revision, повторите мутацию с expected_revision из перечитанного пакета.
stale_ref — обновите или удалите устаревший якорь.
not_found — пакет, скорее всего, истёк по TTL.
tool output too large — разбейте пакет на более мелкие секции.
ambiguous — имя совпало с несколькими пакетами; используйте точный id из details.candidate_ids.
Повреждённые или oversized-файлы пакетов удаляются автоматически при операциях list. Для точечного удаления: input { "action": "delete", "id": "<pack_id>" }.