mcp

v0.5.0
@wwwshuttle-app/mcp Checked 4 days ago Published 1 month ago

MCP server for wwwshuttle - connect Claude Code to your thought space

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

shuttle_status

Check if Shuttle PWA is connected. Call this first to verify connection.

shuttle_list_looms

List all looms (documents) in Shuttle

shuttle_get_loom

Get details of a specific loom including its threads

ParameterTypeDescription
loomId *stringThe ID of the loom to retrieve

shuttle_get_thread

Read a thread's full contents: every node in tree order with its ID and rev. Use this to read what a thread actually says (shuttle_get_loom only returns thread titles and counts). The returned node IDs can be passed to shuttle_update_node (with the node's rev as expectedRev) or used as parentNodeId in shuttle_add_nodes. For a long thread, read an outline first (depth, preview) and expand parts with under. Each read ends with a snapshot token: pass it as since to read only what changed.

ParameterTypeDescription
threadNodeId *stringThe thread node ID (from shuttle_get_loom or shuttle_search)
depthintegerLevels to show (0 = top level only); folded nodes say how many they hide
previewintegerCut each node to its first line, at most this many characters; a cut node has no rev, so read it with under before editing it
sincestringA snapshot token from an earlier read of this thread: returns only what changed since (an expired token gives the full read). Not with depth or under
understringRead only this node and its subtree

shuttle_create_loom

Create a new loom (document) in Shuttle

ParameterTypeDescription
title *stringTitle for the new loom
emojistringOptional emoji icon for the loom
themeIdstringColor theme for the loom

shuttle_create_thread

Create a new thread in a loom. IMPORTANT: After creating a thread, you MUST either add content to it immediately using shuttle_import_markdown or shuttle_add_nodes, or ask the user what content they would like to add. Never create an empty thread and stop.

ParameterTypeDescription
loomId *stringThe ID of the loom to add the thread to
title *stringTitle for the new thread

shuttle_add_nodes

Add content nodes to a thread. Each node is a bullet point that can have children. NOTE: For adding structured content with hierarchy or links, prefer shuttle_import_markdown instead.

ParameterTypeDescription
nodes *arrayArray of nodes to add
threadNodeId *stringThe ID of the thread to add nodes to

shuttle_update_node

Replace the whole content of an existing node. Pass expectedRev, the node's rev from shuttle_get_thread: if the node changed since you read it, nothing is written and the error gives its current content and rev. Re-read it, and retry with the new rev only if your change still applies.

ParameterTypeDescription
content *stringNew markdown content for the node
nodeId *stringThe ID of the node to update
expectedRevstringThe node's rev (8 hex chars) from shuttle_get_thread; the write is refused if the node changed since

shuttle_get_open_thread

Call this first. Returns what the person is looking at in Shuttle: the open loom, the open thread with every node in tree order (id, rev, depth), the titles and ids of the loom's other threads, the mode and the focused node. Use the ids with shuttle_add_nodes (parentNodeId) and shuttle_update_node (pass the node's rev as expectedRev); read other threads with shuttle_get_thread. For a long thread pass depth or preview, then expand with shuttle_get_thread and under.

ParameterTypeDescription
depthintegerLevels to show (0 = top level only); folded nodes say how many they hide
previewintegerCut each node to its first line, at most this many characters; a cut node has no rev, so read it with under before editing it
sincestringA snapshot token from an earlier read of this thread: returns only what changed since (an expired token gives the full read). Not with depth or under
understringRead only this node and its subtree

shuttle_get_usage_guide

Returns Shuttle's compact usage guide: keyboard shortcuts, panes and modes, how sharing and sync work, node formatting rules, and how rev / expectedRev guard edits. Call it when asked "how do I…" or before writing unusual markdown.

shuttle_get_context

Get the current navigation context in Shuttle. Returns the current loom, thread, focused node, and mode (viewing/writing). Call this to understand what the user is currently looking at.

shuttle_import_markdown

**PREFERRED method for adding content to Shuttle.** Import markdown with full support for hierarchy and depth links. **Two modes (auto-detected):** 1. **New Loom mode**: Start with `# Title` → creates new Loom with threads 2. **Current Thread mode**: No title → adds bullets to current thread **Markdown syntax:** - `- ` bullets with 2-space indentation for hierarchy - `---` separators between threads (new loom mode only) - `#anchor-name` at end of line declares an anchor point - `[>>](anchor-name)` creates a depth link to that anchor **CRITICAL: Three-Step Writing Order for Depth Links**…

ParameterTypeDescription
markdown *stringMarkdown content to import
threadIdstringOptional: thread ID to import to. Defaults to current thread if no # Title in markdown.