JM

johnneerdael/multiplatform-cursor-mcp

Developer tools

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

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

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

Обзор

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

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

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

Обзор

###Интеграция Прямая интеграция с настольным приложением Claude Возможность использовать другие MCP-совместимые услуги ИИ Обмен контекстом в реальном времени между ИИ и редактором

  • Автоматизация на основе ИИ и генерация кода

Поддержка протокола MCP

Стандартизированная связь с моделями ИИ Расширяемая система плагинов для дополнительных MCP

  • Исполнение команды Context-aware
  • Безопасная аутентификация на основе токенов

️ Межплатформенное управление окнами

Бесшовное управление окнами редактора Cursor в операционных системах Сосредоточьтесь, минимизируйте, восстанавливайте и планируйте окна программно.

  • Отслеживание изменений состояния окон и позиций Обработка нескольких экземпляров курсора одновременно

️ Автоматизация ввода

  • Ввод клавиатуры на основе ИИ с поддержкой:
  • Создание и вставка кода
  • Рефакторные операции
  • Контекстно-знающие завершения
  • Редактирование с несколькими курсорами

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

README

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

Cursor MCP (Model Context Protocol)

Cursor MCP is a bridge between Claude’s desktop application and the Cursor editor, enabling seamless AI-powered automation and multi-instance management. It’s part of the broader Model Context Protocol (MCP) ecosystem, allowing Cursor to interact with various AI models and services through standardized interfaces.

Overview

🤖 AI Integration

  • Direct integration with Claude’s desktop application
  • Ability to leverage other MCP-compatible AI services
  • Real-time context sharing between AI and editor
  • AI-powered automation and code generation

🔌 MCP Protocol Support

  • Standardized communication with AI models
  • Extensible plugin system for additional MCPs
  • Context-aware command execution
  • Secure token-based authentication

🖥️ Cross-Platform Window Management

  • Seamlessly manage Cursor editor windows across operating systems
  • Focus, minimize, restore, and arrange windows programmatically
  • Track window state changes and positions
  • Handle multiple Cursor instances simultaneously

⌨️ Input Automation

  • AI-driven keyboard input with support for:
    • Code generation and insertion
    • Refactoring operations
    • Context-aware completions
    • Multi-cursor editing
  • Intelligent mouse automation including:
    • Smart selection
    • Context-menu operations
    • AI-guided navigation

🔄 Process Management

  • AI-orchestrated instance management
  • Smart workspace organization
  • Automatic context preservation
  • Intelligent session recovery

MCP Integration

Claude Desktop Integration

import { ClaudeMCP } from 'cursor-mcp/claude'

// Connect to Claude's desktop app
const claude = await ClaudeMCP.connect()

// Execute AI-powered operations
await claude.generateCode({
    prompt: 'Create a React component',
    context: currentFileContent,
    language: 'typescript'
})

// Get AI suggestions
const suggestions = await claude.getSuggestions({
    code: selectedText,
    type: 'refactor'
})

Using Multiple MCPs

import { MCPRegistry } from 'cursor-mcp/registry'

// Register available MCPs
MCPRegistry.register('claude', ClaudeMCP)
MCPRegistry.register('github-copilot', CopilotMCP)

// Use different AI services
const claude = await MCPRegistry.get('claude')
const copilot = await MCPRegistry.get('github-copilot')

// Compare suggestions
const claudeSuggestions = await claude.getSuggestions(context)
const copilotSuggestions = await copilot.getSuggestions(context)

Custom MCP Integration

import { BaseMCP, MCPProvider } from 'cursor-mcp/core'

class CustomMCP extends BaseMCP implements MCPProvider {
    async connect() {
        // Custom connection logic
    }

    async generateSuggestions(context: CodeContext) {
        // Custom AI integration
    }
}

// Register custom MCP
MCPRegistry.register('custom-ai', CustomMCP)

Configuration

The tool can be configured through environment variables or a config file at:

Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →