Docs

Cursor

Add cadin as a remote MCP server in Cursor. Paste the URL, sign in, and let Agent mode search covered legal sources.

Setup

Cursor supports OAuth for remote MCP servers. cadin returns a 401 on unauthenticated requests, which triggers Cursor's built-in OAuth flow automatically.

  1. 1

    Open Cursor Settings and go to the MCP section.

  2. 2

    Click "Add new MCP server" and select the remote (HTTP) type.

  3. 3

    Paste the cadin MCP URL below and save.

  4. 4

    Cursor opens a browser window, sign in to cadin and approve access.

MCP Server URL

Paste this as the remote MCP server address.

https://mcp.cadin.ai/mcp

File-based configuration

If you prefer file-based configuration, add the snippet below to .cursor/mcp.json in your project root for per-project setup, or ~/.cursor/mcp.json for global availability across all projects. Cursor will still trigger OAuth on first use.

mcp.jsonproject or global config
{
  "mcpServers": {
    "cadin": {
      "url": "https://mcp.cadin.ai/mcp"
    }
  }
}

Using cadin in Cursor

MCP tools are only available in Agent mode (Cmd+I on macOS, Ctrl+I on Windows/Linux). Normal chat does not invoke tools. Once in Agent mode, all 4 cadin document tools are available for source discovery, document browsing, full-text search, and Markdown reads.

Subagents spawned within a conversation automatically inherit all MCP tools, so multi-step legal research workflows work without extra configuration.

Auto-approve tool calls

Cursor's YOLO mode lets you skip the manual approval prompt for each tool call. Look for the setting under Cursor Settings > Features > YOLO mode. cadin tools search and retrieve legal sources without modifying your account data.

YOLO mode behavior with MCP tools has been inconsistent across Cursor versions. If you still see approval prompts, check for updates or approve manually.

Good to know

After a cadin server deploy, existing MCP sessions become invalid. Cursor will re-initialize the session automatically on the next request.

Agent mode is required for tool calls, normal chat and inline edits do not trigger MCP tools.

There is no limit on tool calls within a single Agent mode conversation. Cursor will call as many tools as the task requires.