Skip to main content

MCP Tools

Reference for each tool exposed by the DEON MCP server.

📄️ get_project

Read a project kinds, parentId (direct children of one container), bbox (items intersecting a canvas rectangle), textContains (case-insensitive) and externalIds combine with AND; offset/limit page through the result (default 200 items), which reports total and hasMore. By default each item has id, kind, position (relative to its container), size (plus estimatedSize, the box the clients draw, for a label that grows with its text) and plain text cut to 200 characters (textTruncated marks a cut). fields picks others: style (fillColor, backgroundColor, strokeColor, strokeThickness, textColor, fontSize, fontFamily, horizontalTextAlignment, verticalTextAlignment, shapeType), a shape's cornerRadius (round-corner rectangles, world units) and adjustmentValues, connector lineType/start/end and labels, zIndex (stacking order in the container, 0 = back-most), autoSize, parentId, angle, fileId, fullText (no cut), html (stored markup), or all. An item's externalId comes by default, or when fields names it. A comment's text is its opening comment; with the text it also carries resolved, attachedTo (the item under the pin) and thread, its posts oldest first with author, createdAt and text (listcomments reads only the comments). Item ids are stable, so after a write re-fetch only what changed, not the whole board. Ids feed updateitems, arrangeitem, deleteitems and connect_items.

📄️ list_comments

Read the comment threads on a project's canvas - how people review a board - without its other items. Each thread has threadId, itemId (its comment pin, as get_project lists it), position, resolved (with resolvedAt and resolvedBy), attachedTo (the item under the pin: id, kind, text) and thread, its posts oldest first - the opening comment, then the replies - each with postId, author, authorId, createdAt, editedAt when changed, and the full text, mentions written as @Name. Threads come in the order they were opened. Use unresolvedOnly=true for the comments still waiting for an answer.

📄️ create_item

Create a text item "height" wraps at size.width and grows down - use it for running text of unknown length; "width" is one line that grows right at a fixed size.height; "both" is one line that grows freely (size is ignored); "none" is a fixed size.width x size.height box that clips text that does not fit - the user only sees a red overflow handle when they select the label. A sticky never auto-sizes. Without autoSize a label follows size [{itemId, code, message}] for text cut off by its box (TEXTHEIGHTTOOSMALL), text running into other text (TEXTOVERLAP), text that cannot be read on what is behind it (LOWCONTRAST), text running past the shape it starts on (OUTSIDEPARENTSHAPE) and text a new shape hides (TEXTCOVERED). The write happened; fix what they name before reporting the work as done.

📄️ create_items

Create many items and the connectors between them in one call. Preferred way to build a diagram or a board section. For a single item the single tools remain. Each entry has a kind - label, sticky, shape, connector or image - and the fields of the matching single tool (createitem, createshape, connectitems, uploadimage; a connector's line type is lineType). Name entries with ref and attach connectors with source/target {"ref" "..."} - no round trip for ids. Items are created in entry order, connectors after all of them. The whole batch is checked first and created as one change [{itemId, code, message}] for text cut off by its box (TEXTHEIGHTTOOSMALL), text running into other text (TEXTOVERLAP), text that cannot be read on what is behind it (LOWCONTRAST), text running past the shape it starts on (OUTSIDEPARENTSHAPE) and text a new shape hides (TEXTCOVERED). The write happened; fix what they name before reporting the work as done.

📄️ create_shape

Place a shape on a project canvas. shape comes from six groups it moves, turns and is deleted with it, wraps inside the shape and is centred unless aligned otherwise; it takes the same format as label text. Connector or arrow shape? connectitems draws a thin line/arrow attached to two items that follows them when they move - use it for relationships and flow edges. A block arrow shape (createshape, e.g. RightArrow) is a standalone filled area, not attached to anything - use it between process steps, as a direction cue, callout or header, and style it like any shape (fillColor, strokeColor, its own text). cornerRadius is the corner radius in world units, so shapes of different sizes get the same corners [{itemId, code, message}] for text cut off by its box (TEXTHEIGHTTOOSMALL), text running into other text (TEXTOVERLAP), text that cannot be read on what is behind it (LOWCONTRAST), text running past the shape it starts on (OUTSIDEPARENTSHAPE) and text a new shape hides (TEXTCOVERED). The write happened; fix what they name before reporting the work as done.

📄️ connect_items

Draw a connector (line/arrow) between two existing items. Defaults to a straight line with an arrow at the end. labels put text on the line: each sits at position along the drawn line (0 the start, 0.5 the middle, 1 the end) and offset across it (-1 just clear on the left of travel, 0 on the line, which is cut behind it, 1 just clear on the right, anything between; side Above / On / Below is shorthand for -1 / 0 / 1), and moves with the line. Connector or arrow shape? connectitems draws a thin line/arrow attached to two items that follows them when they move - use it for relationships and flow edges. A block arrow shape (createshape, e.g. RightArrow) is a standalone filled area, not attached to anything - use it between process steps, as a direction cue, callout or header, and style it like any shape (fillColor, strokeColor, its own text). Colors are hex strings only - "#RRGGBB" (e.g. "#3B82F6"), or "#AARRGGBB" for alpha (alpha first). rgb()/rgba(), hsl() and named colors are rejected. Returns the new connector id.

📄️ update_items

Update one or many items in one call, as one change the size follows - an auto axis goes to 0, a fixed one keeps the size it has, and an axis that grows today can only be fixed by sending "size" with it. Label auto-size (autoSize) Label text is plain text, where each line break starts a new line. For formatting it takes only these tagsitalic, text-decoration [{itemId, code, message}] for text cut off by its box (TEXTHEIGHTTOOSMALL), text running into other text (TEXTOVERLAP), text that cannot be read on what is behind it (LOWCONTRAST), text running past the shape it starts on (OUTSIDEPARENTSHAPE) and text a new shape hides (TEXT_COVERED). The write happened; fix what they name before reporting the work as done.

📄️ retrieve_knowledge

Semantic search over a project's indexed knowledge. Returns an answer (when post-processing is enabled) and source citations with relevance scores. Use to ground responses in the actual content of a DEON project. Requires the project to have been analysed by you, under your currently selected tenant — knowledge is scoped to (user, tenant, project), not to the project alone. When there are no citations the result carries an indexed flag saying whether that means 'not analysed' or 'analysed, but no match for this query'. The query is matched by meaning, which ranks exact tokens poorly: pass part numbers, codes, prices and verbatim phrases in keywords too, so the hybrid search also matches them literally.