Cover image
Try Now
2025-03-08

Ein Middleware -Server, der als Brücke zwischen Cursor IDE und KI -Modellen fungiert und AI -Antworten mithilfe von Projektkontext und Gemini validiert.

3 years

Works with Finder

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

  1. Clone the repository

  2. Install dependencies:

    npm install
    
  3. Create a .env file in the root directory based on the provided .env.example:

    cp .env.example .env
    

    Then edit the file to add your Gemini API key and other configuration options.

  4. Build the project:

    npm run build
    
  5. Start the server:

    npm start
    

    For 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 .env file
  • 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

License

ISC

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • OffchainLabs
  • GO -Umsetzung des Ethereum -Beweises des Anteils

  • huahuayu
  • Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.

  • deemkeen
  • Steuern Sie Ihren MBOT2 mit einer Power Combo: MQTT+MCP+LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Message Connector Protocol )服务 , 提供了与钉钉企业应用交互的 api 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

  • pontusab
  • Die Cursor & Windsurf -Community finden Regeln und MCPs

    Reviews

    4 (1)
    Avatar
    user_1NnoWLGT
    2025-04-15

    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!