BL

buga-luga/cursor-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

39 stars 15 forks Качество 63 Тренд 0MIT

buga-luga/cursor-mcp - кандидат на сервер MCP, импортированный из https://github.com/buga-luga/cursor-mcp.

Обзор

buga-luga/cursor-mcp - кандидат на сервер MCP, импортированный из https://github.com/buga-luga/cursor-mcp.

Обзор (машинный перевод)

Реализация Model Context Protocol (MCP), которая обеспечивает бесшовную интеграцию между Claude AI и настольными приложениями через Cursor IDE. Этот инструмент служит мостом между возможностями Клода и настольным программным обеспечением, что позволяет улучшить рабочие процессы разработки на основе ИИ.

Быстрый старт (Windows)

###Установка через Smithery

Установить Cursor для Claude Desktop автоматически через Smithery:

###Установка вручную 1.** Предпосылки** Node.js v18 или выше

  • Cursor IDE Windows 10 или выше

2.Установка

3** Конфигурация** Создайте файл .env в корне вашего проекта:

  1. Добавить в конфигурацию MCP Клода Добавьте следующее в конфигурацию Claude:

  2. ** Запуск сервера**

Особенности

Помощь ИИ в режиме реального времени в вашем рабочем процессе разработки

  • Предложения и завершения кода, учитывающего контекст Бесшовная интеграция с Cursor IDE Автоматизация Windows для повышения производительности

Подробная настройка

Настройка локального развития

  1. клонировать и устанавливать:

  2. Создание конфигурации среды:

Редактируйте .env и установите свой путь в рабочем пространстве:

  1. Построить и запустить:

###Устранение неполадок

  1. ** Проблемы обнаружения Windows** Убедитесь, что Cursor IDE работает

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Cursor MCP - Claude Desktop Integration

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.

Quick Start (Windows)

Installing via Smithery

To install Cursor for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install cursor-mcp-tool --client claude

Installing Manually

  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
Открыть полный README на GitHub

Установка

npx -y @smithery/cli install cursor-mcp-tool --client claude
Новичок в MCP? Начните с руководства на mcpskill.org →