matthewdcage cursor mcp installer

matthewdcage cursor mcp installer avatar

by matthewdcage

Installs MCPs in cursor for you, give it a git URL and let it rip

What is matthewdcage cursor mcp installer

Cursor MCP Installer

*License: MIT* *npm version* *MCP Compatible* *Cursor IDE* *npm downloads*

📢 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):

{
  "mcpServers": {
    "MCP Installer": {
      "command": "npx",
      "type": "stdio",
      "args": [
        "[email protected]",
        "index.mjs"
      ]
    }
  }
}

Using npm (Global Installation)

npm install -g [email protected]

Then add to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "MCP Installer": {
      "command": "cursor-mcp-installer-free",
      "type": "stdio",
      "args": [
        "index.mjs"
      ]
    }
  }
}

Step 2: Restart Cursor

Close and reopen Cursor to apply the configuration changes.

Step 3: Use Claude to Install Servers

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

Step 4: What You'll See When Installed

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 repositories
  • install_local_mcp_server: Install MCP servers from local directories
  • add_to_cursor_config: Add custom MCP server configurations

Features

  • Install MCP servers from npm packages
  • Install MCP servers from local directories
  • Configure MCP servers for Cursor
  • Add custom MCP server configurations

Prerequisites

Before using this tool, you need to have installed:

  • Node.js (for npm packages)
  • Cursor IDE

Installation

There are several ways to install and use the Cursor MCP Installer:

1. Using npm (Recommended)

npm install -g [email protected]

After installation, add it to your Cursor MCP configuration file:

{
  "mcpServers": {
    "MCP Installer": {
      "command": "cursor-mcp-installer-free",
      "type": "stdio",
      "args": [
        "index.mjs"
      ]
    }
  }
}

2. Using npx (No Installation Required)

You can use npx to run the package without installing it globally:

{
  "mcpServers": {
    "MCP Installer": {
      "command": "npx",
      "type": "stdio",
      "args": [
        "[email protected]",
        "index.mjs"
      ]
    }
  }
}

3. Direct from GitHub

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.

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`

Install with environment variables

Leave a Comment

Frequently Asked Questions

What is MCP?

MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.

What are MCP Servers?

MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.

How do MCP Servers work?

MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.

Are MCP Servers secure?

Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.

Related MCP Servers

chrisdoc hevy mcp avatar

chrisdoc hevy mcp

mcp
sylphlab pdf reader mcp avatar

sylphlab pdf reader mcp

An MCP server built with Node.js/TypeScript that allows AI agents to securely read PDF files (local or URL) and extract text, metadata, or page counts. Uses pdf-parse.

pdf-parsetypescriptnodejs
aashari mcp server atlassian bitbucket avatar

aashari mcp server atlassian bitbucket

Node.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.

atlassianrepositorymcp
aashari mcp server atlassian confluence avatar

aashari mcp server atlassian confluence

Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP interface.

atlassianmcpconfluence
prisma prisma avatar

prisma prisma

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

cockroachdbgomcp
Zzzccs123 mcp sentry avatar

Zzzccs123 mcp sentry

mcp sentry for typescript sdk

mcptypescript
zhuzhoulin dify mcp server avatar

zhuzhoulin dify mcp server

mcp
zhongmingyuan mcp my mac avatar

zhongmingyuan mcp my mac

mcp
zhixiaoqiang desktop image manager mcp avatar

zhixiaoqiang desktop image manager mcp

MCP 服务器,用于管理桌面图片、查看详情、压缩、移动等(完全让Trae实现)

mcp
zhixiaoqiang antd components mcp avatar

zhixiaoqiang antd components mcp

An MCP service for Ant Design components query | 一个减少 Ant Design 组件代码生成幻觉的 MCP 服务,包含系统提示词、组件文档、API 文档、代码示例和更新日志查询

designantdapi

Submit Your MCP Server

Share your MCP server with the community

Submit Now