SecureAuth AI Gateway
IntegrationsAgents

Cursor

Connect Cursor to SecureAuth AI Gateway

The AI-first code editor and CLI with built-in MCP support.

Setup

  1. Add the MCP server — Add the following to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for global):
{
  "mcpServers": {
    "secureauth": {
      "url": "https://your-gateway-url/gateway/mcp"
    }
  }
}
  1. Authenticate
agent mcp login secureauth

Or authenticate via the browser prompt on first MCP tool use in the editor.

The agent is auto-registered on first connect. Works in both the editor and CLI (agent).

On this page