agent sdk/Working with Coding AgentsOfficial

Model Context Protocol (MCP) Server

Connect Cursor, Claude Desktop, Antigravity, and Zed directly to Unlocked AI with native MCP tools.


Universal Model Context Protocol Support

The official `@unlockedai/mcp` server allows your AI coding assistants and desktop agents to natively invoke 21+ frontier models, run parallel multi-model deliberations, track credit balances in real time, and log edge cases. Compatible with **Cursor**, **Claude Desktop**, **Antigravity**, **Windsurf**, and **Zed**.
Zero Local Build Required
You can run the server directly using `npx -y @unlockedai/mcp` without installing global dependencies.

Cursor IDE Configuration

Create or edit `.cursor/mcp.json` in your project root (or navigate to **Cursor Settings > Features > MCP Servers**):
{
  "mcpServers": {
    "unlockedai": {
      "command": "npx",
      "args": ["-y", "@unlockedai/mcp"],
      "env": {
        "UNLOCKEDAI_API_KEY": "sk-unlocked-YOUR_API_KEY"
      }
    }
  }
}

Claude Desktop Configuration

Add the server definition to your `claude_desktop_config.json`:
{
  "mcpServers": {
    "unlockedai": {
      "command": "npx",
      "args": ["-y", "@unlockedai/mcp"],
      "env": {
        "UNLOCKEDAI_API_KEY": "sk-unlocked-YOUR_API_KEY"
      }
    }
  }
}

Available MCP Tools & Actions

Tool NameInput ParametersDescription
unlocked_chatprompt, model, system_prompt, reasoning_effortExecutes a prompt across any model on Unlocked AI with optional reasoning depth.
unlocked_multi_model_deliberateprompt, models, system_promptQueries 2-3 frontier models in parallel (e.g. DeepSeek R1 + Claude Sonnet) for code audits.
unlocked_list_modelstier (optional)Returns active models, credit costs, and providers.
unlocked_check_balancenoneInspects active key validity and remaining credit balance.
unlocked_report_feedbacktitle, description, typeSubmits bugs or model edge cases directly to the Unlocked AI roadmap.

Need an Unlocked AI Key or Credits?

Generate secret API keys backed by non-expiring pay-as-you-go credits starting at $5. No monthly minimums.