# Cloudflare AI Search (verified)

AI Search (AutoRAG) management. List and search documents across your AI Search indexes.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add cloudflare/ai-search

# Browse available tools
npx -y @smithery/cli@latest tool list cloudflare/ai-search

# Get full schema for a tool
npx -y @smithery/cli@latest tool get cloudflare/ai-search accounts_list

# Call a tool
npx -y @smithery/cli@latest tool call cloudflare/ai-search accounts_list '{}'
```

## Direct MCP Connection

Endpoint: `https://cloudflare-ai-search.run.tools`

## Tools (5)

- `accounts_list` — List all accounts in your Cloudflare account
- `set_active_account` — Set active account to be used for tool calls that require accountId
- `list_rags` — List AutoRAGs (vector stores)
- `search` — Search Documents using AutoRAG (vector store)
- `ai_search` — AI Search Documents using AutoRAG (vector store)

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get cloudflare/ai-search <tool-name>
```
