View on GitHubReversible, agent-directed context folding for Magpie with cache-aware cost guards
About @context-fold begin parse-options
magpie-context-folding is a plugin for Magpie, a host environment for AI agents. The README says it lets an agent fold finished sections of long work, such as investigation logs, out of the context sent to the model. The original text is archived first, with a hash and path so it can be restored exactly. The author calls it a reversible text replacement rather than a summarising model.
It includes begin and end markers the agent writes, an agent skill file that teaches the markers, a command line tool for listing, searching and cleaning the archive, and a standalone Python core. Using it requires Magpie with the plugin loaded. Development builds need Bun and Node.js 22. The README mentions no accounts or API keys. The author also states that byte reduction is not proof of token or cost savings. It is MIT licensed and published by LIghtJUNction, apparently as an individual project. Details are from the README.
Key features
- Reversible context folding
- Archive with hash and path
- Agent skill for markers
- Archive CLI
- Standalone Python core
More other MCP servers
- Other

Mcp Proxy
sparfenyuk
A bridge between Streamable HTTP and stdio MCP transports
2.8K GitHub starsPythonMIT - Other

Mcp Remote
punkpeye
Connect an MCP Client that only supports local (stdio) servers to a Remote MCP Server.
1.7K GitHub starsTypeScriptMIT - Other

Kanzo
emanuele-em
Self-hosted, sharable kanban for humans and agents. One 4.5 MB binary, 4.5 MB of RAM, 10 to 60 tokens per agent reply, starts in 2 ms, zero setup.
1.2K GitHub starsRustAGPL-3.0 - Other

čå PPT.skill
zhouwei713
įæåįūååŊįžčūåį PPT į Agent Skill
484 GitHub starsPythonMIT - Other

mcptoon
activeing123
MCP tool discovery burns 71,929 tokens. mcptoon drops it to 581 (â99.2%, measured). Zero dependencies.
431 GitHub starsPythonApache-2.0 - Other

automcp
NapthaAI
Easily convert tool, agents and orchestrators from existing agent frameworks to MCP servers
303 GitHub starsPythonApache-2.0