Cursor IDE Integration

Configure Cursor IDE to connect with your StarTree MCP Server for natural language analytics directly within your development environment.

Prerequisites

Configuration Steps

Since you already have a working .env file in your mcp-pinot directory, Cursor will automatically use those settings. No need to duplicate configuration! Create or edit ~/.cursor/mcp.json
{
  "mcpServers": {
    "pinot": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-pinot",
        "run",
        "mcp_pinot/server.py"
      ]
    }
  }
}
Replace /path/to/mcp-pinot with the absolute path to your mcp-pinot directory Add this config in Cursor MCP global settings Screenshot2025 06 04at7 42 51AM Pn

Restart Cursor IDE

Completely restart Cursor IDE for the configuration to take effect.

Verify Connection

Try asking questions related to Pinot: Screenshot2025 06 04at7 44 46AM Pn