Skip to main content
Glama

Workspace Code Search MCP Server

by LuotoCompany

Indexación de código local para el cursor

Un servidor experimental basado en Python que indexa localmente bases de código utilizando ChromaDB y proporciona una herramienta de búsqueda semántica a través de un servidor MCP (Protocolo de contexto de modelo) para herramientas como Cursor.

Configuración

  1. Clonar y entrar al repositorio:
    git clone <repository-url> cd cursor-local-indexing
  2. Cree un archivo .env copiando .env.example :
    cp .env.example .env
  3. Configure su archivo .env :
    PROJECTS_ROOT=~/your/projects/root # Path to your projects directory FOLDERS_TO_INDEX=project1,project2 # Comma-separated list of folders to index
    Ejemplo:
    PROJECTS_ROOT=~/projects FOLDERS_TO_INDEX=project1,project2
  4. Iniciar el servidor de indexación:
    docker-compose up -d
  5. Configurar Cursor para usar el servidor de búsqueda local: Cree o edite ~/.cursor/mcp.json :
    { "mcpServers": { "workspace-code-search": { "url": "http://localhost:8978/sse" } } }
  6. Reinicie Cursor IDE para aplicar los cambios.

El servidor comenzará a indexar los proyectos especificados y podrá utilizar la búsqueda de código semántico dentro de Cursor cuando esos proyectos estén activos.

  1. Abra un proyecto que haya configurado como indexado.

Cree un archivo .cursorrules y agregue lo siguiente:

<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>
  1. ¡Comienza a utilizar el modo Agente de Cursor y observa cómo realiza búsquedas vectoriales locales!
-
security - not tested
-
license - not tested
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Un servidor de indexación local basado en Python que crea capacidades de búsqueda semántica para bases de código utilizando ChromaDB, lo que permite que Cursor IDE realice búsquedas vectoriales en su código sin enviar datos a servicios externos.

  1. Configuración

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      Facilitates integration with the Cursor code editor by enabling real-time code indexing, analysis, and bi-directional communication with Claude, supporting concurrent sessions and automatic reconnection.
      Last updated -
      2
      21
      31
      TypeScript
      MIT License
    • -
      security
      A
      license
      -
      quality
      A server that provides data retrieval capabilities powered by Chroma embedding database, enabling AI models to create collections over generated data and user inputs, and retrieve that data using vector search, full text search, and metadata filtering.
      Last updated -
      157
      Python
      Apache 2.0
    • -
      security
      A
      license
      -
      quality
      A Python server that enables AI assistants to perform hybrid search queries against Apache Solr indexes through the Model Context Protocol, combining keyword precision with vector-based semantic understanding.
      Last updated -
      1
      Python
      MIT License
      • Linux
      • Apple
    • -
      security
      F
      license
      -
      quality
      A Managed Context Provider server that crawls and indexes Zerops documentation, making it available as a searchable context source for Cursor IDE.
      Last updated -
      TypeScript

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/LuotoCompany/cursor-local-indexing'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server