Server data from the Official MCP Registry
Flatten Claude Code sessions: keep every prompt and event verbatim, resume at a lower token count.
Flatten Claude Code sessions: keep every prompt and event verbatim, resume at a lower token count.
flatten-mcp is a well-designed MCP server for compacting Claude Code sessions with appropriate authentication and permission scoping. The code exhibits solid defensive practices (atomic file writes, crash-safety, input validation via Zod), though some areas lack comprehensive error handling and there is light input validation on path parameters. Permissions align well with the server's purpose: file I/O on Claude Code's session directory, network access for token counting, and environment variable access for API keys. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
4 files analyzed · 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: ANTHROPIC_API_KEY
Environment variable: FLATTEN_COUNT_MODEL
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-shayashav-flatten-mcp": {
"env": {
"ANTHROPIC_API_KEY": "your-anthropic-api-key-here",
"FLATTEN_COUNT_MODEL": "your-flatten-count-model-here"
},
"args": [
"-y",
"flatten-mcp"
],
"command": "npx"
}
}
}Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.