tela
tela's MCP server turns a self-hosted markdown team wiki into an agent-accessible knowledge base — you can search and research it, read and author pages, manage spaces/comments/attachments, and drive Atlas docs, decks, and sheets.
Search & research —
search(ranked full-text, no embedder needed),research(semantic grounding with cited sources and disagreements),fetch,read_chunkRead & navigate —
list_spaces,get_space,list_pages,get_page(full body, heading map, or computed sheet values),preview_page,list_backlinks,related_pages,suggest_links,find_overlaps,knowledge_gaps,list_space_files,list_attachmentsAuthor & organize —
create_page,update_page,patch_page(surgical section edits with version conflicts),move_page,delete_page,lint_page;create_space,update_space,delete_spaceCollaborate —
add_comment(anchored root threads or replies),list_comments(inbox + cursor polling),update_comment(edit/resolve),invite_to_space(by email)History —
list_page_revisions,get_page_revision(including trashed pages)Attachments —
upload_attachment(inline ≤5 MB),request_attachment_upload+confirm_attachment_upload(direct PUT, off-context bytes),delete_attachmentSharing —
share_page(public links, optional password/expiry/subtree),list_shares,revoke_shareDecks —
deck_authoring_guide,lint_deck,preview_deck,generate_deck_image,treat_deck_imageSheets —
sheet_authoring_guide,edit_sheet(structured, formula-safe row/col/style operations)Atlas doc generation —
atlas_list_projects,atlas_run,atlas_run_status(coverage/gap auditing)Misc —
import_guidefor bulk folder imports,submit_feedbackfor product feedback
Optional embedder integration that powers pgvector-backed semantic search and grounded 'ask your docs' answers, enabling meaning-based retrieval across wiki pages and attached files.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
The wiki that writes itself — from the code you already ship.
Home · Pricing · Compare · MCP for agents · Docs
tela is a self-hostable, markdown-native team wiki built for a world where agents are first-class authors and readers. It pairs a Go + PostgreSQL backend with a React 19 / Milkdown editor, live Yjs collaboration, ranked full-text and semantic search, and a built-in Model Context Protocol (MCP) server — so the same knowledge base your team edits in the browser is one your agents can search, read, and write directly. Atlas, its documentation engine, turns the artifacts you already produce into maintained wiki pages. Your content stays canonical markdown forever — pages.body is markdown, there is no proprietary block store.
👉 Start at telawiki.com — the marketing site walks through what tela does (with pricing, a comparison, and the agent/MCP story), and the hosted instance has a free tier: no install, no card.
Why tela
Atlas auto-doc-gen — point Atlas at your sources and it drafts and maintains real wiki pages, so docs track what you ship instead of rotting.
Built-in MCP server —
/api/mcpis part of the backend, not a bolt-on. Claude, Cursor, and other agents search, read, and author pages with scoped, per-tool write permissions.Semantic + full-text search — ranked PostgreSQL FTS works out of the box; add an embedder for
pgvector-backed semantic retrieval and grounded "ask your docs" answers.Live collaboration — real-time multi-cursor editing over Yjs in a Milkdown editor, with comments, backlinks, and revision history.
Teams that run themselves — users create orgs and invite teammates by email, no admin ticket. Flip a space to public and it becomes a login-free blog surface with per-author home pages.
Self-host & own your markdown —
pages.bodyis canonical markdown forever (no block table). Sync over WebDAV, export to zip/PDF, and run the whole stack with onemake up.
Related MCP server: basic-memory
Quickstart
You need Docker (with Compose) and make. The bundled stack builds every image via Compose, so no host Node or Go toolchain is required.
git clone https://github.com/zcag/tela.git
cd tela
# 1. Write deploy/.env from the example with strong generated secrets
# (fills TELA_API_KEY_SECRET, TELA_SHARE_SECRET, TELA_PG_PASSWORD via openssl rand)
make setup
# 2. Edit deploy/.env — set TELA_PUBLIC_BASE_URL, and optionally
# TELA_ADMIN_* and TELA_SMTP_* (see Configuration below)
# 3. Build and start the full stack
make upThe stack comes up behind Caddy on http://localhost:8780. On first boot tela runs its embedded migrations automatically and lands you on the /setup wizard to create the first admin — unless you set TELA_ADMIN_PASSWORD in deploy/.env, which bootstraps the admin non-interactively.
One-click cloud deploy
Prefer managed hosting over running Compose? Deploy the published multi-arch images straight to a platform:
After the first deploy, enable pgvector on the managed database once —
CREATE EXTENSION IF NOT EXISTS vector;— then point the backend'sTELA_PUBLIC_BASE_URLat your app's public URL. Or skip ops entirely with the free cloud tier.
Common targets:
make up # build + start the stack on :8780 (auto-stamps git version/commit)
make down # stop the stack
make logs # tail logs from all services
make backup # dump Postgres to ./backups/tela-<timestamp>.sql
make restore FILE=backups/tela-....sql
make clean FORCE=1 # stop and DELETE all volumes (destroys data)make up is the same thing as running Compose directly — under the hood it's docker compose -f deploy/docker-compose.yml up -d --build (plus a forced proxy recreate so a changed Caddyfile re-mounts). The three load-bearing secrets must be set and stable across deploys: rotating TELA_SHARE_SECRET invalidates outstanding share cookies, and rotating TELA_API_KEY_SECRET invalidates every existing personal access token (PAT).
For full setup, TLS, backups, and upgrades see docs/self-hosting.md and the operations runbook docs/operations.md.
Local development
make dev # backend (:8080) + frontend (:5173, proxies /api → :8080); boots a local dev Postgres
make be-dev # backend only (go run; boots the dev Postgres on :55433)
make fe-dev # frontend only (vite)
make test # backend tests against a throwaway Postgres
make storybook # component dev surfaceIf :8080 is taken on your box, run make dev DEV_BE_PORT=18080 so the backend and the vite /api proxy stay consistent.
Optional: semantic search out of the box
The bundled Compose stack ships an optional Ollama embedder behind a profile. Full-text search always works; this only lights up the semantic half:
docker compose -f deploy/docker-compose.yml --profile embed up -d
docker compose -f deploy/docker-compose.yml exec ollama ollama pull qwen3-embedding:0.6b
# then set TELA_RAG_EMBED_URL=http://ollama:11434 in deploy/.env and restartConfiguration
All configuration is environment-driven via deploy/.env (copy from deploy/.env.example). In the bundled Compose stack TELA_DATABASE_URL is auto-constructed from the TELA_PG_* vars — you only set it explicitly when running the backend against an external Postgres.
Required
Variable | Description |
| Public origin of the instance (e.g. |
| Secret signing share-link password cookies. Generate with |
| Secret signing personal access tokens (PATs). Generate with |
| Password for the bundled Postgres. No default — must be set. |
Postgres
Variable | Description |
| Postgres role for the bundled DB. Default |
| Postgres database name. Default |
| Full DSN — only set when running outside the bundled stack (external/managed Postgres). Format |
Bootstrap admin (optional)
Variable | Description |
| Bootstrap admin username (first boot only). |
| Bootstrap admin password. Unset → use the |
| Optional; pre-confirms the admin's email so it's exempt from the confirmation gate. Setting it later backfills the existing admin. |
Email (transactional + notifications)
With TELA_SMTP_HOST unset, tela logs confirmation/reset/notification links to stdout instead of sending (fine for dev / first boot). Works with any SMTP relay.
Variable | Description |
| SMTP relay host (e.g. |
|
|
|
|
| SMTP username. |
| SMTP password or API key. |
| From identity, e.g. |
Custom domains & TLS (optional)
Variable | Description |
| Canonical host Caddy binds for direct-TLS mode (e.g. |
| Shared CNAME target shown to org admins adding a hostname. Defaults to the canonical host. |
AI: semantic retrieval, ask-your-docs, Atlas (all optional, ship dark)
These features ship dark — unset means the relevant endpoints return 503 and nothing is computed. Point them at your own Ollama / OpenAI-compatible endpoints, the bundled --profile embed Ollama, or tela cloud's managed endpoints (authenticated with a telawiki.com PAT).
Variable | Description |
| Embedder endpoint for semantic chunk search (e.g. |
| Embedding model. Must be 1024-d; default |
| Advisory embedding dimension (the column is fixed at |
| Bearer token for a managed/authenticated embed endpoint. |
| Query-side instruction prefix for asymmetric retrieval. Unset → sensible default. |
| Optional cross-encoder reranker |
| Reranker model name and token. |
| Log "ask your docs" questions to surface knowledge gaps (admin-only). |
| OpenAI-compatible chat base including |
| Chat model name (e.g. |
| Bearer token for a managed/authenticated LLM endpoint. |
| Completion length cap. Default 1024; |
| Epistemic trust pass (corroborate/contradict scoring). On when LLM+embedder are set; |
| Cap on concurrent Atlas doc-gen runs. Default 1. |
| Per-run client concurrency gate. Default 6. |
| Where Atlas unpacks working files. Default: OS temp dir. |
| OpenAI-compatible Images endpoint for the MCP |
Auth: MCP OAuth & federated sign-in (optional)
Variable | Description |
| WorkOS AuthKit issuer to enable Claude.ai/ChatGPT "Connect" OAuth on |
| The MCP endpoint's public URL (OAuth audience). Defaults to |
| Server-side WorkOS secret for the Standalone login bridge. |
| Google OIDC sign-in. Dark until both are set. |
| Microsoft OIDC sign-in. Dark until both are set. |
| GitHub OAuth2 sign-in. Dark until both are set. |
Billing (optional, ships dark)
Variable | Description |
| Polar organization access token. Unset → checkout/portal 503; plans stay operator-assigned. |
| Polar webhook signing secret (verbatim). |
|
|
| Maps plan keys to Polar product UUIDs, e.g. |
Services, sync & ops (optional)
Variable | Description |
| PDF render engine. Default |
| Internal origin Gotenberg's Chromium loads the reader from. Default |
| Slidev deck render sidecar. Default |
| WebDAV sync surface ( |
| Allow root-level |
| Mass-delete guard tuning. |
| Per-file upload cap for space files. |
| Backend listen address. Default |
|
|
| PAT audit-log retention in days. |
| Activity-feed GC window. Default 180. |
| Any value skips seeding the welcome space on first boot. |
| Build metadata surfaced by |
The split/deploy topology adds image-ref and Umami-analytics vars (
TELA_BACKEND_IMAGE,TELA_FRONTEND_IMAGE,UMAMI_APP_SECRET,UMAMI_DB_PASSWORD, …). Seedeploy/.env.exampleanddocs/deploy.md.
Connect your agents (MCP)
tela's MCP server is built into the backend at /api/mcp — it self-authenticates with a personal access token (PAT) as a bearer header. Modern hosts speak HTTP transport directly:
https://telawiki.com/api/mcp # tela cloud
https://your-host.example.com/api/mcp # your self-hosted originFor hosts that can't speak HTTP transport (or want a stdio bridge), the tela-mcp npm package is a thin stdio↔HTTP proxy to the same endpoint — no second tool implementation to drift. Add it to your MCP client config (e.g. Claude Desktop / Cursor):
{
"mcpServers": {
"tela": {
"command": "npx",
"args": ["-y", "tela-mcp"],
"env": {
"TELA_BASE_URL": "https://telawiki.com",
"TELA_API_KEY": "tela_pat_xxxxxxxx"
}
}
}
}Point TELA_BASE_URL at your own origin to use a self-hosted instance. Generate a PAT in Settings → API tokens; per-tool write permission is enforced server-side. The proxy requires Node ≥ 20. See mcp/README.md for the full tool catalog and troubleshooting.
One-click install
Both buttons add the HTTP endpoint; auth is handled by OAuth on first use, so no token goes in the link.
Per-client setup
HTTP-transport hosts connect to the endpoint directly and sign in via OAuth. stdio-only hosts use the tela-mcp proxy with a PAT (TELA_BASE_URL + TELA_API_KEY).
Claude Code (CLI, HTTP):
claude mcp add --transport http tela https://telawiki.com/api/mcpCursor (HTTP) — use the button above, or add to ~/.cursor/mcp.json:
{ "mcpServers": { "tela": { "url": "https://telawiki.com/api/mcp" } } }VS Code (HTTP) — use the button above, or:
code --add-mcp '{"name":"tela","type":"http","url":"https://telawiki.com/api/mcp"}'ChatGPT — install Tela from the plugin directory and sign in. Nothing to paste, no Developer Mode. (The directory plugin talks to the hosted service; for a self-hosted instance add a custom connector with your own URL, as below.)
Claude.ai / self-hosted ChatGPT (OAuth connector) — add a custom connector and paste the URL; complete the sign-in:
https://telawiki.com/api/mcpClaude Desktop (stdio proxy) — claude_desktop_config.json:
{
"mcpServers": {
"tela": {
"command": "npx",
"args": ["-y", "tela-mcp"],
"env": { "TELA_BASE_URL": "https://telawiki.com", "TELA_API_KEY": "tela_pat_xxxxxxxx" }
}
}
}Windsurf (stdio proxy) — ~/.codeium/windsurf/mcp_config.json, same mcpServers shape as Claude Desktop above.
Codex (stdio proxy) — ~/.codex/config.toml:
[mcp_servers.tela]
command = "npx"
args = ["-y", "tela-mcp"]
env = { TELA_BASE_URL = "https://telawiki.com", TELA_API_KEY = "tela_pat_xxxxxxxx" }A machine-discovery manifest is published at /.well-known/mcp.json.
Screenshots
Ranked full-text search across every space you can read, with the matching line in context:
Atlas documents a repo and then audits its own coverage — 6/6 must-cover surfaces documented, 42 citations, and the exact file:line gaps it hasn't covered:

Architecture
Backend — Go (module
github.com/zcag/tela/backend, entrycmd/tela). Hand-writtendatabase/sqlover thepgx/v5stdlib driver — no ORM, no sqlc. Embedded, forward-only SQL migrations run automatically on boot.Database — PostgreSQL 17 with the
pgvectorextension (pgvector/pgvector:pg17). FTS lives inpages.search_tsv(rankedts_rank_cd); semantic chunks live inpage_chunks.embedding vector(1024).Frontend — React 19 + Vite + TypeScript + Tailwind v4 + Radix + a Milkdown (
@milkdown/kit) editor, with TanStack Query/Router, Orama, cmdk, and Storybook. Owned, token-driven UI components only.Live collaboration — Yjs + y-prosemirror over a custom WebSocket transport, scoped tightly to
src/lib/collab/*and the collab branch of the editor; it rebases onto the canonical markdown on save.Built-in MCP — the tool/resource surface lives in the Go backend (
internal/api/mcp*.go) and calls the same core functions the REST routes do, so there is one implementation.mcp/is a dumb stdio↔HTTP pipe published astela-mcpon npm.Atlas — the documentation engine that drafts and maintains wiki pages from your sources, sharing the configured LLM endpoint.
Render sidecars — Gotenberg for HTML→PDF export; a Slidev deck sidecar for presentation pages.
Edge — Caddy serves the SPA, the API, and (in direct-TLS mode) on-demand certificates for org custom domains.
Deeper internals, ops, and gotchas live in docs/ — start with docs/architecture.md, and docs/decisions.md for the rationale (PostgreSQL, custom collab transport, MCP-as-thin-client).
Self-host vs cloud
Self-host — run the whole stack with
make up(ordocker compose). You own the data, the markdown, and the Postgres volume; AI features are bring-your-own-endpoint (or the bundled Ollama profile). The split/registry deploy topology for shared-edge boxes is indocs/deploy.md.Cloud — a managed instance is hosted at telawiki.com with a free tier, plus optional managed semantic search and ask-your-docs so you don't have to run an embedder or LLM yourself.
Both run the same code from this repository.
Contributing
Commit format:
type(scope): summary(e.g.feat(backend): hybrid chunk search). Concise messages, no co-author trailer.No issue/task tracker — please don't open GitHub issues or reference
#NNN. Discuss via pull requests.Backend changes use hand-written SQL and a new forward-only
NNNN_name.sqlmigration (never edit an applied one). Frontend changes use owned Radix/token-based primitives — no hardcoded hex/px, no third-party component kits.Run
make test(backend) andnpm run buildinfrontend/before sending a change. SeeCLAUDE.mdanddocs/for the full conventions.
Security
Please report security issues privately to tela@telawiki.com, not as a public issue or PR. Policy and acknowledgements: SECURITY.md.
License
tela is open core. Copyright © tela contributors. The Community core — the whole product — is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0): self-host, modify, and redistribute under its terms (run a modified version as a network service and you must offer your users the corresponding source). The tela-mcp npm package is published under AGPL-3.0-only. For a commercial license without AGPL obligations (e.g. to embed or offer tela as a closed service), contact the maintainer.
The Enterprise Edition (backend/internal/ee/, source-available, not AGPL) adds the company-of-record layer (SSO, audit, SCIM, governance) and requires a license key for production use — see backend/internal/ee/LICENSE.md. Full structure in docs/licensing.md.
"tela", the tela name, and the tela logo are trademarks and are not licensed under the AGPL — see TRADEMARK.md. You may run and fork the code, but you may not use the tela branding for a redistributed or hosted version without permission.
Available Tools
50 toolsadd_commentAdd commentAInspect
Comment on a page (editor+). Omit parent_id for a ROOT comment: it needs an anchor, a {prefix, exact, suffix} text triplet that pins it to a passage so it survives edits to the page. Pass parent_id to REPLY inside an existing thread (no anchor; replying to a reply is rejected) — that is how you answer a person's comment, rather than posting a second root beside theirs. ANCHOR TEXT IS THE PAGE'S PLAIN TEXT, NOT ITS MARKDOWN: inline markers are stripped (**ship it** is anchored as ship it), blocks are joined by single newlines, and prefix/suffix hold at most 32 characters of surrounding context. Quote the passage as a reader sees it, not as get_page returns it. Pass idempotency_key to make retries safe (a repeat returns the original comment instead of posting a duplicate). Use for feedback ON page content; to report problems with tela itself use submit_feedback.
Inputs: body (required), page_id (required), anchor, parent_id, +1 more. Returns: comment
atlas_list_projectsList atlas projectsARead-onlyInspect
List the atlas doc-generation projects you can see (your personal ones plus those of every org you belong to). Each project carries its owner, output space, schedule, source count, and latest-run summary (status + last must-cover rate); can_manage says whether you may trigger runs. Start here to find a project_id for atlas_run, or to read coverage health at a glance.
Returns: projects
atlas_runRun atlas generationAInspect
Trigger a FULL doc-generation run for every source in an atlas project (project_id from atlas_list_projects): re-ingest the sources, regenerate the cited pages, and re-audit coverage. Management-level (project owner / org admin) — a run fetches the sources, spends LLM budget, and rewrites the generated subtree (creating the output space on the first run). Returns run_ids (one per source); poll each with atlas_run_status. Returns 503 ai_unavailable when the instance has no embedder/LLM configured.
Inputs: project_id (required). Returns: run_ids
atlas_run_statusGet atlas run statusARead-onlyInspect
Read an atlas run's status and coverage by run_id (view+). Returns the run's status + current stage and, once auditing has run, coverage (must_rate = the headline fraction of must-cover surface documented, surface_rate, gap_count + the gap list of undocumented surface items) and stats (files / surface / chunks / pages). Use to follow a run started by atlas_run to completion and judge whether the docs are complete.
Inputs: run_id (required). Returns: run
confirm_attachment_uploadConfirm a direct uploadAIdempotentInspect
After the bytes have been PUT to a request_attachment_upload URL, return the stored file's serve URL + ready-to-embed markdown (for hosts that couldn't read the PUT response). Editor+. Then place the snippet with update_page/patch_page.
Inputs: upload_id (required). Returns: attachment
create_pageCreate pageAInspect
Create a page in a space (editor+). Body is markdown; tela://page/{id} links and [[Page Title]] wikilinks (resolved by title within the space) are indexed as backlinks. tela renders a rich block palette beyond plain markdown — to-do list, pull quote, callout, collapsible, tabs, kanban board, stat grid, timeline, calendar, poll, chart, embed, mermaid diagram, image, file attachment, code block, equation, inline math, table, highlight, wikilink, footnote. Prefer these over walls of text; read the tela://authoring-guide resource (or this server's instructions) for exact syntax. After writing, call lint_page — the reader silently drops raw HTML and unwraps unrecognized blocks, which you cannot see from the markdown. When asked for a presentation, slides, a slide deck, or a talk (any phrasing) — not a prose doc — set the page property deck=true (and optionally variant=) and write the body as slides separated by --- using the tahta layouts; call the deck_authoring_guide tool (or read the tela://deck-authoring-guide resource) for the layouts, fields, components, and variants. When asked for a spreadsheet, a table of data with formulas/totals, a budget, a tracker, or any grid that computes — not a prose doc — set the page property sheet=true and write the body as Defter markdown (compact GFM tables + an optional ```defter-style block); call the sheet_authoring_guide tool (or read the tela://sheet-authoring-guide resource) for the format, formulas, and styling.
Inputs: body (required), title (required), space_id (required), props, +3 more. Returns: lint, page
create_spaceCreate spaceAInspect
Create a space; the caller becomes its owner (write scope). slug is derived from name when omitted. Use to start a new top-level container of pages; to add a page inside an existing space use create_page, and to rename a space use update_space.
Inputs: name (required), slug, org_id, idempotency_key. Returns: space
deck_authoring_guideDeck authoring guideARead-onlyInspect
Return the full tela deck authoring guide as markdown — every tahta layout with its required/optional fields, the components, and the style variants. Read this FIRST when creating or editing a deck (a deck=true page) so you don't guess at layouts/fields. The guide lists optional capability modules (e.g. branding, imagery); when one applies, call again with module="" to fetch that extra guidance.
Inputs: module. Returns: guide
delete_attachmentDelete attachmentADestructiveInspect
Detach a file from a page by attachment id (editor+; ids come from list_attachments). Soft-delete. It does NOT edit the page body, so remove any inline embed separately with update_page/patch_page.
Inputs: id (required), page_id (required). Returns: ok
delete_pageDelete pageADestructiveInspect
Delete a page (editor+). Backlinks from other pages are preserved with the last-known title.
Inputs: id (required). Returns: ok
delete_spaceDelete spaceADestructiveInspect
Delete a space AND all its pages, comments, revisions and share links. Owner only. Irreversible.
Inputs: id (required). Returns: ok
edit_sheetEdit sheet (structured)AInspect
Make a STRUCTURED edit to a sheet (a sheet=true page), editor+. Prefer this over update_page for sheets: you pass a typed operation and tela rewrites the Defter markdown correctly — inserting a row shifts every formula below it, deleting a column re-references the rest, so you never corrupt the grid by hand-editing text. Pass one op (or a batch via ops, applied atomically). Each op is {kind, ...} where kind is one of: setCells {cells:[{ref:"B2",text:"=A2*1.2"}]} — write literals/formulas by A1 ref; insertRows/deleteRows {at:<1-based row>, count?}; insertCols/deleteCols {at:<col letter or 1-based index>, count?}; setStyle {target:"A1:C1"|"B"|"2", attrs:{...}} — bold/align/fill/number-format a range/col/row; setFreeze {rows?, cols?} — freeze N header rows / M leading cols (0 clears); addSheet {name, after?}; renameSheet {sheet, name}; deleteSheet {sheet}. Ops that target a specific tab take an optional sheet (name or 0-based index; defaults to the first). A bad ref/range/sheet is rejected with a fixable error. Call sheet_authoring_guide for the full op reference, cell/style syntax, and formula functions. Returns the updated sheet with formulas computed.
Inputs: page_id (required), op, ops. Returns: page
fetchFetch documentARead-onlyInspect
Fetch a tela page's full text by id (the id comes from a search result) — the fixed-shape companion to search. Read-only. Prefer get_page for normal use (same body plus richer metadata and trust signals); reach for fetch only when the host requires the fixed search/fetch contract.
Inputs: id (required). Returns: id, url, text, title, +1 more
find_overlapsFind overlapping pagesARead-onlyInspect
Near-duplicate page PAIRS that share a near-identical passage (real merge/redirect candidates) for wiki hygiene. Optional space_id restricts to one space; threshold (0..1, default 0.92) is the minimum chunk-level similarity to count as a duplicate.
Inputs: limit, space_id, threshold. Returns: overlaps
generate_deck_imageGenerate deck imageAInspect
Generate an image from a prompt and attach it to a deck page (editor+), ready for a bg:/image: slot. Returns the serve URL + a snippet; reference it by path (don't regenerate on re-render). Read the imagery module first (deck_authoring_guide module="imagery"): most slides need NO image — use it for atmosphere/concept/focal only, reuse ONE background, write rich on-palette prompts, and prefer images raw. May be unavailable (503) if the instance hasn't configured image generation or AI is paused; generation can take from ~20s to a few minutes depending on the model.
Inputs: id (required), prompt (required), name, seed, +3 more. Returns: url, note, markdown
get_pageGet pageARead-onlyInspect
Full markdown body + metadata for a numeric page id. Includes an epistemic block — trust signals computed from the wiki's own state: freshness (age, stale, review_overdue), provenance (human / agent / sync), and corroboration vs. dispute against same-space pages. Weigh it: prefer fresh, corroborated, human-reviewed pages; treat a stale or disputed page as lower-confidence and check its listed disputes before relying on it.
Inputs: id (required), format. Returns: page
get_page_revisionGet page revisionARead-onlyInspect
One historical revision of a page: its title, full markdown body and properties as they were at that point (read-only, editor+ on its space). Take revision_id from list_page_revisions. Works for trashed pages. For the page as it is now use get_page.
Inputs: page_id (required), revision_id (required). Returns: page, revision
get_spaceGet spaceARead-onlyInspect
Fetch one space's metadata (id, name, slug) by id. Read-only. Use when you already hold a space_id and just need its name/slug; to discover spaces use list_spaces, to list its pages use list_pages.
Inputs: id (required). Returns: space, owner_org, page_count, member_count, +1 more
import_guideImport an existing folder of filesARead-onlyInspect
Return the guide for BULK-importing an existing folder of documents (Word docs, spreadsheets, PDFs, notes) into a space as a page tree — rather than hand-creating pages one at a time. Read this FIRST for any 'import', 'migrate my docs', 'bring in this folder', or 'load these files' request. Covers converting Office files locally (docx → pages, spreadsheets → live sheets), attaching PDFs/images, and the import endpoint's dry-run → confirm → commit contract.
Returns: guide
invite_to_spaceInvite to space (by email)AInspect
Give a person access to a space by EMAIL ADDRESS — space owner only, write scope. Two outcomes, and the response tells you which happened: if a tela account already uses that address they are added right away and returns {member}; if nobody has that address yet, tela SENDS THEM AN EMAIL INVITATION (an outward action reaching a third party) and returns {invite} — they get the space automatically when they sign up with that address. Role is owner|editor|viewer (default viewer). Use this to onboard someone who has no tela account; to add an existing user you already know by username, or to change/remove access, use the app's space sharing UI.
Inputs: email (required), space_id (required), role. Returns: invite, member
knowledge_gapsKnowledge gapsARead-onlyInspect
The most-asked "ask your docs" questions the corpus could NOT answer — a content roadmap: write these pages next. Covers your own asks plus asks in spaces you're a member of. Optional space_id and since_days window.
Inputs: limit, space_id, since_days. Returns: gaps
lint_deckLint slide deckARead-onlyInspect
Validate a deck page's slides against the tahta theme contract — unknown layouts, missing required fields, type/format mistakes. Run after authoring/editing a deck to catch problems before presenting. Returns structured issues per slide. For the full list of valid layouts and each layout's fields, call deck_authoring_guide.
Inputs: id (required). Returns: ok, hint, errors, issues, +1 more
lint_pageLint pageARead-onlyInspect
Check a page for places where the READER renders something different from what the markdown says — an unknown :::block or [!CALLOUT] that silently unwraps, raw HTML the reader drops, a collapsible whose blank lines are missing so its body vanishes, a [[wikilink]] that matches no page, a broken link or attachment, a ragged table, a table so wide the page column shows only part of it. These are invisible when you re-read your own source, which is why re-reading it is not a substitute for calling this. Run it after writing or editing a page.
Inputs: id (required). Returns: ok, hint, errors, issues, +1 more
list_attachmentsList attachmentsBRead-onlyInspect
List the files attached to a page (uploads AND rclone-synced files): name, mime, byte size, a stable serve URL, an absolute download_url (fetch the bytes), a share_url (give THIS to a person — it opens a page that previews the file and unfurls as a card in chat, where download_url just downloads), and a ready-to-embed markdown snippet. embedded tells you the page body already references the file.
Inputs: page_id (required). Returns: attachments
list_backlinksList backlinksARead-onlyInspect
List the pages that link TO the given page via [[wikilink]] / tela://page/{id} — its incoming references (read-only). Use to see what depends on a page before you edit or delete it, or to walk the explicit link graph; for semantically similar pages that don't link it, use related_pages.
Inputs: page_id (required). Returns: backlinks
list_commentsList commentsARead-onlyInspect
Read comments (editor+). Pass page_id for one page's full threads (each root with its replies), or space_id for an inbox of threads across a whole space (roots only, each with reply_count and page_title — drill into the page for the replies). status is open (default), resolved, or all. TO POLL FOR WHAT HUMANS WROTE: keep the cursor this returns and pass it back as since next time — you then get only threads with new or edited activity, including threads someone replied to, and each comes back with its full context. Anchors are the page's PLAIN TEXT, not its markdown (inline markers stripped, blocks joined by single newlines), so match anchor_exact loosely against a get_page body rather than searching for it verbatim. Answer a thread with add_comment(parent_id=…) and close it with update_comment(resolved=true).
Inputs: limit, since, status, page_id, +1 more. Returns: cursor, threads
list_page_revisionsList page revisionsARead-onlyInspect
A page's revision history, newest first (read-only, editor+ on its space). A revision is snapshotted on every title/body change, by a person, an agent, sync or Atlas. Returns page (with deleted_at set when the page is in the trash, and current_revision_id) and revisions (metadata only: id, created_at, author, source, byte_size, is_current). Works for trashed pages too, so you can recover what a removed page said. Page back with cursor = next_cursor. Read one revision's full text with get_page_revision.
Inputs: page_id (required), limit, cursor. Returns: page, revisions, next_cursor
list_pagesList pagesARead-onlyInspect
Flat page listing in a space (read-only). Pass parent_id for the direct children of one page; omit for top-level pages. Use to browse a space's structure or find a page_id; to find pages by keyword use search, and to read a page's body use get_page.
Inputs: space_id (required), status, parent_id. Returns: pages
list_space_filesList a space's filesARead-onlyInspect
List every file stored in a space, including the ones parented to the space ROOT rather than to a page — those are invisible to list_attachments (which is per-page), so this is the only way to discover a file that was synced or imported beside the page tree. Each entry carries the same links: download_url for the bytes, share_url to give a person, plus parent_page_id/parent_title (absent = the space root). Filter with parent_page_id: a page id for that page's files, "root" for the root only. Read-only; any space role. Capped at 500 files (truncated says so).
Inputs: space_id (required), parent_page_id. Returns: files, truncated
list_spacesList spacesARead-onlyInspect
List every space the API key can access (id, name, slug). Read-only. Start here to discover a space_id for list_pages / search / create_page when you don't already have one; for a single space you already know, use get_space instead.
Returns: spaces
move_pageMove pageAIdempotentInspect
Move a page: reparent (parent_id), detach to top-level (make_root), reorder (position), and/or relocate to another space (space_id). Editor+ in both source and target space. Provide at least one of space_id / parent_id / make_root / position.
Inputs: id (required), position, space_id, make_root, +1 more. Returns: page
patch_pagePatch page sectionAInspect
Surgically edit ONE section of a page instead of rewriting the whole body (editor+). First call get_page format:"map" to see the section paths, then patch the target. Cheaper and safer than update_page on a long page — it never touches the rest of the document. Snapshots a revision like any edit.
Inputs: id (required), target (required), operation (required), content, +2 more. Returns: page, warning, removed_subsections
preview_deckPreview slide deckARead-onlyInspect
Render a deck page to slide images and return them, so you can SEE how the deck looks (don't author blind). Pass slides to preview specific 1-based frames; omit for the first few. Renders are cached.
Inputs: id (required), slides.
preview_pagePreview pageARead-onlyInspect
Render a page and read it back as the reader actually shows it — the same render the PDF export uses, so callouts, tables, math, mermaid and diagrams are all resolved. Use it to check that what you wrote is what appears (text you can diff against your intent), and after any edit whose result you can't be sure of from the markdown alone. format: "text" (default), "image" for a screenshot, "both". For a deck page, call preview_deck instead.
Inputs: id (required), format.
read_chunkRead chunkARead-onlyInspect
Fetch one chunk's full section text by chunk_id (from a research source), for a page OR a file chunk (read-only). Middle granularity — use it to expand a single cited section; for the whole page use get_page. A file chunk cites its file (file_name + parent page_id + download_url for the bytes + share_url, the previewable link to show a person).
Inputs: chunk_id (required). Returns: chunk
request_attachment_uploadRequest a direct upload URLAInspect
Get a short-lived signed PUT URL to upload a file WITHOUT sending its bytes through the model context — for files over upload_attachment's 5 MB inline cap, or to avoid context bloat. Flow: call this → the host PUTs the raw bytes to the returned put_url over HTTP → then either read that PUT response or call confirm_attachment_upload to get the embed snippet (and share_url, the link for a person), and place it with update_page/patch_page. Editor+. Only works on hosts that can make an outbound HTTP PUT; otherwise use upload_attachment.
Inputs: name (required), page_id (required), mime. Returns: upload
researchResearch the wikiARead-onlyInspect
Answer a question — or gather everything relevant on a topic — from the wiki by MEANING. One call assembles answer-ready grounding: the full bodies of the pages that matter (not isolated fragments), pulled from pages AND attached files (PDFs, docs), plus any flagged disagreements among the sources and a low_confidence signal. Returns context (a numbered [n] excerpt block to ground your answer), sources (the cited hits aligned to [n], each with page_id/chunk_id for drill-in and, for file sources, a download_url for the bytes plus a share_url to show the person), disagreements (conflicts to surface, [n]-keyed), low_confidence, and considered/truncated. truncated: true means retrieval found MORE relevant sources than it returned (considered says how many) — the corpus did not run out, the per-call cap did; re-ask with a bigger limit before concluding anything is missing. YOU write the answer from context and cite sources by their [n]. To read one section deeper use read_chunk (chunk_id from a source) or get_page (full page). For exact-name/term lookup use search. Requires a configured embedder (503 otherwise).
Inputs: question (required), limit, space_id. Returns: context, sources, truncated, considered, +2 more
searchSearchARead-onlyInspect
Keyword (full-text) lookup over title + body, ranked + snippet-highlighted. Use to find a page you can name or that contains an exact term/identifier/error string. Works WITHOUT an embedder (always available). Optional space_id narrows to one space. To answer a question or gather material on a topic by meaning, use research instead.
Inputs: query (required), limit, space_id. Returns: results
sheet_authoring_guideSheet authoring guideARead-onlyInspect
Return the full tela spreadsheet (sheet) authoring guide as markdown — the Defter text format, coordinates, the formula functions, and the ```defter-style styling/format/chart syntax. Read this FIRST when creating or editing a sheet (a sheet=true page) so you write valid, well-formatted Defter markdown instead of guessing.
Returns: guide
submit_feedbackSubmit feedbackAInspect
Submit free-text feedback about tela / tela-mcp itself (friction, bugs, missing capabilities). NOT for page content — use add_comment for that.
Inputs: body (required), subject (required), kind. Returns: feedback
suggest_linksSuggest linksARead-onlyInspect
Given draft text (a page you're writing), return existing pages it should link to, by semantic similarity. Use while authoring to wire a new page into the knowledge base instead of leaving it an orphan. Requires a configured embedder.
Inputs: text (required), limit, space_id. Returns: suggestions
treat_deck_imageTreat deck imageAInspect
Make an image tahta-grade for a deck's variant (editor+): crop to 16:9, apply a scheme-aware duotone (palette-lock), grain, and an optional contrast scrim. Upload the source with upload_attachment first, then pass its attachment_id; the treated JPEG is saved as a new attachment and returned with a ready-to-place snippet for a bg:/image: slot. This is the tahta-imagine treat step — a FALLBACK for off-palette or reused images; prefer rich on-palette images raw, and never duotone (mode=duotone) a real-colour focal subject — use mode=none for those. See the imagery capability module (deck_authoring_guide module="imagery").
Inputs: id (required), attachment_id (required), mode, scrim, +1 more. Returns: url, note, variant, markdown
update_commentUpdate commentAIdempotentInspect
Edit or resolve an existing comment (editor+); pass exactly one of body / resolved. {resolved: true} closes a thread once you have acted on it, {resolved: false} reopens one — idempotent, so re-resolving an already-resolved comment succeeds instead of erroring. Resolve applies to ROOT comments only. {body: ...} rewrites the text and is author-only: it works on comments this key wrote, and is refused on a person's comment. To answer someone rather than close them out, use add_comment with parent_id.
Inputs: comment_id (required), body, resolved. Returns: comment
update_pageUpdate pageAIdempotentInspect
Patch a page's title, body, props and/or draft status (editor+). A body change auto-snapshots a revision. Pass base_version (from get_page) to refuse the write if someone edited the page since you read it. tela renders a rich block palette beyond plain markdown — to-do list, pull quote, callout, collapsible, tabs, kanban board, stat grid, timeline, calendar, poll, chart, embed, mermaid diagram, image, file attachment, code block, equation, inline math, table, highlight, wikilink, footnote. Prefer these over walls of text; read the tela://authoring-guide resource (or this server's instructions) for exact syntax. After writing, call lint_page — the reader silently drops raw HTML and unwraps unrecognized blocks, which you cannot see from the markdown. When asked for a presentation, slides, a slide deck, or a talk (any phrasing) — not a prose doc — set the page property deck=true (and optionally variant=) and write the body as slides separated by --- using the tahta layouts; call the deck_authoring_guide tool (or read the tela://deck-authoring-guide resource) for the layouts, fields, components, and variants. When asked for a spreadsheet, a table of data with formulas/totals, a budget, a tracker, or any grid that computes — not a prose doc — set the page property sheet=true and write the body as Defter markdown (compact GFM tables + an optional ```defter-style block); call the sheet_authoring_guide tool (or read the tela://sheet-authoring-guide resource) for the format, formulas, and styling.
Inputs: id (required), body, props, title, +2 more. Returns: lint, page
update_spaceUpdate spaceAIdempotentInspect
Patch a space's name and/or slug (editor+); idempotent — pass only the field(s) you want to change. Changing the slug updates the space's URL path (existing page ids and links still resolve). To create a space use create_space, to read it use get_space, to remove it use delete_space.
Inputs: id (required), name, slug. Returns: space
upload_attachmentUpload attachmentAInspect
Upload a file (base64) and attach it to a page (editor+) — an image, PDF, dataset, etc. Returns the serve URL plus a ready-to-paste markdown snippet; then call update_page or patch_page to place it in the body (images render inline as , other files as a download card). It also returns
share_url — the link to give a PERSON who asks for the file, since it previews it and unfurls as a card, unlike the raw download_url. The payload is inline base64 and rides through the model's context, so it is capped at 5 MB — keep it to small files (screenshots, charts, short PDFs). For larger files use request_attachment_upload (a direct PUT URL, bytes off-context), or the tela editor (drag-drop).
Inputs: name (required), page_id (required), data_base64 (required). Returns: attachment
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 50 tools
The server has many overlapping retrieval and authoring tools (search/fetch/research/get_page/read_chunk; preview/lint page vs deck), but the descriptions explicitly differentiate each with cross-references and preferred-tool guidance. A few boundaries remain thin, such as fetch vs get_page compatibility aliasing and the multi-step attachment upload flow, so not every tool is instantly separable.
Nearly all names are snake_case and many follow a verb_noun pattern (list_pages, create_space, delete_attachment), with a consistent atlas_ prefix for the doc-generation subgroup. The main deviations are noun-phrase guide/utility tools (deck_authoring_guide, knowledge_gaps, fetch), so the convention is readable but not perfectly uniform.
At 50 tools, the surface is far beyond the typical 3-15 well-scoped range and is an extreme mismatch for a single MCP server, even accounting for the broad wiki/deck/sheet/Atlas scope. Several areas could be consolidated, such as the three-step attachment upload flow, separate guide fetches, and fetch/get_page overlap.
The surface covers page/space/comment/attachment/share/revision lifecycles plus authoring guides, lint/preview, decks, sheets, research, and Atlas doc generation, which is very broad. A few lifecycle gaps remain, such as no delete_comment, no restore-page operation, and limited attachment metadata editing, so it is not quite a dead-end-free surface.
Maintenance
Related MCP Connectors
Hosted markdown project wikis your team's AI assistants read, search, and update over MCP.
Governed, auditable knowledge your team curates for its AI assistants, self-hostable
Self-hostable shared brain for you and your AI agents — docs, flows, meetings, decisions, rationale
A shared team wiki your coding agents read and write — across every repo and every MCP client.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceThis is a connector to allow Claude Desktop (or any MCP client) to read and search any directory containing Markdown notes (such as an Obsidian vault).837 npm1,352AGPL 3.0
- AlicenseAqualityBmaintenanceBasic Memory is a knowledge management system that allows you to build a persistent semantic graph from conversations with AI assistants. All knowledge is stored in standard Markdown files on your computer, giving you full control and ownership of your data. Integrates directly with Obsidan.md21212,352 PyPI4,691AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceA token-optimized MCP server for Notion that reduces context window usage by 73% while preserving full functionality, enabling AI assistants to interact with Notion efficiently.20 npm2MIT
- FlicenseAqualityDmaintenanceSelf-hosted enterprise knowledge hub that compiles organizational docs into a structured wiki and serves it to AI clients via MCP with fine-grained access control.11,529-