Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MOKI_WHITEBOARD_DATAYesAbsolute path to the MOKI Whiteboard SQLite database file, e.g. D:/path/to/moki-whiteboard/data/moki-whiteboard.db
MOKI_WHITEBOARD_MCP_TOKENNoOptional token for local authentication when using Streamable HTTP MCP. Not intended for public exposure.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
whiteboard_renameC

重命名明确指定的白板;支持版本校验。

whiteboard_duplicateB

复制白板的全部页面与内容;图片和文件引用保留。

whiteboard_delete_boardA

删除明确指定的整张白板,不可撤回;需要 confirm=true,建议提供 expectedVersion。不会删除原始映射文件。

whiteboard_get_thumbnailA

读取最后一次编辑保存的真实白板截图。尚未打开编辑的白板可能没有截图;返回截图版本和是否最新。

whiteboard_listA

列出可供 Agent 操作的所有白板文档。

whiteboard_createB

创建一个独立白板文档,并自动包含一个空白页面。

whiteboard_inspectA

读取页面、元素 ID、位置、尺寸、颜色和文本。修改前先调用此工具取得准确 ID。

whiteboard_create_pageB

在指定白板中创建新页面,并将其设为当前页面。

whiteboard_manage_pagesA

列出、重命名、移动到分组或删除页面。删除页面也会删除该页内容,且白板至少保留一页。

whiteboard_manage_page_groupsB

创建、重命名、删除或列出页面分组;删除分组时页面会保留并回到未分组。

whiteboard_add_elementsB

批量添加便签、文本、图形、箭头、画笔、思维导图、图片、文件或链接。坐标是无限画布世界坐标;省略坐标时自动排列。

whiteboard_update_elementsC

按准确元素 ID 批量修改文本、位置、尺寸、颜色或旋转角度。

whiteboard_align_elementsC

将两个或更多元素按边缘、中心或间距进行对齐分布。

whiteboard_delete_elementsA

仅删除明确给出的元素 ID。不会删除页面或整个白板。

whiteboard_exportA

返回完整快照和 .moki ZIP 下载地址(下载需要 API)。includeArchive=true 时直接返回含图片/文件的归档 Base64,无需 API;归档最多 8 MiB,较大白板请通过应用导出。

whiteboard_native_editB

直接调用与 UI 相同的 MOKI 原生编辑器。支持原生 props 编辑、分组/资料夹,以及真正的思维导图分支操作。先 whiteboard_inspect/whiteboard_export 获取准确 ID 和记录;rotation 使用角度。

Prompts

Interactive templates invoked by user choice

NameDescription
operate-moki-whiteboard引导 Agent 安全、可验证地编辑白板

Resources

Contextual data attached and managed by the client

NameDescription
当前 MOKI 白板最近更新白板的页面与元素结构;不等同于当前浏览器打开的白板
我的白板指定白板的完整原生快照

TDQS

B3.4/5.0

Scored across 16 tools

Disambiguation4/5

Most tools target distinct resources and actions, with clear separation between board, page, group, and element operations. The main ambiguity is whiteboard_native_edit, a broad native editor that overlaps with whiteboard_update_elements, whiteboard_manage_page_groups, and mind-map element operations, plus minor overlap between whiteboard_inspect and whiteboard_export for retrieving IDs.

Naming Consistency4/5

All names use a consistent whiteboard_ snake_case prefix. Board-level actions often use bare verbs (whiteboard_create, whiteboard_list, whiteboard_rename) while sub-resource actions use verb_noun (whiteboard_create_page, whiteboard_update_elements), which is readable but not perfectly uniform; whiteboard_native_edit is the main outlier.

Tool Count4/5

At 16 tools, the server is slightly above the ideal 3-15 range but justified for a feature-rich whiteboard with boards, pages, page groups, elements, export, and native editing. Each tool covers a meaningful operation, with limited redundancy despite the broad native_edit catch-all.

Completeness4/5

The surface covers board create/list/rename/duplicate/delete, page create/list/rename/move/delete, page group management, element add/update/align/delete, inspection, export, and native editing. Minor gaps include page duplication, board metadata updates beyond rename, and explicit version restore/history operations.

Maintenance

ActivityMaintained
ResponsivenessNo issues