# API & Apps (/reference)

Every instance serves its own API and MCP server. Both use the same scoped sign-in, and the user approves each app.

<Cards>
<Card title="Connected apps" href="/guide/connected-apps">
Connect an assistant, see what it asked for, and disconnect it.
</Card>

<Card title="MCP" href="/reference/mcp">
Tools an AI assistant can use in your library.
</Card>

<Card title="Public API" href="/reference/public-api">
HTTP access to documents, voices, audiobooks and the reader.
</Card>

<Card title="OAuth" href="/reference/oauth">
Sign users in to your app with scoped access.
</Card>
</Cards>

## Addresses [#addresses]

Replace `BASE_URL` with the public address of the instance.

| What | Address |
| --- | --- |
| API | `BASE_URL/api/v1` |
| MCP server | `BASE_URL/api/mcp` |
| OAuth issuer | `BASE_URL/api/auth` |
| OpenAPI specification | `BASE_URL/api/v1/openapi.json` |

## Scopes [#scopes]

| Scope | Allows |
| --- | --- |
| `documents:read` | Read documents, folders, providers, voices and audiobooks |
| `documents:write` | Create, upload, rename, move and delete documents and folders |
| `audio:generate` | Generate and stop audiobooks, and speak short text |
| `reader:read` | See what the user has open in the reader |
| `reader:control` | Move, play and pause the open reader. Playing also needs `audio:generate`. |
| `offline_access` | Keep access without another sign-in |

See [OAuth](/reference/oauth#scopes) for how scopes combine.