Cover image
Try Now
2025-02-02

3 years

Works with Finder

2

Github Watches

15

Github Forks

36

Github Stars

Cursor MCP - Claude Desktop Integration

smithery badge

A Model Context Protocol (MCP) implementation that enables seamless integration between Claude AI and desktop applications through Cursor IDE. This tool serves as a bridge between Claude's capabilities and desktop software, allowing for enhanced AI-powered development workflows.

Cursor Server MCP server

Quick Start (Windows)

  1. Prerequisites

  2. Installation

    # Install globally
    npm install -g mcp-cursor
    
    # Or install locally
    git clone https://github.com/yourusername/cursor-mcp.git
    cd cursor-mcp
    npm install
    
  3. Configuration

    • Create a .env file in your project root:
      # Windows path example
      DEFAULT_WORKSPACE_PATH=C:/Users/YourUsername/Documents/cursor-workspaces
      
  4. Add to Claude's MCP Configuration Add the following to your Claude configuration:

    {
      "name": "cursor",
      "type": "mcp",
      "config": {
        "server": "https://glama.ai/mcp/servers/4fg1gxbcex",
        "capabilities": ["cursor_control", "window_management"]
      }
    }
    
  5. Start the Server

    # If installed globally
    mcp-cursor
    
    # If installed locally
    npm start
    

Features

  • Real-time AI assistance in your development workflow
  • Context-aware code suggestions and completions
  • Seamless integration with Cursor IDE
  • Windows automation for enhanced productivity

Detailed Setup

Local Development Setup

  1. Clone and install:

    git clone https://github.com/yourusername/cursor-mcp.git
    cd cursor-mcp
    npm install
    
  2. Create environment config:

    cp .env.example .env
    

    Edit .env and set your workspace path:

    DEFAULT_WORKSPACE_PATH=C:/Users/YourUsername/Documents/cursor-workspaces
    
  3. Build and run:

    # Development mode with hot reload
    npm run dev
    
    # Production mode
    npm run build
    npm start
    

Troubleshooting

  1. Window Detection Issues

    • Ensure Cursor IDE is running
    • Try restarting the MCP server
    • Check if your workspace path is correct
  2. Permission Issues

    • Run terminal as administrator for first-time setup
    • Ensure proper file permissions in workspace directory
  3. Node Version Issues

    • Use nvm to switch to Node.js v18 or higher:
      nvm install 18
      nvm use 18
      

Project Structure

cursor-mcp/
├── src/           # Source code
│   ├── services/  # Core services
│   ├── handlers/  # Event handlers
│   └── types/     # TypeScript definitions
├── build/         # Compiled JavaScript
└── .env          # Environment configuration

Scripts

  • npm run build - Compile TypeScript
  • npm start - Run production server
  • npm run dev - Start development server with hot-reload

Contributing

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT License - see LICENSE file for details.

Support

For support:

相关推荐

  • 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.

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

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • 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.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • Mintplex-Labs
  • 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.

  • chongdashu
  • Habilite clientes asistentes de IA como Cursor, Windsurf y Claude Desktop para controlar el motor irreal a través del lenguaje natural utilizando el Protocolo de contexto del modelo (MCP).

    Reviews

    3 (1)
    Avatar
    user_eLEc4q27
    2025-04-17

    I've been using cursor-mcp for a while now, and it's truly outstanding. Authored by Buga-luga, this tool has significantly improved my workflow. It integrates seamlessly and offers a smooth user experience. For anyone looking to enhance their productivity, I highly recommend checking it out here: https://github.com/Buga-luga/cursor-mcp.