
mcp relay mind server
A middleware server that acts as a bridge between Cursor IDE and AI models, validating AI responses using project context and Gemini.
Repository Info
About This Server
A middleware server that acts as a bridge between Cursor IDE and AI models, validating AI responses using project context and Gemini.
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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 endpointPOST /api/context/initialize- Initialize project contextPOST /api/context/refresh- Refresh project contextPOST /api/validate- Validate AI responsesPOST /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
Quick Start
Clone the repository
git clone https://github.com/dimahike/mcp-relay-mind-serverInstall dependencies
cd mcp-relay-mind-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.