DC

duysolo/codebaxing

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

52 stars 6 forks 품질 76 트렌드 0MIT

duysolo/codebaxing은 MCP 서버 후보가 https://github.com/duysolo/codebaxing.에서 수입되었습니다

개요

duysolo/codebaxing은 MCP 서버 후보가 https://github.com/duysolo/codebaxing.에서 수입되었습니다

개요(AI 번역)

한국어 | Ting Việt

**semantic 코드 검색 **에 대한 MCP 서버. 코드베이스를 한 번 색인, 다음 자연 언어를 사용하여 검색.

그것이 작동하는 방법

전통적인 검색은 정확한 텍스트 일치. Codebaxing은 의미를 이해합니다.

Query 찾기 (정확한 일치 없이)
로그인(), validateCredentials(), authMiddleware()
“database 연결” connectDB(), prismaClient, 저장소.query()

빠른 시작

##1. ChromaDB 시작

##2. Codebase (CLI)를 색인

이것은 색인을 가진 .codebaxing/ 폴더를 만듭니다. 프로젝트 당 한 번만 수행해야합니다.

Performance 참고: Local embedding은 느립니다 (~4 분 ~4,000 파일). 더 빠른 인덱스를 위해, 사용 Gemini embedding (무료) — 아래 Cloud Embedding 참조.

##3. AI 편집기용 MCP Server 설치

편집을 복원합니다. 이제 요청할 수 있습니다. * “인증 논리”*

CLI 명령

명령 설명
npx codebaxing@latest index 코드베이스(required first)
npx codebaxing search 검색 인덱스 코드
npx codebaxing stats [path] 시세정보 표시

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Codebaxing

English | Tiếng Việt

MCP server for semantic code search. Index your codebase once, then search using natural language.

How It Works

Your Code → Tree-sitter Parser → Symbols → Embedding Model → Vectors → ChromaDB
                                                                           ↓
"find auth logic" → Embedding → Query Vector → Similarity Search → Results

Traditional search matches exact text. Codebaxing understands meaning:

Query Finds (even without exact match)
“authentication” login(), validateCredentials(), authMiddleware()
“database connection” connectDB(), prismaClient, repository.query()

Quick Start

1. Start ChromaDB

docker run -d -p 8000:8000 --name chromadb chromadb/chroma

2. Index Your Codebase (CLI)

npx codebaxing@latest index /path/to/your/project

This creates a .codebaxing/ folder with the index. Only needs to be done once per project.

Performance note: Local embedding is slow (~4 min for ~4,000 files). For faster indexing, use Gemini embedding (free) — see Cloud Embedding below.

3. Install MCP Server for AI Editors

npx codebaxing install              # Claude Desktop
npx codebaxing install --cursor     # Cursor
npx codebaxing install --windsurf   # Windsurf
npx codebaxing install --all        # All editors

Restart your editor. Now you can ask: “Find the authentication logic”

CLI Commands

Command Description
npx codebaxing@latest index Index a codebase (required first)
npx codebaxing search Search indexed code
npx codebaxing stats [path] Show index statistics
npx codebaxing clean [path] Remove index (reset)
npx codebaxing install [--editor] Install MCP server
npx codebaxing uninstall [--editor] Uninstall MCP server

Tip: Use @latest for index to ensure you have the newest version.

Search Options

npx codebaxing search "auth middleware" --path ./src --limit 10
  • --path, -p - Codebase path (default: current directory)
  • --limit, -n - Number of results (default: 5)

MCP Tools (for AI Agents)

After installing, AI agents can use these tools:

Tool Description
search Semantic code search
stats Index statistics
languages Supported file extensions
remember Store project memory
recall Retrieve memories
forget Delete memories

Note: The index tool is disabled for AI agents. Use CLI: npx codebaxing@latest index

Configuration

Cloud Embedding (Fastest)

GitHub에서 전체 README 보기

설치

npx -y codebaxing
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "codebaxing": { "command": "npx", "args": ["-y", "codebaxing"], "env": { "CHROMADB_URL": "http://localhost:8000" } } } }