Claude Code MCP ServerDev Tools2 installs

Flatten Mcp

Flatten Claude Code sessions: moves bulky tool output into a sidecar file and keeps every prompt and event verbatim, so the same conversation resumes at a lower token count instead of being compacted into a lossy summary. Reversible and crash-safe. Optional ANTHROPIC_API_KEY enables exact token counting.

Install with the Claude Code Templates CLI
$ npx claude-code-templates@latest --mcp="devtools/flatten-mcp" --yes

Requires Claude Code. The command adds this mcp server to your project's .claudedirectory — nothing runs on ToolZip's servers.

What's inside this mcp server

Component source

{

"mcpServers": {

"flatten": {

"description": "Flatten Claude Code sessions: moves bulky tool output into a sidecar file and keeps every prompt and event verbatim, so the same conversation resumes at a lower token count instead of being compacted into a lossy summary. Reversible and crash-safe. Optional ANTHROPIC_API_KEY enables exact token counting.",

"command": "npx",

"args": ["-y", "flatten-mcp@latest"]

}

}

}

Type
MCP Server
Category
Dev Tools
Installs
2
Source
GitHub ↗

Related Claude Code MCP Servers

Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.