Skip to main content

Configuration

Global Setup

  1. Open the Roo Code MCP settings panel by clicking the MCP icon
  2. Click “Edit Global MCP”
  3. Add the Operator configuration:
{
  "mcpServers": {
    "operator": {
      "command": "npx",
      "args": ["-y", "operator-mcp-server"],
      "env": {
        "OPERATOR_API_KEY": "your-api-key-here"
      }
    }
  }
}

Project-Level Setup

Create .roo/mcp.json in your project directory with the same configuration. Project settings take precedence over global settings.

Windows Users

On Windows, invoke npx through cmd.exe:
{
  "mcpServers": {
    "operator": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "operator-mcp-server"],
      "env": {
        "OPERATOR_API_KEY": "your-api-key-here"
      }
    }
  }
}
Get your API key from app.operator.io.

Enable the Server

  1. Make sure “Enable MCP Servers” is turned on in the MCP settings panel
  2. You should see Operator listed in your configured servers
  3. Click the toggle to start the server if it is not already running

Usage

Once enabled, Roo Code can call Operator when it needs to search for documentation, debug errors, or find implementation examples.