# @lex-tools/codebase-context-dumper
> Local MCP server that recursively reads text files under a chosen project directory, respects nested .gitignore rules, skips binary files, and returns file contents with paths, optionally chunked.
Canonical: https://www.mcpfolio.com/servers/lex-tools-codebase-context-dumper
Last updated: 2026-10-28
## Catalog record

- Publisher: lex-tools (community GitHub organization)
- Categories: version-control

## Repository

https://github.com/lex-tools/codebase-context-dumper

## Transports

stdio

## Authentication

No network endpoint or auth. The MCP client launches a local process that can read files accessible to the chosen base_path.

## Tools

- **dump_codebase_context**: Recursively reads text files from base_path, honors .gitignore rules, skips binary files, adds path markers, and supports chunking.

## Sources

- [package_tool_reference](https://www.stork.ai/mcp/lex-tools-codebase-context-dumper)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/lex-tools-codebase-context-dumper) to view instructions for each supported client.