Cursor MCP Server

Betadevelopment
95 starsTypeScriptcommunity
GitHub
About

Overview

The Cursor MCP Server enables AI agents to interact with the Cursor AI-powered code editor. It provides tools for accessing editor state, navigating code, understanding project context, and leveraging Cursor's AI features for code generation and editing.
Capabilities

Tools & Capabilities

get_open_files

Get currently open files

get_active_file

Get the active file content

search_codebase

Search across the project codebase

get_diagnostics

Get TypeScript/ESLint diagnostics

Setup

Installation

bash
Install
npx -y mcp-server-cursor
Examples

Example Usage

javascript
Usage
{
  "mcpServers": {
    "cursor": {
      "command": "npx",
      "args": ["-y", "mcp-server-cursor"]
    }
  }
}

Quick Info

Authorcommunity
LanguageTypeScript
StatusBeta
Stars 95
Last UpdatedFeb 12, 2026

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.