
dedeveloper23/codebase-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
dedeveloper23/codebase-mcp는 https://github.com/dedeveloper23/codebase-mcp.]에서 수입된 MCP 서버 후보입니다
개요
dedeveloper23/codebase-mcp는 https://github.com/dedeveloper23/codebase-mcp.]에서 수입된 MCP 서버 후보입니다
개요(AI 번역)
RepoMix를 사용하여 전체 코드베이스를 검색하고 분석하는 도구를 제공하는 모델 Context Protocol (MCP) 서버 구현.
이 MCP는 Cursor의 Composer Agent와 같은 AI Agents를 자동으로 읽고 한 번에 전체 codebases를 이해하고, 개발자가 대형 codebase와 AI Assistants를 사용하여 프로젝트를 종합적인 컨텍스트를 만들 수 있도록 쉽게 만듭니다.
특징
- Codebase Retrieval: 다른 형식의 단일 텍스트 출력으로 전체 코드베이스를 검색 (XML, Markdown, Plain)
- ĪRemote Repository 지원: 직접 처리 GitHub 저장소
- **파일 저장 **: 파일에 처리된 codebase 저장
- ☸ ** 사용자 정의 옵션 **: codebase가 다양한 옵션(comments, line number, file summaries 등)로 처리되는 방법을 제어합니다.
설치
부터 NPM (추천)
GitHub에서
Cursor와 통합
Cursor의 Composer 에이전트와이 MCP를 사용하려면:
- 오픈 커서 IDE
- 사이드바에서 Composer 아이콘을 클릭하십시오
- 상단의 "MCP Servers"버튼을 클릭하십시오.
- "Add new MCP 서버"를 클릭하십시오
- 세부사항에 기입:
- 이름:
Codebase MCP(또는 당신이 선호하는 어떤 이름) - 유형:
command - 명령:
codebase-mcp start
- 명세.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Codebase MCP
A Model Context Protocol (MCP) server implementation that provides tools to retrieve and analyze entire codebases using RepoMix.
This MCP allows AI Agents like Cursor’s Composer Agent to automatically read and understand entire codebases at once, making it easier for developers to work with large codebases and for AI assistants to have comprehensive context of a project.
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.)
Installation
From NPM (Recommended)
# Install the package globally
npm install -g codebase-mcp
# Install RepoMix (required dependency)
codebase-mcp install
From GitHub
# Clone the repository
git clone https://github.com/DeDeveloper23/codebase-mcp.git
# Navigate to the project directory
cd codebase-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Install globally
npm install -g .
# Install RepoMix (required dependency)
codebase-mcp install
Integration with Cursor
To use this MCP with Cursor’s Composer Agent:
- Open Cursor IDE
- Click the Composer icon in the sidebar
- Click the “MCP Servers” button at the top
- Click “Add new MCP server”
- Fill in the details:
- Name:
Codebase MCP(or any name you prefer) - Type:
command - Command:
codebase-mcp start
- Name:
- Click “Add” to save
Once added, the MCP will provide three powerful tools to the Composer Agent:
Available Tools
-
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”
-
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?”
-
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”
Example Usage in Cursor
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.
Usage Outside Cursor
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →