Skip to content

Claude Code

Connect to https://mcp.klozeo.com/mcp with an API key from the Klozeo dashboard, as shown below, or with browser login.

  1. Add Klozeo with the HTTP transport and your API key:

    Terminal window
    claude mcp add klozeo \
    --transport http \
    https://mcp.klozeo.com/mcp \
    --header "Authorization: Bearer sk_live_your_key"

    Replace the placeholder with your key. Keep this configuration private and out of version control. If klozeo already exists, remove that MCP entry with claude mcp remove klozeo before adding the new configuration.

  2. Check the connection:

    Terminal window
    claude mcp list

    Look for klozeo with status Connected. Use /mcp inside Claude Code to inspect the available tools.

  3. Ask Claude to use Klozeo, for example:

    List my five most recent leads in Paris.

Add the server without a header:

Terminal window
claude mcp add klozeo --transport http https://mcp.klozeo.com/mcp

Run /mcp inside Claude Code, select klozeo and choose Authenticate. Claude Code opens Klozeo in your browser; sign in, select one or more workspaces and approve access.

Browser login gives the twelve assistant tools with read access first; writing needs a separate approval in Klozeo. It can reach several workspaces; an API key reaches only the workspace it was created in. With several workspaces, the assistant lists them with list_workspaces and names the workspace in each call (see Several workspaces). Keys, webhooks, scoring, attributes, deletions and batches need an API key. See Authentication.

A missing, invalid or revoked key receives HTTP 401. Replace it with a valid dashboard key and reconnect. A new key creates a new MCP session; it cannot reuse a session established with another key. If the API is temporarily unavailable, MCP returns 503 and you can retry later.

The OpenAI OAuth endpoint /openai/v1/mcp is a separate integration and does not accept API keys.

The local connection recipe uses Claude Code 2.1.311, claude mcp list, a local MCP server and a synthetic API-key fixture. It checks connection setup without an LLM call. It does not certify the deployed service or every Claude Code version.