by matthewdcage
Cursor MCP Installer is a tool designed to simplify the installation and configuration of Model Context Protocol (MCP) servers within the Cursor IDE, acting as a central hub for extending Cursor's capabilities by integrating various MCP functionalities.
Cursor MCP Installer is a tool designed to simplify the installation and configuration of Model Context Protocol (MCP) servers within the Cursor IDE. It allows users to easily add and manage various MCP servers, whether they are available as npm packages, local directories, or Git repositories. This tool acts as a central hub for extending the capabilities of Cursor IDE by integrating different MCP functionalities.
To use Cursor MCP Installer, you first need to add it to your Cursor configuration. This can be done by modifying the ~/.cursor/mcp.json
file. There are three primary methods for installation:
mcp.json
file that points to npx
and the cursor-mcp-installer-free
package.npm install -g cursor-mcp-installer-free
and then add a corresponding JSON configuration to mcp.json
.mcp.json
.After configuring, restart Cursor. You can then interact with the MCP Installer through Claude (Cursor's AI assistant) by giving commands like "Install the web search MCP server" or "Install the MCP server for OpenAPI schema exploration."
Where is the Cursor MCP Configuration File?
~/.cursor/mcp.json
%USERPROFILE%\.cursor\mcp.json
What are the prerequisites for using this tool?
How do I install an npm package as an MCP server?
How do I install a local MCP server?
What are the latest updates in v0.1.3?
📢 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
Reviews feature coming soon
Stay tuned for community discussions and feedback