---
title: "MCP server"
description: "Use your chatbot in Claude, Cursor and other AI tools through the Model Context Protocol."
canonical_url: "https://aiduko.com/docs/chatbots/mcp"
---

> Index of every page on this site: [llms.txt](https://aiduko.com/llms.txt)

Every chatbot is also an **MCP server**. AI tools that support the [Model Context Protocol](https://modelcontextprotocol.io), such as Claude Code, Claude Desktop and Cursor, can then ask your chatbot directly. The answers come from the same knowledge as on your website and link the same sources. You don't build any UI for this.

## Connect a tool

The server URL is the same for all chatbots: `https://aiduko.com/api/v1/mcp`. The API key decides which chatbot answers. Create a key on the chatbot's **API** tab (see [Chat API](https://aiduko.com/docs/chatbots/api#create-an-api-key)); the tab also shows ready-made setups to copy.

**Claude Code**

```bash
claude mcp add --transport http aiduko https://aiduko.com/api/v1/mcp --header "Authorization: Bearer YOUR_API_KEY"
```

**Cursor** (`.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "aiduko": {
      "url": "https://aiduko.com/api/v1/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}
```

**Claude Desktop** (`claude_desktop_config.json`, needs Node.js)

```json
{
  "mcpServers": {
    "aiduko": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://aiduko.com/api/v1/mcp", "--header", "Authorization: Bearer YOUR_API_KEY"]
    }
  }
}
```

Anyone who has the key can use your budget. Give each person or tool its own key, so you can revoke it on its own.

## Tools

- **ask:** answers a question from your knowledge, with citations like `[1]` and the source URLs below the answer. An optional `conversation_id` groups follow-up questions in **Chats**.
- **search:** returns the best-matching passages with their URLs, without writing an answer. It is only offered while **Show answer sources** is on, see [Set the behavior](https://aiduko.com/docs/chatbots/behavior).

The behavior settings apply as on your website: instructions, conversation style, corrections and the source display.

## Usage and limits

MCP calls count like chat API requests: against the key's rate limit and monthly budget and against your team's monthly tokens. A search only uses a few tokens for the query. When a limit is reached, the tool returns an error such as `rate_limited`, `budget_exceeded` or `plan_limit_reached`, and the AI tool shows it.

Answers from MCP appear in **Chats** with the channel **MCP**, so you can review and correct them like any other conversation.

## Sitemap

See the full [sitemap](https://aiduko.com/sitemap.md) for all pages.
