AI & MCP

MCP tool reference

Every tool the Alara Space MCP server offers, with its inputs and what it needs.

25 tools: 11 that only read and 14 that change content. Read-only tokens see only the read tools. Page content goes in and comes out as Markdown. Ids are the ones the tools return (or the last part of a page's address in the browser).

Read tools

whoami

Any token

The user and workspace this connection acts as, and whether it can write.

No inputs.

list_spaces

Any token

Every active space in the workspace, with its id, name, icon and description. Archived spaces are left out.

No inputs.

get_space

Any token

One space, with how many live and trashed pages it holds, and whether it is archived (read-only).

InputTypeDescription
spaceIdidThe space id

get_page_tree

Any token

The page hierarchy of a space as { tree, truncated }: nested nodes (id, title, type: page | folder | whiteboard, childCount, children). At most 2,000 nodes, nearest levels first; when truncated is true, call it again with parentId (a folder) and depth to see further down. Use it to find pages and parents.

InputTypeDescription
spaceIdidThe space id
parentIdoptionalidOnly what is inside this page or folder (default: the whole space)
depthoptionalinteger 1 to 50At most this many levels down (default: all, up to the node limit)

get_page

Any token

A page with its content as Markdown. Whiteboards return their written text and element count; folders return their children.

InputTypeDescription
pageIdidThe page id

search_pages

Any token

Full-text search across page titles and content in the workspace, best matches first. Archived spaces are searched only when spaceId names one.

InputTypeDescription
querystringWhat to look for (supports "quoted phrases", OR, -exclude)
spaceIdoptionalidOnly search this space
limitoptionalinteger 1 to 50At most this many results (default 20)

list_recent_pages

Any token

The most recently edited pages in the workspace (or one space), newest first.

InputTypeDescription
spaceIdoptionalidOnly this space
limitoptionalinteger 1 to 50At most this many (default 20)

list_comments

Any token

The comment threads on a page, oldest first, each with its replies.

InputTypeDescription
pageIdidThe page id

list_versions

Any token

The 50 most recent saved versions of a page, newest first (number, title, author, reason, date).

InputTypeDescription
pageIdidThe page id

list_attachments

Any token

Files attached to a page (id, name, type, size).

InputTypeDescription
pageIdidThe page id

read_attachment

Any token

The text of an attached text, Markdown, CSV, JSON or code file (up to 200 KB; longer files are truncated with a notice). Binary files (PDF, Word, images…) return their details only.

InputTypeDescription
attachmentIdidThe attachment id

Write tools

create_space

Read & write token

Create a new space in the workspace.

InputTypeDescription
namestringSpace name
descriptionoptionalstringWhat the space is for
iconoptionalstringAn emoji

update_space

Read & write token

Change a space's name, description or icon.

InputTypeDescription
spaceIdidThe space id
nameoptionalstring
descriptionoptionalstring
iconoptionalstring

create_page

Read & write token

Create a document page from Markdown, at the top of a space or under a parent page or folder.

InputTypeDescription
spaceIdidThe space id
titlestringPage title
markdownoptionalstringPage body in Markdown (GitHub-flavoured): headings, **bold**, *italic*, ~~strike~~, `code`, links, bullet/numbered/task lists, code blocks, quotes, tables. Raw HTML is kept as text.
parentIdoptionalidPut the page under this page or folder

create_folder

Read & write token

Create a folder (a container for pages) in a space.

InputTypeDescription
spaceIdidThe space id
titlestringFolder name
parentIdoptionalidPut the folder under this folder or page

update_page

Read & write tokenChanges or removes content

Replace the body of a document page with Markdown, or append Markdown to the end. A version of the old content is saved first when replacing, so it can be restored. On a page that needs its owner's approval, the change is sent to them as a suggestion instead (status "suggested").

InputTypeDescription
pageIdidThe page id
markdownstringPage body in Markdown (GitHub-flavoured): headings, **bold**, *italic*, ~~strike~~, `code`, links, bullet/numbered/task lists, code blocks, quotes, tables. Raw HTML is kept as text.
modeoptional"replace" | "append"replace (default) or append

create_whiteboard

Read & write token

Create a whiteboard in a space, optionally drawn with shapes and arrows. Shapes without x/y are laid out automatically along their connections.

InputTypeDescription
spaceIdidThe space id
titlestringBoard title
parentIdoptionalidPut the board under this page or folder
shapesoptionalarray
connectionsoptionalarray
directionoptional"TB" | "LR" | "BT" | "RL"Which way auto-placed shapes flow: TB (down, default) or LR (right)

add_to_whiteboard

Read & write token

Add shapes and arrows to a whiteboard. Arrows can connect new shapes (by id) and shapes already on the board (by their label). New shapes are placed beside what is there unless you give x/y. On a board that needs its owner's approval, this becomes a suggestion (status "suggested").

InputTypeDescription
pageIdidThe whiteboard id
shapesoptionalarray
connectionsoptionalarray
directionoptional"TB" | "LR" | "BT" | "RL"Which way auto-placed shapes flow: TB (down, default) or LR (right)

diagram_to_whiteboard

Read & write tokenChanges or removes content

Draw a Mermaid flowchart ("flowchart TD" / "graph LR": nodes, shapes, arrows, arrow labels) as editable shapes on a whiteboard. mode "append" (default) adds it beside what is there; "replace" clears the board first and saves a version of it. Other Mermaid diagram types are not supported.

InputTypeDescription
pageIdidThe whiteboard id
mermaidstringMermaid flowchart source
modeoptional"append" | "replace"

rename_page

Read & write token

Change the title of a page, folder or whiteboard.

InputTypeDescription
pageIdidThe page id
titlestring

move_page

Read & write token

Move a page (and everything under it) under another parent in the same space, or to the top level.

InputTypeDescription
pageIdidThe page to move
parentIdoptionalid | null
positionoptionalinteger 0 to 90071992547409910-based position among its new siblings

trash_page

Read & write tokenChanges or removes content

Move a page and everything under it to the trash. It can be restored with restore_page.

InputTypeDescription
pageIdidThe page id

restore_page

Read & write token

Bring a page back from the trash.

InputTypeDescription
pageIdidThe page id

add_comment

Read & write token

Comment on a page, or reply to a comment by giving its id as parentId.

InputTypeDescription
pageIdidThe page id
bodystringThe comment text
parentIdoptionalidReply to this comment

save_version

Read & write token

Save a named version of a page's current content to its history.

InputTypeDescription
pageIdidThe page id
reasonoptionalstringA short note, e.g. "Before restructuring"