Skip to content
botshub

@context-fold begin parse-options

by LIghtJUNction

MCP serverOther

View on GitHub

Reversible, 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

  • Mcp Proxy

    sparfenyuk

    Other

    A bridge between Streamable HTTP and stdio MCP transports

    2.8K GitHub starsPythonMIT
  • Mcp Remote

    punkpeye

    Other

    Connect an MCP Client that only supports local (stdio) servers to a Remote MCP Server.

    1.7K GitHub starsTypeScriptMIT
  • Kanzo

    emanuele-em

    Other

    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 įš„ Agent Skill

    484 GitHub starsPythonMIT
  • mcptoon

    activeing123

    Other

    MCP tool discovery burns 71,929 tokens. mcptoon drops it to 581 (−99.2%, measured). Zero dependencies.

    431 GitHub starsPythonApache-2.0
  • automcp

    NapthaAI

    Other

    Easily convert tool, agents and orchestrators from existing agent frameworks to MCP servers

    303 GitHub starsPythonApache-2.0
Suggest an improvement
Report this listing
Is this your project? Claim this listing