Repomix MCP
Pack local or remote repositories into AI-friendly structured text over MCP.
Overview
Repomix can run in MCP server mode (`repomix --mcp`), letting agents pack a local directory or public GitHub repository into a single structured summary with token counts and tree-sitter compression. It respects `.gitignore` and runs Secretlint checks, though you should still inspect outputs before sharing.
Capabilities
- Pack local repository
- Pack remote repository
- Read packed output
- File search
Connection profile
- Transports
- stdio
- Authentication
- None (local files)
- License
- MIT
- Vendor
- yamadashy
- Repository
- github.com/yamadashy/repomix
Client format support is reviewed against official client documentation. It is not a claim that this specific server was tested with every client.
Configuration starting point
A documented preset is available for this server. It contains placeholders, not real credentials. Generate a client-correct file or review the raw values below.
npx -y repomix --mcp
Security notes
- Packing a directory reads matching files into model context; keep secrets out of tracked files and verify ignore rules.
The catalog records source evidence, not a security audit. Review the server's permissions, recent releases, and the data it can access before connecting it to a real account.
Sources & evidence
- github.com/yamadashy/repomixRepository · checked Nov 27, 2026 · documented
The Repomix repository documents `--mcp` mode and its tools; about 29.4k stars and active on the check date.