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

# Model Context Protocol

> Connect Qode API docs to AI tools.

This documentation supports the **Model Context Protocol (MCP)**. You can connect Qode's API reference directly to AI tools like **Claude** or **Cursor**.

When connected, the AI immediately understands your:

* **Paths**
* **Parameters**
* **Security model** (Bearer token)
* **Input/output schemas**
* **Event models** (like `interview.completed`)
* **Custom Qode objects** (like `InterviewSignals`)

### Example Prompts

Now you can literally ask:

* "Generate a request to create a candidate interview in Qode."
* "Explain the fields in `GetInterviewResponse`."
* "Generate a TypeScript function that handles Qode webhooks."

## Client Setup

You can connect this documentation to your favorite AI tools by using the hosted MCP server URL.

<Note>
  The MCP server is hosted at your documentation's URL with the `/mcp` path. For
  example: `https://docs.qode.world/mcp`
</Note>

### Claude

1. Open your [Claude Settings](https://claude.ai/settings).
2. Navigate to **Developer** > **Edit MCP Servers**.
3. Add a new server:
   * **Name**: Qode API
   * **URL**: `https://docs.qode.world/mcp` (Replace with your actual docs URL)
4. Click **Save**.
5. In any chat, click the 🔌 icon to verify Qode API is connected.

### Cursor

1. Open **Cursor Settings** (`Cmd + ,`).
2. Go to **General** > **MCP Servers**.
3. Click **Add New MCP Server**.
4. Enter the URL: `https://docs.qode.world/mcp` (Replace with your actual docs URL).
5. The server should appear in your list of active tools.

### VS Code

1. Install the **MCP** extension if available or use an MCP-compatible AI assistant extension.
2. Configure your extension settings to include the Qode MCP server URL:
   ```json theme={null}
   {
     "mcpServers": {
       "Qode API": {
         "url": "https://docs.qode.world/mcp"
       }
     }
   }
   ```
3. Restart VS Code to apply changes.
