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-cursorExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"cursor": {
"command": "npx",
"args": ["-y", "mcp-server-cursor"]
}
}
}Quick Info
Authorcommunity
LanguageTypeScript
StatusBeta
Stars★ 95
Last UpdatedFeb 12, 2026