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:
Open claude.ai and sign in (requires Pro, Max, Team, or Enterprise plan).
Click your profile icon > Settings > Connectors.
Click + then Add custom connector.
Add the server URL:
https://api-retrieval.kai-studio.ai/mcpComplete the OAuth flow in the browser popup.
To add the Audit MCP, repeat step 3 with URL https://api-audit.kai-studio.ai/mcp.
Le Chat does not expose a public deep-link scheme. Add the connector through the web UI:
Open chat.mistral.ai and sign in.
Click the toggle panel button (sidebar).
Expand Intelligence > click Connectors.
Click + Add Connector > select the Custom MCP Connector tab.
Fill in the form:
Connector name:
kai-retrievalConnection server:
https://api-retrieval.kai-studio.ai/mcpDescription: K-AI document retrieval
Authentication: OAuth 2.1 (auto-detected)
Click Connect and complete the OAuth authentication flow.
In any chat, click the Tools button (four-squares icon) and enable the
kai-retrievalconnector.
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
Read the full K-AI MCP overview.
Try the K-AI MCP cookbook (Recipe 1 — Find documents on a topic).
Add the Audit MCP to your client too: Connect a client.
Last updated