Beta

The Partner Trading API v1 is in beta — endpoints and response shapes may still change.

Developers
Cru World Wine
API v1 · REST & MCP
Connect an assistant

Connect a developer tool

Coding agents and editors add Cru with a command or a settings file, then open Cru’s sign-in page in your browser. The values below are for Cru’s United States market: choose another market or environment in the masthead and they follow.

Claude Code

Anthropic’s coding agent, in your terminal

  1. Add Cru to your assistant

    In a terminal, run:

    Terminal
    claude mcp add --transport http --scope user cru-us https://us.cruworldwine.com/api/mcp
  2. Start the sign-in

    Start Claude Code, run /mcp, choose cru-us and Authenticate.

  3. Sign in and choose permissions

    Cru’s sign-in page opens in your browser. Choose what Claude Code can see and do, then Allow. Claude Code receives the token on a local address.

Good to know

  • --scope user makes Cru available in every project. Leave it out to add Cru to this project only.
  • Added Cru on claude.ai already? It’s in Claude Code too when you sign in with the same Claude account.

Codex

OpenAI’s coding agent: the CLI, IDE extension and desktop app

  1. Add Cru to your assistant

    In a terminal, run:

    Terminal
    codex mcp add cru-us --url https://us.cruworldwine.com/api/mcp
  2. Start the sign-in

    Then run:

    Terminal
    codex mcp login cru-us
  3. Sign in and choose permissions

    Cru’s sign-in page opens in your browser. Choose what Codex can see and do, then Allow.

Good to know

  • The CLI, IDE extension and desktop app share ~/.codex/config.toml, so adding Cru once puts it in all three.

Gemini CLI

Google’s agent in your terminal, outside the United States too

  1. Add Cru to your assistant

    In a terminal, run:

    Terminal
    gemini mcp add --transport http -s user cru-us https://us.cruworldwine.com/api/mcp
  2. Start the sign-in

    Start Gemini CLI and run /mcp auth cru-us.

  3. Sign in and choose permissions

    Cru’s sign-in page opens in your browser. Choose what Gemini can see and do, then Allow.

Good to know

  • Editing ~/.gemini/settings.json by hand? Use httpUrl for Cru’s URL, not url, which means an older kind of server.
  • Since June 2026, Antigravity CLI replaces Gemini CLI for free and Google One accounts. There, add Cru to ~/.gemini/config/mcp_config.json with serverUrl set to Cru’s URL, then choose Authenticate under Agent settings → Customizations.

Cursor

The AI code editor

  1. Add Cru to your assistant

    Add this to ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:

    mcp.json
    {
      "mcpServers": {
        "cru-us": {
          "url": "https://us.cruworldwine.com/api/mcp"
        }
      }
    }
  2. Start the sign-in

    Open Customize in Cursor’s sidebar, find cru-us and sign in.

  3. Sign in and choose permissions

    On Cru’s sign-in page, choose what Cursor can see and do, then Allow.

Good to know

  • Cursor registers itself with Cru, so there is no client ID to add to the file.

VS Code

GitHub Copilot in Visual Studio Code

  1. Add Cru to your assistant

    Run MCP: Add Server from the Command Palette and choose HTTP.

  2. Enter the connection details

    Paste Cru’s server URL, then the name, and choose Global.

    Server URL
    https://us.cruworldwine.com/api/mcp
    Connection name
    cru-us
  3. Sign in and choose permissions

    When VS Code asks to sign in to Cru, choose Allow. On Cru’s sign-in page, choose what Copilot can see and do, then Allow.

  4. Start your first conversation

    Ask Copilot Chat in Agent mode.

Good to know

  • Prefer a file? Add cru-us under servers in mcp.json, with "type": "http" and Cru’s URL as url.
  • An organisation’s Copilot policy can turn MCP servers off.

Once it is connected

What each permission on Cru’s sign-in page gives the assistant, and how a trade is confirmed, is under choosing what it may do. If it does not connect, see the common causes.

UP NEXT Other assistants
Cru World Wine Developers · Partner Trading API v1
Based on the API as built on 15 October 2026.

API credentials

Enter the client key and secret issued by Cru. They are kept for this browser tab’s session — a reload keeps them, closing the tab or clearing them ends them.

Credentials are never included in copied examples, and are redacted from anything the console prints back.

Request API access

Tell us who you are and what you want to build. Cru issues a client key and secret for your organisation, scoped to what you need.

Markets you trade in (choose one or more)
What do you plan to use it for? (choose one or more)

An app for Cru customers can register itself and start now: Connected apps.

We use what you send here to reply about API access, and for nothing else. Cloudflare Turnstile checks the form for bots (privacy policy).