Skip to content

Configure Cursor

Configure Endor with Cursor IDE to give your AI agents access to instant development environments. The Composer Agent will automatically use Endor when relevant to your development tasks.

Setup

Configure Endor in Cursor

  1. 1

    Install Endor CLI on your system:

    Terminal window
    npm install -g @endorhq/cli

    For detailed instructions, see the Setup guide

  2. 2
    Create .cursor/mcp.json file in your project root
  3. 3

    Add the Endor configuration:

    {
    "mcpServers": {
    "endor": {
    "command": "endor",
    "args": ["mcp"],
    "env": {}
    }
    }
    }
  4. 4
    Save the file and navigate to Cursor Settings → MCP
  5. 5
    Verify the green active status indicating successful connection
  6. 6
    Enable auto-run in settings to allow automatic tool execution without approval prompts

Usage

Once configured, Cursor’s Composer Agent will automatically suggest using Endor when you need:

  • Database services for development or testing
  • Quick isolated environments for experiments
  • Pre-configured services without local installation

The AI agent can start, stop, and manage services through natural language commands like “start a MariaDB database” or “create a Redis instance for testing”.