Skip to main content
Glama

Custom MCP Server for Cursor

by Feustey

MCP - Sistema de preguntas y respuestas con RAG

MCP es un sistema avanzado de preguntas y respuestas que utiliza la técnica de recuperación-generación aumentada (RAG) para proporcionar respuestas precisas y contextuales basadas en un corpus de documentos.

Características

  • 🔍 Búsqueda semántica en documentos
  • Almacenamiento en caché inteligente con Redis
  • Almacenamiento persistente con MongoDB
  • 🤖 Integración con OpenAI para incrustaciones y generación de texto
  • 📈 Monitoreo y métricas del sistema
  • 🔄 Gestión de operaciones asincrónicas

Prerrequisitos

  • Python 3.9+
  • Edición comunitaria de MongoDB
  • Redis
  • Clave API de OpenAI

Instalación

  1. Clonar el repositorio:
git clone https://github.com/votre-username/mcp.git cd mcp
  1. Instalar dependencias del sistema:
# MongoDB brew tap mongodb/brew brew install mongodb-community brew services start mongodb-community # Redis brew install redis brew services start redis
  1. Configurar el entorno de Python:
python -m venv .venv source .venv/bin/activate # Sur Unix/macOS pip install -r requirements.txt
  1. Configurar variables de entorno:
cp .env.example .env # Éditer .env avec vos configurations

Uso rápido

from src.rag import RAGWorkflow # Initialisation rag = RAGWorkflow() # Ingestion de documents await rag.ingest_documents("chemin/vers/documents") # Interrogation response = await rag.query("Votre question ici ?")

Documentación

Pruebas

python -m pytest tests/ -v

Estructura del proyecto

mcp/ ├── src/ │ ├── __init__.py │ ├── rag.py # Workflow RAG principal │ ├── models.py # Modèles de données │ ├── mongo_operations.py # Opérations MongoDB │ ├── redis_operations.py # Opérations Redis │ └── database.py # Configuration de la base de données ├── tests/ │ ├── __init__.py │ ├── test_mcp.py │ └── test_mongo_integration.py ├── prompts/ │ ├── system_prompt.txt │ ├── query_prompt.txt │ └── response_prompt.txt ├── docs/ │ ├── installation.md │ ├── usage.md │ ├── architecture.md │ └── api.md ├── requirements.txt ├── .env.example └── README.md

Contribución

  1. Bifurcar el proyecto
  2. Crea una rama para tu función ( git checkout -b feature/AmazingFeature )
  3. Confirme sus cambios ( git commit -m 'Add some AmazingFeature' )
  4. Empujar a la rama ( git push origin feature/AmazingFeature )
  5. Abrir una solicitud de extracción

Licencia

Este proyecto está licenciado bajo la licencia MIT. Consulte el archivo LICENCIA para obtener más detalles.

Contacto

Tu nombre - @your_twitter

Enlace del proyecto: https://github.com/your-username/mcp

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Se conecta a Cursor y permite búsquedas web profundas a través de Linkup y capacidades RAG usando LlamaIndex.

  1. Características
    1. Prerrequisitos
      1. Instalación
        1. Uso rápido
          1. Documentación
            1. Pruebas
              1. Estructura del proyecto
                1. Contribución
                  1. Licencia
                    1. Contacto

                      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
                        Enables integration with DuckDuckGo search capabilities for LLMs, supporting comprehensive web search, regional filtering, result types, and safe browsing with caching and customizable search parameters.
                        Last updated -
                        26
                        2
                        TypeScript
                        MIT License
                      • A
                        security
                        A
                        license
                        A
                        quality
                        Enables efficient web search integration with Jina.ai's Search API, offering clean, LLM-optimized content retrieval with support for various content types and configurable caching.
                        Last updated -
                        1
                        22
                        3
                        JavaScript
                        MIT License
                      • -
                        security
                        -
                        license
                        -
                        quality
                        A Python-based local indexing server that creates semantic search capabilities for codebases using ChromaDB, allowing Cursor IDE to perform vector searches on your code without sending data to external services.
                        Last updated -
                        5
                        Python

                      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/Feustey/MCP'

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