Codebase Retrieval (RepoMix)
About
Integrates with RepoMix to enable codebase retrieval and analysis for tasks like code review, dependency tracking, and automated documentation generation.
Details
- Author
- dedeveloper23
- Repository
- DeDeveloper23/codebase-mcp
- GitHub stars
- 15
- License
- MIT License
- Categories
- Productivity, Developer Tools, Design, Workplace, File Management, AI, Frontend, Project Management, Knowledge Base, Infrastructure
Jump to
- 📚 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.)
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Codebase Retrieval (RepoMix)Command (node, npx, python, etc.)codebase-mcpArguments-
Argument 1
start
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
npm install -g codebase-mcp
codebase-mcp install
npm install
npm install -g .
Here are some example prompts you can use with the Composer Agent:
"Analyze my current project and explain its main components."
"Can you look at the tensorflow/tensorflow repository and explain how their testing framework works?"
"Save an analysis of my project to 'codebase-analysis.md' in markdown format."
```
The Composer Agent will automatically use the appropriate tool based on your request.
getCodebase
Analyzes your current workspace/project. Use when you want the AI to understand your entire codebase.
getRemoteCodebase
Fetches and analyzes any public GitHub repository. Use when you want to explore or understand other projects.
saveCodebase
Saves the codebase analysis to a file for later use. Use when you want to preserve the codebase snapshot or share it.
1. getCodebase
- Purpose: Analyzes your current workspace/project
- Use when: You want the AI to understand your entire codebase
- Example prompt: "Please analyze my codebase to understand its structure"
2. getRemoteCodebase
- Purpose: Fetches and analyzes any public GitHub repository
- Use when: You want to explore or understand other projects
- Example prompt: "Can you analyze the repository at github.com/username/repo?"
3. saveCodebase
- Purpose: Saves the codebase analysis to a file for later use
- Use when: You want to preserve the codebase snapshot or share it
- Example prompt: "Save an analysis of this codebase to review later"
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"codebase retrieval (repomix)": {
"env": {},
"args": [
"start"
],
"shell": false,
"command": "codebase-mcp"
}
}
}
Linux
{
"env": [],
"args": [
"start"
],
"shell": false,
"command": "codebase-mcp"
}
Macos
{
"env": [],
"args": [
"start"
],
"shell": false,
"command": "codebase-mcp"
}
Windows
{
"env": [],
"args": [
"/c",
"codebase-mcp",
"start"
],
"shell": false,
"command": "cmd"
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





