by matthewdcage
Installs Model Context Protocol servers within Cursor IDE by providing a Git URL, npm package, or local directory, handling path resolution, schema detection, and configuration automatically.
Cursor MCP Installer is a tool that streamlines the installation and configuration of MCP servers inside the Cursor IDE. By simply providing a repository URL, npm package name, or path to a local directory, it takes care of locating entry points, normalizing paths, and adding the server to Cursor's MCP configuration.
npx
without a global install:
{
"mcpServers": {
"MCP Installer": {
"command": "npx",
"type": "stdio",
"args": [
"cursor-mcp-installer-free@0.1.3",
"index.mjs"
]
}
}
}
Save this in ~/.cursor/mcp.json
(or the Windows equivalent).Install the web search MCP server
Install the MCP server for OpenAPI schema exploration with my-schema.yaml
.yaml
, .yml
, .json
, .openapi
).npx
without global installation.mcp.json
– Seamlessly integrates with existing Cursor setups.mcp.json
entry; each team member can install the same set of servers with one command.Q: Do I need to install Node.js? A: Yes, Node.js is required for the npm‑based installation path.
Q: Can I use a specific version of the installer?
A: Specify the version in the npx
argument, e.g., cursor-mcp-installer-free@0.1.3
.
Q: What if my repository uses Python? A: The installer includes detection for Python entry points and will set up the appropriate command.
Q: Where is the MCP configuration file stored?
A: ~/.cursor/mcp.json
on macOS/Linux and %USERPROFILE%\.cursor\mcp.json
on Windows.
Q: How does the installer handle environment variables? A: You can manually add any needed env vars to the server configuration after installation.
📢 NOW AVAILABLE ON NPM! Install with a simple
npm install -g cursor-mcp-installer-free
command or use directly withnpx cursor-mcp-installer-free
oruvx 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.
Choose one of these methods to add the MCP Installer to your Cursor configuration:
Add this to your ~/.cursor/mcp.json
file (create it if it doesn't exist):
{
"mcpServers": {
"MCP Installer": {
"command": "npx",
"type": "stdio",
"args": [
"cursor-mcp-installer-free@0.1.3",
"index.mjs"
]
}
}
}
npm install -g cursor-mcp-installer-free@0.1.3
Then add to your ~/.cursor/mcp.json
:
{
"mcpServers": {
"MCP Installer": {
"command": "cursor-mcp-installer-free",
"type": "stdio",
"args": [
"index.mjs"
]
}
}
}
Close and reopen Cursor to apply the configuration changes.
Ask Claude to install any MCP server for you:
Install the web search MCP server
or
Install the MCP server for OpenAPI schema exploration with my-schema.yaml
Once properly installed and Cursor is restarted, you'll see the MCP Installer available in the sidebar when using Claude:
The MCP Installer provides three main tools:
install_repo_mcp_server
: Install MCP servers from npm packages or repositoriesinstall_local_mcp_server
: Install MCP servers from local directoriesadd_to_cursor_config
: Add custom MCP server configurationsBefore using this tool, you need to have installed:
There are several ways to install and use the Cursor MCP Installer:
npm install -g cursor-mcp-installer-free@0.1.3
After installation, add it to your Cursor MCP configuration file:
{
"mcpServers": {
"MCP Installer": {
"command": "cursor-mcp-installer-free",
"type": "stdio",
"args": [
"index.mjs"
]
}
}
}
You can use npx to run the package without installing it globally:
{
"mcpServers": {
"MCP Installer": {
"command": "npx",
"type": "stdio",
"args": [
"cursor-mcp-installer-free@0.1.3",
"index.mjs"
]
}
}
}
Clone the repository and build it locally:
# Clone the repository
git clone https://github.com/matthewdcage/cursor-mcp-installer.git
cd cursor-mcp-installer
# Install dependencies and build
npm install
npm run build
Then configure Cursor to use your local installation:
{
"mcpServers": {
"MCP Installer": {
"command": "node",
"type": "stdio",
"args": [
"/path/to/cursor-mcp-installer/lib/index.mjs"
]
}
}
}
Replace /path/to/cursor-mcp-installer
with the actual path where you've cloned the repository.
The Cursor MCP configuration file is located at:
~/.cursor/mcp.json
%USERPROFILE%\.cursor\mcp.json
If the file doesn't exist, you can create it with the content from any of the installation methods above.
Version 0.1.3 introduces significant improvements to path handling for MCP server installations:
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.
Once installed, you can use Claude or Cursor to interact with the MCP Installer. Here are some example prompts:
Install the MCP server named mcp-server-fetch
Install the @modelcontextprotocol/server-filesystem package as an MCP server. Use ['/home/user/documents'] for the arguments
Install the MCP server at /home/user/projects/my-mcp-server
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "Cursor MCP Installer": { "command": "npx", "args": [ "cursor-mcp-installer-free@0.1.3", "index.mjs" ] } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.