Cursor is a popular AI-powered code editor that supports MCP (Model Context Protocol) integration. This guide shows you how to connect Cursor to your MetaMCP endpoints for enhanced coding capabilities. Also refer to Cursor’s doc on MCP https://docs.cursor.com/context/mcp

Prerequisites

Before starting, ensure you have:
  • Cursor IDE installed and running
  • MetaMCP running locally or deployed
  • Active endpoint configured in MetaMCP
  • API key generated (if authentication is enabled)

Basic Configuration

Simple mcp.json Setup

Create or edit your mcp.json file in Cursor’s configuration directory:
{
  "mcpServers": {
    "MetaMCP": {
      "url": "http://localhost:12008/metamcp/your-endpoint-name/mcp"
    }
  }
}

Configuration Options

Transport Types

MetaMCP supports different transport protocols. Streamable HTTP is recommended for Cursor:

Authentication Methods