Skip to main content
Back to project register

Case file

MCP Slim Guard

Reversible MCP context compression

01

Problem

MCP tool catalogs and oversized results consume agent context. Truncation can discard the original content needed to finish the task.

03

Prototype and system

The Generic surface exposes tools through find_tool, call_tool, and read_result. The Native surface keeps authorized tool names. Eligible oversized results produce a compact view backed by an immutable snapshot.

04

Current evidence

Across a frozen set of 12 tools and 24 bilingual tasks, normal-path tokens fell from 71,388 to 17,007; all 24 tasks completed with 24 upstream calls.

05

Next step

Continue collecting real host and server compatibility reports from Codex and Claude Code.