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

# MCP Overview

> Connect AI assistants to your Orchata knowledge base

The **Model Context Protocol (MCP)** is an open standard for connecting AI assistants to external data sources. Orchata's MCP server lets AI tools like Claude Desktop, Claude Code, Cursor, and Windsurf interact directly with your knowledge base.

## What is MCP?

MCP provides a standardized way for AI assistants to:

* **Discover** available tools, resources, and prompts
* **Execute** operations like searching and uploading documents
* **Access** your organization's knowledge in real-time

> [!NOTE]
>
> Learn more about MCP at [modelcontextprotocol.io](https://modelcontextprotocol.io).

> [!WARNING]
>
> MCP access requires a Developer or Pro plan. [View plans](https://orchata.ai/docs/getting-started/plans.md) to upgrade.

## Why Use MCP with Orchata?

> [card] Real-Time Access
>
> AI assistants query your live knowledge base, not stale snapshots.

> [card] No Code Required
>
> Configure once, and your AI tools can search and update Orchata.

> [card] Full Functionality
>
> 12 MCP tools expose all Orchata features to AI assistants.

> [card] Secure
>
> OAuth authentication with the same permissions and audit trail.

## Use Cases

### AI-Powered Search

Let Claude or Cursor search your documentation, codebase knowledge, or support articles:

> "Search Orchata for how to configure authentication"

The AI uses `query_spaces` to find relevant content and synthesizes an answer.

### Automated Documentation

Use AI to help maintain your knowledge base:

> "Upload this README to the SDK Documentation space"

The AI uses `upload_document` to add content directly to Orchata.

### Smart Space Discovery

AI can find the right space to search without you specifying:

> "Find information about our API rate limits"

The AI uses `smart_query` to discover relevant spaces, then searches them.

## Getting Started

**1. Create an Account**

Sign up at [app.orchata.ai](https://app.orchata.ai) if you haven't already.

**2. Configure Your AI Tool**

Add the Orchata MCP server to your AI tool and connect via OAuth.

**3. Start Using**

Ask your AI assistant to search, upload, or manage your Orchata knowledge base.

## MCP Server URLs

| Environment | URL |
| - | - |
| Production | `https://api.orchata.ai/mcp` |
| Development | `http://localhost:3002` |

## Authentication

The MCP server uses OAuth for authentication. When you first connect, you'll be prompted to sign in to your Orchata account and authorize the connection.

> [!NOTE]
>
> The MCP server uses your account permissions. Ensure your account has the necessary access for the operations you want to perform.

## Available Features

The Orchata MCP server exposes:

| Feature | Count | Description |
| - | - | - |
| **Tools** | 12 | CRUD operations for spaces, documents, and queries |
| **Resources** | 4 | Documentation and dynamic space information |
| **Prompts** | 2 | Guided workflows for RAG implementation |

## Next Steps

> [card] [MCP Tools](https://orchata.ai/docs/mcp/tools.md)
>
> Explore all 12 available MCP tools.

> [card] [Resources & Prompts](https://orchata.ai/docs/mcp/resources.md)
>
> Learn about MCP resources and prompts.

> [card] [Cursor Setup](https://orchata.ai/docs/mcp/setup/cursor.md)
>
> Configure Cursor for Orchata MCP.

> [card] [Claude Desktop](https://orchata.ai/docs/mcp/setup/claude.md)
>
> Configure Claude Desktop for Orchata MCP.

> [card] [Claude Code](https://orchata.ai/docs/mcp/setup/claude-code.md)
>
> Configure Claude Code for Orchata MCP.

> [card] [Windsurf Setup](https://orchata.ai/docs/mcp/setup/windsurf.md)
>
> Configure Windsurf for Orchata MCP.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.