servidor MCP-Relay-Mind
Un servidor de middleware que actúa como un puente entre los modelos de cursor IDE y AI, validando las respuestas de IA utilizando el contexto del proyecto y Gemini.
1
Github Watches
0
Github Forks
0
Github Stars
MCP Server
A middleware server that acts as a bridge between Cursor IDE and AI models, validating AI responses using project context and Gemini.
Features
- Project context management
- AI response validation
- Integration with Gemini API
- Real-time context updates
- Comprehensive logging system
- Easy local deployment
Prerequisites
- Node.js (v14+ recommended)
- npm or yarn
- Google Cloud account (for Gemini API access)
- Gemini API key
- Cursor IDE
Getting Started
-
Clone the repository
-
Install dependencies:
npm install -
Create a
.envfile in the root directory based on the provided.env.example:cp .env.example .envThen edit the file to add your Gemini API key and other configuration options.
-
Build the project:
npm run build -
Start the server:
npm startFor development with hot-reloading:
npm run dev
Deployment
Local Deployment
Use the provided deployment script for a streamlined setup:
./scripts/deploy-local.sh
This script will:
- Check for the presence of a
.envfile - Install dependencies
- Build the project
- Start the server in production mode
For more detailed deployment instructions, see USAGE.md.
API Endpoints
-
GET /api/health- Health check endpoint -
POST /api/context/initialize- Initialize project context -
POST /api/context/refresh- Refresh project context -
POST /api/validate- Validate AI responses -
POST /api/cursor/validate- Cursor IDE-specific validation endpoint
For detailed API documentation, see USAGE.md.
Project Structure
mcp-server/
├── src/
│ ├── api/
│ │ ├── controllers/
│ │ ├── middleware/
│ │ └── routes/
│ ├── config/
│ ├── context/
│ ├── models/
│ ├── services/
│ ├── types/
│ ├── utils/
│ └── index.ts
├── logs/ # Log files directory
├── scripts/ # Deployment and utility scripts
├── docs/ # Documentation
├── .env
├── .env.example
├── .gitignore
├── package.json
├── tsconfig.json
└── README.md
Documentation
- USAGE.md - Detailed usage instructions
- MCP_SERVER_IMPLEMENTATION_PLAN.md - Implementation plan
- MCP_SERVER_ARCHITECTURE.md - Architecture overview
License
ISC
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Converts Figma frames into front-end code for various mobile frameworks.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Espejo dehttps: //github.com/agentience/practices_mcp_server
Reviews
user_1NnoWLGT
The Salesforce MCP Sample Integration by lciesielski is a fantastic tool for any Salesforce user looking to streamline their workflow. The integration is seamless and easy to set up, thanks to the clear instructions provided. It offers robust functionality and has greatly improved my team's efficiency. Highly recommend!