# Cursor — OpenGen Setup

> Preview a URL-only MCP configuration and authorize through Cursor.

- **Client kind:** Local agent
- **Integration approach:** Streamable HTTP MCP or OpenGen CLI
- **Verification status:** DOCUMENTED ONLY (LIVE INTEROPERABILITY UNVERIFIED)
- **Reviewed:** 2026-11-03
- **Canonical HTML:** https://opengen.dev/docs/clients/cursor
- **Source reference:** [Cursor MCP documentation](https://cursor.com/docs/mcp)

## Agent Prompt

```text
Walk the user through connecting Cursor to OpenGen (https://opengen.dev/mcp for authenticated read+generate OAuth, https://opengen.dev/mcp/readonly for zero-auth catalog discovery, or @opengen-dev/cli for shell workflows) following https://opengen.dev/docs/clients/cursor.md. Review configuration commands before running them, keep credentials out of prompts and version control, and verify read-only access (balance / find_models / opengen doctor) before proposing any paid generation.
```

## Setup Steps

1. Open Cursor’s Customize page to manage MCP servers, or review a change to your chosen mcp.json.
2. Add the URL-only entry below while preserving your other servers. Let Cursor initiate OAuth rather than adding a bearer header.
3. Review the selected OpenGen workspace and permissions in your browser; then check that catalog tools are available.

## Configuration & Commands

### Entry to merge into your existing settings

```json
{
  "mcpServers": {
    "opengen": {
      "url": "https://opengen.dev/mcp"
    }
  }
}
```

## Verification Evidence & Cautions

**Important boundaries:** OpenGen accepts Cursor’s documented HTTPS callback and explicit-port localhost callback when registered exactly. No Cursor version has been tested with OpenGen.

## Related Links

- [All Agent Clients & Support Matrix](https://opengen.dev/docs/clients.md)
- [MCP Integration Guide](https://opengen.dev/docs/mcp.md)
- [Quickstart Guide](https://opengen.dev/docs/quickstart.md)
- [Installable Skill (skill.md)](https://opengen.dev/skill.md)
- [AI Index (llms.txt)](https://opengen.dev/llms.txt)
