Agents & MCP

tela has a built-in MCP server, so your AI assistant becomes a first-class part of your wiki — it searches, reads, and (with permission) writes pages and builds decks. Connect once, then just ask in plain language.

Connect your assistant

[!TIP] Your own agent is unlimited. Driving tela through your connected agent runs on your model and your tokens — so it doesn't count against your monthly built-in-AI answers, on any plan including Free. Only the in-app ask your docs meters against your plan. See [[Plans & billing]].

Each guide is a step-by-step walkthrough with screenshots:

You point it at your tela endpoint and sign in once through tela (OAuth — nothing to copy):

https://telawiki.com/api/mcp

[!TIP] That's all most people need. Open a section below only if you use a different tool or want token-based access.

Claude Code (terminal) — if you sign into Claude Code with your Claude account, connectors you added on claude.ai are already there (run claude mcp list and you'll see claude.ai Tela) — nothing to add. Only add it by hand for API-key mode or a different / self-hosted instance:

claude mcp add --transport http tela https://telawiki.com/api/mcp

Then run /mcp and pick Authenticate.

Cursor / VS Code~/.cursor/mcp.json:

{ "mcpServers": { "tela": { "url": "https://telawiki.com/api/mcp" } } }

Any stdio-only host — run the tela-mcp proxy with a token:

{
  "mcpServers": {
    "tela": {
      "command": "npx",
      "args": ["-y", "tela-mcp@latest"],
      "env": { "TELA_BASE_URL": "https://telawiki.com", "TELA_API_KEY": "tela_pat_..." }
    }
  }
}

Prefer HTTP where you can — the proxy is only a thin stdio↔HTTP bridge for hosts that can't speak HTTP.

What your assistant can do

Once connected, just ask — it picks the right tool:

Everything runs with your permissions, and writing needs editor access on the target space.

[!TIP] Bulk-authoring or a flaky link? Pass an idempotency_key to create_page, create_space, or add_comment — a retry with the same key returns the original result instead of duplicating.

See also [[Troubleshooting & FAQ]].