A Model Context Protocol (MCP) server for installing and configuring other MCP servers within Cursor IDE. The Cursor MCP Installer allows users to easily install MCP servers from npm packages or local directories, configure them for Cursor, and add custom MCP server configurations.
Documentation
Cursor MCP Installer
📢 NOW AVAILABLE ON NPM! Install with a simple npm install -g cursor-mcp-installer-free command or use directly with npx cursor-mcp-installer-free or uvx cursor-mcp-installer-free!
🔄 Latest Updates (v0.1.3): Improved path handling for all MCP server installations, better OpenAPI schema detection, and more robust server discovery in local directories. Thanks to @ItzAmirreza for submitting the initial installation path handling issue. See CHANGELOG.md for details.
Quick Start Guide# Step 1: Add to Cursor Configuration
Choose one of these methods to add the MCP Installer to your Cursor configuration:
Using npx (Easiest - No Installation Required)
Add this to your ~/.cursor/mcp.json file (create it if it doesn't exist):
Replace /path/to/cursor-mcp-installer with the actual path where you've cloned the repository.
Where is the Cursor MCP Configuration File?
The Cursor MCP configuration file is located at:
macOS/Linux: ~/.cursor/mcp.json
Windows: %USERPROFILE%\.cursor\mcp.json
If the file doesn't exist, you can create it with the content from any of the installation methods above.
Path Handling Improvements in v0.1.3
Version 0.1.3 introduces significant improvements to path handling for MCP server installations:
Enhanced Path Resolution
Properly normalizes both relative and absolute paths
Handles paths with spaces and special characters
Ensures consistent path formatting across different operating systems
Better Schema Detection
Now scans all arguments for schema files, not just the first one
Supports more schema file extensions (.yaml, .yml, .json, .openapi)
Properly normalizes schema file paths before passing to servers
Improved Server Discovery
Added detection of common server entry points in local directories
Enhanced support for Python-based MCP servers
Better error reporting for path-related issues
These improvements make the MCP Installer more robust for all types of server installations, especially when dealing with custom file paths, OpenAPI schemas, and local directory installations.
Usage
Once installed, you can use Claude or Cursor to interact with the MCP Installer. Here are some example prompts:
Install an npm package as an MCP server
Install the MCP server named mcp-server-fetch
Install with arguments
Install the @modelcontextprotocol/server-filesystem package as an MCP server. Use ['/home/user/documents'] for the arguments
Install a local MCP server
Install the MCP server at /home/user/projects/my-mcp-server