# Docs MCP server

URL: https://developers.uidu.org/docs/tools/docs-mcp

> Give an AI assistant these docs as tools — search them, read a page, look up any SDK function — through a remote MCP server.

`https://developers.uidu.org/mcp` is a read-only [MCP](https://modelcontextprotocol.io) server over this
documentation. Add it to Claude, ChatGPT, Cursor or any MCP client and the assistant can look things
up while it writes code against the SDK — no install, no token, always matching the published docs.

## Tools

| Tool                         | What it returns                                                                                                                                                                                    |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `search_docs(query, limit?)` | The best-matching pages, with snippets and each page's Markdown URL. Guides rank above the generated reference.                                                                                    |
| `get_page(path)`             | One page as Markdown — `"domains/forms"`, `"/docs/paths/custom-app"` or a full docs URL.                                                                                                           |
| `get_function(name)`         | One export of `@uidu/client`, `@uidu/react` or `@uidu/app-bridge`: signature, description, read/write, auth, CLI command, domain guide, source. Suggests close names when there is no exact match. |
| `list_domains()`             | Every domain the client covers, with what its reads need, its guide, CLI commands and functions.                                                                                                   |

The server's instructions tell the assistant where to start (the three [paths](https://developers.uidu.org/docs/paths/public-website.md)) and the auth rule of thumb from [Authentication](https://developers.uidu.org/docs/foundations/authentication.md).

## Connect

**Claude Code**

```bash
claude mcp add --transport http uidu-docs https://developers.uidu.org/mcp
```

**Claude (web and desktop)** — *Settings → Connectors → Add custom connector*, with the URL
`https://developers.uidu.org/mcp`.

**Cursor** — in `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "uidu-docs": { "url": "https://developers.uidu.org/mcp" }
  }
}
```

**A stdio-only client** — bridge it with `mcp-remote`:

```json
{
  "mcpServers": {
    "uidu-docs": { "command": "npx", "args": ["-y", "mcp-remote", "https://developers.uidu.org/mcp"] }
  }
}
```

## Without MCP

The same content is published for agents as plain files: [`/llms.txt`](/llms.txt) (the index),
[`/llms-full.txt`](/llms-full.txt) (every page) and [`/sdk-manifest.json`](/sdk-manifest.json) (every
export). Every page also has a Markdown twin at its URL plus `.md`.

<Callout title="Docs, not your workspace">
  This server only reads the documentation. To read or change a workspace from an agent, use the
  [`uidu` CLI](https://developers.uidu.org/docs/tools/cli.md) — or `@uidu/client` in your own code.
</Callout>
