API
The short answer#
The supported programmatic surface of Corlecti Map is its MCP endpoint, a single address that speaks the Model Context Protocol:
POST https://map.corlecti.com/api/mcp
Authorization: Bearer mmap_live_YOUR_KEYEverything a script needs — listing maps, reading one, creating blocks and links, searching by meaning, examining the shape of a map — is a tool on that endpoint. MCP tools names every one of them. To create a key and connect a client, start with Connect an assistant over MCP.
You do not need an MCP client library to call it. It is JSON-RPC over HTTP, and a request is one POST with a JSON body of at most 4 MiB; a larger one is refused with a 413 (Limits lists it); a larger map is sent as several apply_map calls.
Why there is not a REST API beside it#
The application's own browser routes exist, and you can see them in a network tab. They are internal: they are shaped around what a screen needs, they change whenever a screen does, and they authenticate with a session cookie issued to a browser rather than with anything you can hold in a script. Nothing about them is promised to stay put.
The one documented route: a .mmap copy#
A copy of your own map is yours to take, so one browser route is documented:
GET https://map.corlecti.com/api/boards/BOARD_ID/exportIt answers with the whole map as one mmap.v1 document (The .mmap format), plus a small board envelope that carries the map's name, and its README when the owner has allowed that. (A copy saved from a published map's embed has no board envelope.)
- It is called with the session of a signed-in browser, never with an
mmap_live_ key: signed in at map.corlecti.com, open the address in that browser. A script reads the blocks and links with get_board over MCP; that document carries neither the map's name nor its README.
- It answers the map's owner and its editors, on every plan. A person who was
opened to one branch gets that branch and the map's name, and no README.
- Signed out it answers
401. A map that does not exist, or that you may only
read, answers 404.
Opening a file again is done in the app, from the dashboard's New map → Open a .mmap file or a map's More → Import .mmap…, and no route for it is documented here. A script that builds a map writes it with apply_map (The .mmap format).
Making a call#
The request, its two headers and the answer to expect are in the Quickstart on the connect page. To read the tool list instead of calling a tool, send that request with this body:
{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}The answer carries every tool with its input schema. tools/list is the authoritative list, and worth reading rather than assuming, because it is generated from the server rather than written down. Calling one is tools/call with {"name": "...", "arguments": {...}}; the parameters and an example of each tool are on MCP tools.
When a call fails#
A call the endpoint refuses outright gets an HTTP status, such as 401 for a missing or revoked key. Limits lists every one under "Refusal codes", each with what it means and what to do. A tool that fails for an ordinary reason — a map that is not there, a document that will not validate, a quota reached — does not use a status code for it. The call succeeds and the result is marked isError, with the reason in its text, so read the result and not only the status.
Stability#
Tool names and their inputs are the interface. New tools and new optional arguments can appear, so read tools/list rather than hard-coding the set. The limits on how often and how much you may call are on Limits.