# flatten-mcp MCP server

Flatten a Claude Code or OpenAI Codex CLI session losslessly: digested bulk out, every word kept.

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-shayashav-flatten-mcp
- Repository: https://github.com/shayaShav/flatten-mcp
- Website: https://github.com/shayaShav/flatten-mcp#readme

## Install
- Command: `npx -y flatten-mcp`
- Endpoint: https://shaya.cloud/flatten-mcp
- Auth: Not captured

## Setup notes
- Package: Npm flatten-mcp v2.6.1
- Environment variable: FLATTEN_COUNT_EXACT
- Environment variable: ANTHROPIC_API_KEY (secret)
- Environment variable: FLATTEN_COUNT_MODEL
- Environment variable: FLATTEN_INMEMORY_TOOLS
- Environment variable: CLAUDE_CONFIG_DIR
- Remote endpoint: https://shaya.cloud/flatten-mcp

## Tools
Not captured

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: io.github.shayaShav
- Version: 2.6.1
- Runtime: Npm
- Transports: STDIO, HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Jul 23, 2026
- Source: https://registry.modelcontextprotocol.io
