codebase-mcp
If you are the rightful owner of codebase-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server implementation that provides tools to retrieve and analyze entire codebases using RepoMix.
The Codebase MCP server is designed to facilitate AI agents, such as Cursor's Composer Agent, in reading and understanding entire codebases efficiently. This server implementation allows developers to work seamlessly with large codebases by providing comprehensive project context to AI assistants. It supports retrieving codebases in various formats, processing remote repositories, and saving processed data. The server is highly customizable, offering options to include comments, line numbers, and file summaries in the analysis. It integrates smoothly with Cursor IDE, enhancing the capabilities of the Composer Agent by providing tools to analyze, fetch, and save codebase data.
Features
- Codebase Retrieval: Retrieve the entire codebase as a single text output in different formats (XML, Markdown, Plain).
- Remote Repository Support: Process remote GitHub repositories directly.
- File Saving: Save the processed codebase to a file.
- Customizable Options: Control how the codebase is processed with various options (comments, line numbers, file summaries, etc.).
Tools
getCodebase
Analyzes your current workspace/project.
getRemoteCodebase
Fetches and analyzes any public GitHub repository.
saveCodebase
Saves the codebase analysis to a file for later use.