1.0.10 • Published 7 months ago

cursor-mcp v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Cursor MCP (Model Context Protocol) Server

This is an implementation of the Model Context Protocol server for Cursor.ai integration, allowing Claude to interact with the Cursor code editor.

Features

  • Real-time code indexing and analysis
  • Bi-directional communication with Claude
  • Support for multiple concurrent sessions
  • Automatic reconnection handling
  • Comprehensive error handling and logging
  • TypeScript implementation with full type safety

Installation

npm install @modelcontextprotocol/cursor-mcp

Usage

import CursorMCP from '@modelcontextprotocol/cursor-mcp';

const cursorMcp = new CursorMCP('ws://localhost:3000');

// Start the MCP server
await cursorMcp.start();

// Stop the server when done
await cursorMcp.stop();

Configuration

The server can be configured through the cursor.config.ts file, which includes settings for:

  • Code analysis rules
  • Context sharing parameters
  • Agent crosstalk settings
  • Indexing configuration

Development

Setup

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

Testing

# Run tests
npm test

# Run linter
npm run lint

# Format code
npm run format

License

MIT

1.0.10

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago