flatten-mcp
io.github.shayaShav/flatten-mcp · v2.5.0 · MCP 2025-11-25
Cut a Claude Code session's context tokens losslessly — the reversible alternative to /compact.
Reachability
reachable
checked 2026-07-14 03:46 UTC
Registry status active
Tools pinned 2
0ec8e43b53e0
Tools last changed
unchanged since first capture 2026-07-14
Provenance
Registry namespace io.github.shayaShav
(GitHub-account verified by the official registry)
Repository
github.com/shayashav/flatten-mcp
Remote endpoints
https://shaya.cloud/flatten-mcp (streamable-http)
Observed changes
| When (UTC) | Event | Detail |
|---|---|---|
| 2026-07-14 03:46 | first capture | 2 tools pinned |
Pinned tool definitions (2)
| Tool | Description |
|---|---|
| flatten_messages | Flatten a raw Anthropic Messages API messages[] array in memory: every bulky tool_result block (large text or base64 image) larger than min_size bytes is swapped for a compact [FLATTENED id=...] marker, and the originals are returned in... |
| unflatten_messages | Restore a conversation flattened by flatten_messages: re-inlines every tool_result whose content is a [FLATTENED id=...] marker from the matching entry in "extracted", byte-for-byte. Markers with no matching entry are left in place.... |
Status badge
[](https://toolpin.dev/servers/io.github.shayaShav/flatten-mcp)
Maintain this server? Add the badge to your README — it links your users to this live status page.