Cursor MCP Server
Facilitates integration with the Cursor code editor by enabling real-time code indexing, analysis, and bi-directional communication with Claude, supporting concurrent sessions and automatic reconnection.
Buga-luga
Tools
get-alerts
Get weather alerts for a state
get-forecast
Get weather forecast for a location
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.
<a href="https://glama.ai/mcp/servers/4fg1gxbcex"><img width="380" height="200" src="https://glama.ai/mcp/servers/4fg1gxbcex/badge" alt="Cursor Server MCP server" /></a>
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
-
Prerequisites
- Node.js v18 or higher
- Cursor IDE
- Windows 10 or higher
-
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
-
Configuration
- Create a
.env
file in your project root:# Windows path example DEFAULT_WORKSPACE_PATH=C:/Users/YourUsername/Documents/cursor-workspaces
- Create a
-
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"] } }
-
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
-
Clone and install:
git clone https://github.com/yourusername/cursor-mcp.git cd cursor-mcp npm install
-
Create environment config:
cp .env.example .env
Edit
.env
and set your workspace path:DEFAULT_WORKSPACE_PATH=C:/Users/YourUsername/Documents/cursor-workspaces
-
Build and run:
# Development mode with hot reload npm run dev # Production mode npm run build npm start
Troubleshooting
-
Window Detection Issues
- Ensure Cursor IDE is running
- Try restarting the MCP server
- Check if your workspace path is correct
-
Permission Issues
- Run terminal as administrator for first-time setup
- Ensure proper file permissions in workspace directory
-
Node Version Issues
- Use
nvm
to switch to Node.js v18 or higher:nvm install 18 nvm use 18
- Use
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 TypeScriptnpm start
- Run production servernpm run dev
- Start development server with hot-reload
Contributing
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature
) - Commit changes (
git commit -m 'Add feature'
) - Push to branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
MIT License - see LICENSE file for details.
Support
For support:
- Open an issue in the GitHub repository
- Join our Discord community
- Check the FAQ
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Gitingest-MCP
An MCP server for gitingest. It allows MCP clients like Claude Desktop, Cursor, Cline etc to quickly extract information about Github repositories including repository summaries, project directory structure, file contents, etc
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.