---
title: "API tokens and MCP"
url: "/help/demo/api-tokens-and-mcp"
updated: "2026-09-10T23:32:00.358Z"
---
# API tokens and MCP

Open **Settings → API**. Create a token with write access (suggest and update articles) or read only (fetch docs and analytics). The secret is shown once.

## Call the public API

```bash
curl https://app.getbuuk.com/api/public/articles \
  -H "Authorization: Bearer buuk_cli_…"
```

See the Guides and API reference tabs on this help center for authentication, pagination, and operations.

## MCP

The same token can initialize MCP at `/api/mcp`. Optionally enable a public MCP endpoint so external AI tools can read published docs only.

> [!WARNING]
> Never put a live token in client-side code or a public repo. Revoke it from the same settings page if it leaks.