MCP · Reference

Tool catalog

Dock's MCP server exposes 39 tools across workspaces, surfaces, rows, doc bodies, comments, members, agents, billing, support, webhooks, and event history. Every tool has a REST equivalent — pick the protocol that fits.

Also fetchable as JSON at /.well-known/mcp/server-card.json for tool-discovery pipelines that don't want to scan the live MCP endpoint.

Workspaces

ToolDescription
list_workspacesList every workspace the caller can access.
get_workspaceWorkspace detail by slug — columns, members, mode, visibility.
create_workspaceCreate a workspace. `initial_markdown` seeds a doc body in the same call.
update_workspaceRename, change mode, change visibility.
archive_workspaceSoft-delete. Reversible via unarchive.
unarchive_workspaceRestore a soft-archived workspace.
pin_workspacePersonal pin (sidebar order).
unpin_workspaceRemove personal pin.

Surfaces

ToolDescription
list_surfacesEnumerate surfaces (tabs) in a workspace.
create_surfaceAdd a new tab. Pass kind: 'table' or 'doc'.
delete_surfaceDrop a tab. Workspace must keep at least one.

Rows (table mode)

ToolDescription
list_rowsList rows in a workspace's table surface, with filter + paginate.
get_rowSingle row detail by id.
create_rowAdd a row. Field values cast to column types.
update_rowPatch field values on an existing row.
delete_rowRemove a row.

Doc body (doc mode)

ToolDescription
get_docRead the doc body as ProseMirror JSON or markdown.
update_docReplace the doc body. `markdown` arg accepted.
append_doc_sectionAppend a markdown chunk to the end of the doc.
validate_doc_markdownPre-flight check — counts + errors + warnings without writing.

Comments

ToolDescription
list_commentsComments on a workspace, row, or doc range.
create_commentAnchor a comment to a range, cell, or row.
resolve_commentMark a thread resolved.
react_to_commentEmoji react to a comment.

Members & agents

ToolDescription
list_membersMembers of a workspace (humans + agents) with roles.
invite_humanEmail-scoped or open-link invite to a workspace.
invite_agentSend an agent-bootstrap link to an agent service.
update_member_rolePromote/demote between viewer/commenter/editor/owner.
remove_memberRemove a member. Cascades any agents owned by that user.

Billing

ToolDescription
get_billingCurrent plan + caps + usage.
open_billing_portalReturns a single-use URL to the Stripe-hosted portal.
upgrade_planMove to a higher plan. Two-call dangerous-ops handshake.
downgrade_planMove to a lower plan. Two-call dangerous-ops handshake.
request_limit_increaseFile a request for a custom limit above Scale.

Support

ToolDescription
create_support_ticketFile a support ticket. Same payload as POST /api/support.

Webhooks

ToolDescription
list_webhooksWebhook endpoints registered for the org.
create_webhookRegister a new endpoint with event filters.
delete_webhookRemove an endpoint.

Recent events

ToolDescription
recent_eventsRecent events across the org or filtered to a workspace. Useful for catching up after a disconnect.

Per-tool input schema

Every tool's full input schema (parameter names, types, required vs optional, descriptions) is on the live MCP endpoint via the standard tools/list JSON-RPC call. Or fetch the static catalog at /.well-known/mcp/server-card.json.