Skip to content

API and MCP server

Connect Claude and other AI tools to your own Syntabloc workspace, or read it from your own scripts. Read-only, with your permission, and you can revoke it at any time.

Updated November 14, 2026

On this page
  1. What it can do
  2. What it cannot do
  3. Create a token
  4. Connect an AI tool (MCP)
  5. MCP tools
  6. Use the REST API
  7. Limits
  8. Plans
  9. Privacy and security

What it can do

  • List your pages: titles, ids, parent pages and dates.
  • Read a page as Markdown, with its tables.
  • List your tables and read their rows (formula columns worked out).
  • Search your pages by words in their titles and text.
  • It sees your own pages and the pages other people shared with you, exactly as the app does.

What it cannot do

  • Change anything. There is no way to create, edit, move or delete through a token.
  • Read private pages. They are encrypted on your device; the server cannot read them, so they appear only as "Private page" with no content.
  • See anybody else's workspace, except pages they shared with you.
  • Read comments, version history, uploaded files or calls.

Create a token

  1. In Syntabloc, open Settings > Security > Connected apps & API.
  2. Choose Create a token, give it a name (where you will use it) and choose what it may do: read pages, read tables, search.
  3. Choose when it expires: 30, 90 or 365 days (90 by default).
  4. Copy the token (it starts with "stb_"). It is shown only once; keep it like a password.

Connect an AI tool (MCP)

Claude Code: run this once, with your token in place of <token>:

claude mcp add --transport http syntabloc https://syntabloc.com/api/mcp --header "Authorization: Bearer <token>"

Claude Desktop: add this to claude_desktop_config.json (Settings > Developer > Edit config), then restart Claude. It uses mcp-remote, an open-source bridge that runs with Node.js:

{
  "mcpServers": {
    "syntabloc": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://syntabloc.com/api/mcp", "--header", "Authorization:${AUTH_HEADER}"],
      "env": { "AUTH_HEADER": "Bearer <token>" }
    }
  }
}

Other AI tools: any MCP client that supports the Streamable HTTP transport and a custom header. Server address: https://syntabloc.com/api/mcp; header: Authorization: Bearer <token>.

MCP tools

A token shows an AI tool only the tools its permissions allow. All of them only read.

  • search_pages: search your pages by words
  • get_page: read one page as Markdown
  • list_pages: list your pages
  • list_databases: list your tables and their columns
  • query_database: read the rows of one table

Use the REST API

Every request sends the token in the Authorization header. Answers are JSON.

curl -H "Authorization: Bearer <token>" https://syntabloc.com/api/v1/pages
curl -H "Authorization: Bearer <token>" "https://syntabloc.com/api/v1/search?q=budget"
  • GET /api/v1/pages: Your pages, most recently edited first
  • GET /api/v1/pages/{pageId}: One page, with its content as Markdown
  • GET /api/v1/databases: Your tables, with their columns
  • GET /api/v1/databases/{pageId}/{blockId}: The rows of one table
  • GET /api/v1/search?q=...: Search your pages

The full description (OpenAPI 3.1): openapi.json.

Limits

  • Per token: 60 requests a minute and 1,000 an hour. Too many answers 429 with Retry-After.
  • Per internet address: 120 requests a minute.
  • Up to 10 active tokens per account. Lists return at most 100 pages and 200 table rows per request; ask for the next ones with cursor or offset.

Plans

  • During the beta, all of this is free to try.
  • When paid plans start: Free includes read-only MCP, 100 calls a day. Pro and up add the REST API and higher limits.

Privacy and security

  • Tokens are stored only as a scrambled hash; nobody at Syntabloc can see them again after they are shown to you.
  • Private pages are never exposed: they are encrypted on your device (Beta).
  • Revoke a token any time in Settings: it stops working on the very next request.
  • Making, revoking and using a token (at most once an hour) is written to your audit log.
  • Web pages of other sites cannot call the API with your token from a browser. Never put a token in a web page or share it.
  • More: Security and Privacy Policy.

Machine-readable facts: features.json · llms-full.txt · llms.txt