For the complete documentation index, see llms.txt. This page is also available as Markdown.

Quickstart — K-AI MCP

Five minutes to your AI agent answering questions on your K-AI knowledge. Works with Claude Desktop, Cursor, and Mistral Le Chat. Auth happens once via OAuth — a single sign-in grants access to every K-AI instance you're entitled to.

Prerequisites

  • A K-AI user account.

  • One of: Cursor (≥ 0.42), Claude Desktop (latest), Mistral Le Chat (web).

Install

⚡ Install KAI Retrieval ⚡ Install KAI Audit

Manual fallback — add to your Cursor MCP config (~/.cursor/mcp.json or .cursor/mcp.json in a project):

{
  "mcpServers": {
    "kai-retrieval": {
      "url": "https://api-retrieval.kai-studio.ai/mcp"
    },
    "kai-audit": {
      "url": "https://api-audit.kai-studio.ai/mcp"
    }
  }
}

Note: on some Linux distributions (notably Debian), cursor:// deep-links may fail to open the app. Use the manual config if the buttons don't work.

Claude Desktop does not expose a public deep-link scheme for MCP installation. Add the connector through the web UI:

  1. Open claude.ai and sign in (requires Pro, Max, Team, or Enterprise plan).

  2. Click your profile icon > Settings > Connectors.

  3. Click + then Add custom connector.

  4. Add the server URL: https://api-retrieval.kai-studio.ai/mcp

  5. Complete the OAuth flow in the browser popup.

To add the Audit MCP, repeat step 3 with URL https://api-audit.kai-studio.ai/mcp.

Remote MCP servers must be added through the web UI Custom Connectors, not via claude_desktop_config.json. The config file is intended for local stdio servers only.

Le Chat does not expose a public deep-link scheme. Add the connector through the web UI:

  1. Open chat.mistral.ai and sign in.

  2. Click the toggle panel button (sidebar).

  3. Expand Intelligence > click Connectors.

  4. Click + Add Connector > select the Custom MCP Connector tab.

  5. Fill in the form:

    • Connector name: kai-retrieval

    • Connection server: https://api-retrieval.kai-studio.ai/mcp

    • Description: K-AI document retrieval

    • Authentication: OAuth 2.1 (auto-detected)

  6. Click Connect and complete the OAuth authentication flow.

  7. In any chat, click the Tools button (four-squares icon) and enable the kai-retrieval connector.

Note: Adding Custom Connectors may require Admin privileges on the Le Chat account.

First call

Once installed, in your client's chat: ask "What K-AI instances do I have access to?" The host LLM should call retrieval_instances_list_available_instances and report a list.

Next steps

Last updated