Workspace Code Search MCP Server
커서에 대한 로컬 코드 인덱싱
ChromaDB를 사용하여 코드베이스를 로컬로 인덱싱하고 Cursor와 같은 도구에 대한 MCP(Model Context Protocol) 서버를 통해 의미 검색 도구를 제공하는 실험적 Python 기반 서버입니다.
설정
복제하고 저장소를 입력합니다.
지엑스피1
.env.example을 복사하여.env파일을 만듭니다.cp .env.example .env.env파일을 구성하세요.PROJECTS_ROOT=~/your/projects/root # Path to your projects directory FOLDERS_TO_INDEX=project1,project2 # Comma-separated list of folders to index예:
PROJECTS_ROOT=~/projects FOLDERS_TO_INDEX=project1,project2인덱싱 서버를 시작합니다.
docker-compose up -d로컬 검색 서버를 사용하도록 Cursor를 구성합니다.
~/.cursor/mcp.json만들거나 편집합니다.{ "mcpServers": { "workspace-code-search": { "url": "http://localhost:8978/sse" } } }변경 사항을 적용하려면 Cursor IDE를 다시 시작하세요.
서버는 지정한 프로젝트에 대한 인덱싱을 시작하고, 해당 프로젝트가 활성화되면 Cursor 내에서 의미 코드 검색을 사용할 수 있습니다.
인덱싱된 것으로 구성한 프로젝트를 엽니다.
.cursorrules 파일을 만들고 다음을 추가합니다.
<instructions>
For any request, use the @search_code tool to check what the code does.
Prefer that first before resorting to command line grepping etc.
</instructions>커서 에이전트 모드를 사용하여 로컬 벡터 검색을 수행하는 모습을 확인해 보세요!
This server cannot be deployed
Maintenance
Related MCP Connectors
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA local server that provides powerful code analysis and search capabilities for software projects, helping AI assistants and development tools understand codebases for tasks like code generation and refactoring.4-
- FlicenseNot gradedqualityDmaintenanceHTTP-based server that provides semantic code search capabilities to IDEs through the Model Context Protocol, allowing efficient codebase exploration without repeated indexing.3 npm122-

Cometix Indexerofficial
FlicenseNot gradedqualityDmaintenanceA local indexing and retrieval service that enables semantic code search by wrapping Cursor's backend RepositoryService. It provides tools for indexing local workspaces and performing incremental semantic searches with automatic synchronization.67-- FlicenseNot gradedqualityDmaintenanceA minimalist indexing tool that provides AI agents with semantic search and structural AST parsing for deep codebase understanding. It enables autonomous agents to navigate large codebases predictably using vector embeddings and native language server capabilities like definition and reference tracking.-