Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt

Use this file to discover all available pages before exploring further.

You can set up Cursor with Corsair through the dashboard or in code.

In the dashboard

  1. Sign in at app.corsair.dev.
  2. Open Dashboard and click New instance.
  3. Open your instance and click Add Plugin to enable an integration (e.g. GitHub, Slack).
  4. Click New User to add a tenant — enter a tenant ID and click Save.
  5. Connect the integration for that tenant: click the cell where the tenant row meets the plugin column, then sign in with OAuth or enter credentials.
  6. Click the tenant name in the first column to open the side panel.
  7. Copy the MCP URL and create an API key (New key → name → Create → copy the secret once).
Quick Start is an optional guided demo if you want Corsair to provision a sample instance for you.

In code

Configure Cursor

Add .cursor/mcp.json in your project root (or ~/.cursor/mcp.json globally):
.cursor/mcp.json
{
  "mcpServers": {
    "corsair": {
      "url": "https://api.corsair.dev/mcp/YOUR_INSTANCE_ID?tenantId=your-tenant-id",
      "headers": {
        "Authorization": "Bearer ${env:CORSAIR_MCP_SECRET}"
      }
    }
  }
}
Replace url with the MCP URL from the dashboard. Set CORSAIR_MCP_SECRET to the tenant API key secret (ch_...). Restart Cursor, then check Settings → Cursor Settings → MCPcorsair should be connected.

With the SDK

import { createClient } from "@corsair-dev/app";

const key = await createClient({ apiKey: process.env.CORSAIR_DEV_KEY! })
  .instance(process.env.CORSAIR_INSTANCE_ID!)
  .tenant("your-tenant-id")
  .mcpKeys.create("cursor");

console.log(key.mcpHttpUrl);
console.log(key.secret); // shown once

Try it

Run a prompt in Cursor Agent (Cmd+I). If you connected GitHub, try:
Use Corsair to star the Corsair repo on GitHub