> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Kameleoon documentation with AI

> Connect Kameleoon documentation to your AI assistant or agentic workflow using built-in per-page options and an MCP server.

Every page in the Kameleoon documentation includes built-in options for connecting content to your AI tools. Use them to ask questions about an individual article in one click, or configure a persistent MCP server that gives your IDE or AI agent access to the full documentation.

## Per-page options

A contextual menu at the top of each article provides the following actions:

| Option                | What it does                                                                                                               |
| --------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| **Copy**              | Copies the page as plain text for direct use in any chat.                                                                  |
| **Open in ChatGPT**   | Opens the current page in a new ChatGPT conversation.                                                                      |
| **Open in Claude**    | Opens the current page in a new Claude.ai conversation.                                                                    |
| **Copy MCP Server**   | Copies the Kameleoon docs MCP server configuration for use in Claude Desktop, Cursor, VS Code, or any MCP-compatible tool. |
| **Connect to Cursor** | Generates a configuration snippet to add the Kameleoon docs as a persistent knowledge source in Cursor.                    |
| **Open in VS Code**   | Opens the page context in VS Code Copilot Chat.                                                                            |

## Configure a persistent docs MCP server

For ongoing use, connect the Kameleoon docs as a persistent MCP server so your AI assistant can answer documentation questions without copying individual pages each time.

### Step 1: Copy the MCP server configuration

Open any page in the Kameleoon docs and click **Copy MCP Server** from the contextual menu at the top of the article. Clicking this option copies a pre-configured snippet for the Kameleoon docs MCP server.

### Step 2: Add the server to your tool

<Tabs>
  <Tab title="Claude Desktop">
    1. Open your Claude Desktop configuration file:
       * **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
       * **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
    2. Paste the copied snippet into the `mcpServers` object.
    3. Save the file and restart Claude Desktop.

    After restarting, start a new conversation and ask a documentation question, for example: "How do I set up a feature flag in the Python SDK?" or "What statistical methods does Kameleoon support?"
  </Tab>

  <Tab title="Cursor">
    Select **Connect to Cursor** from the contextual menu on any docs page, or:

    1. Copy the MCP server configuration using **Copy MCP Server**.
    2. Open Cursor Settings (`Cmd+Shift+J` on macOS, `Ctrl+Shift+J` on Windows) and go to **Features > MCP Servers**.
    3. Click **+ Add New MCP Server** and paste the configuration.
    4. In Cursor's Agent chat, ask documentation questions: "What targeting options are available in Kameleoon?"
  </Tab>

  <Tab title="VS Code">
    1. Select **Open in VS Code** from the contextual menu, or paste the snippet from **Copy MCP Server** into your VS Code MCP configuration.
    2. In GitHub Copilot Chat or another MCP-compatible extension, ask questions about Kameleoon documentation inline while you code.
  </Tab>
</Tabs>

## What the docs MCP server can do

After you connect the Kameleoon docs MCP server, your AI assistant can:

* Answer questions about any topic covered in the Kameleoon documentation.
* Retrieve and summarize articles from the user manual and developer docs.
* Walk you through setup guides, SDK references, and API documentation step by step.

<Note>
  The docs MCP server provides read access to documentation. To manage feature flags, retrieve experiment results, or automate your implementation workflow from an AI assistant, see the [Kameleoon MCP server](/mcp/mcp-server).
</Note>
