MCP-Server-2

MCP-Server-2

0

The MCP Server for Cursor is a server implementation designed for integration with the Cursor IDE. It offers real-time monitoring and a modern web dashboard via SSE and WebSocket connections. Key features include Google Drive integration, extensible architecture, and customizable server settings.

MCP Server for Cursor

A Model Context Protocol (MCP) server implementation for Cursor IDE integration, providing a modern web dashboard and tools through SSE (Server-Sent Events) and WebSocket connections.

Features

  • Real-time connection monitoring with WebSocket support
  • Modern web dashboard for server management
  • SSE-based communication with Cursor IDE
  • Built-in test tool for verifying connectivity
  • Google Drive integration for file management
  • Extensible architecture for adding new tools
  • Connection history visualization
  • Client management interface
  • Service configuration UI
  • Customizable server settings

Prerequisites

  • Python 3.8 or higher
  • Node.js 18 or higher
  • npm (Node.js package manager)
  • pip (Python package manager)
  • Cursor IDE

Available Endpoints

HTTP Endpoints

  • /api/status - Get server status
  • /api/connections/history - Get connection history
  • /api/clients - Get active clients
  • /api/services/{service_id} - Service configuration
  • /api/settings - Server settings

WebSocket Endpoint

  • /ws/{client_id} - Real-time updates and ping/pong

SSE Endpoint

  • /sse - Server-Sent Events for Cursor IDE

Tool Endpoints

  • /invoke/test - Test tool
  • /invoke/google_drive - Google Drive operations

Security Notes

  • The server accepts all origins (CORS *) in development
  • WebSocket connections use client IDs for basic identification
  • Service credentials are stored in services_config.json
  • Environment variables should be used for sensitive data in production