mcp
v0.5.0MCP server for wwwshuttle - connect Claude Code to your thought space
Connect Claude Code to your wwwshuttle thought space. That's it! Now Claude Code can read and write to your wwwshuttle. The MCP server bridges Claude Code and the wwwshuttle PWA. All data stays in your browser (IndexedDB) - the server just forwards commands via WebSocket.
Summary extracted from the README.
wwwshuttle MCP Server
Connect Claude Code to your wwwshuttle thought space.
Quick Start
claude mcp add wwwshuttle -- npx @wwwshuttle-app/mcp
That's it! Now Claude Code can read and write to your wwwshuttle.
Requirements
- wwwshuttle PWA open in your browser
- For production (wwwshuttle.app): Install the browser extension
- For development (localhost:5173): Works directly, no extension needed
How It Works
┌─────────────────────────────────────────────────────────┐
│ Claude Code (Terminal) │
│ "List my looms and create a new thread for research" │
└────────────────────────────────────────────────────────┘
│
│ MCP Protocol (stdio)
▼
┌──────────────────────────┐
│ @wwwshuttle-app/mcp │
│ (WebSocket server) │
└──────────────────────────┘
│
│ WebSocket (localhost:3847)
▼
┌──────────────────────────┐
│ wwwshuttle PWA │
│ (running in browser) │
└──────────────────────────┘
The MCP server bridges Claude Code and the wwwshuttle PWA. All data stays in your browser (IndexedDB) - the server just forwards commands via WebSocket.
Browser Extension
For production wwwshuttle.app (HTTPS), you need the browser extension to bridge the connection:
- Download wwwshuttle-mcp-bridge.zip
- Unzip the file
- Open Chrome →
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the unzipped folder
The extension connects wwwshuttle.app to the local MCP server.
Available Tools
| Tool | Description |
|---|---|
shuttle_status |
Check if wwwshuttle is connected |
shuttle_get_open_thread |
What the person is looking at: the open thread with node ids and revs (call first) |
shuttle_get_usage_guide |
Shuttle's usage guide (shortcuts, formatting, rev / expectedRev) |
shuttle_list_looms |
List all looms (documents) |
shuttle_get_loom |
Get loom details with threads |
shuttle_get_thread |
Read a thread's full node contents (tree order, with IDs) |
shuttle_create_loom |
Create a new loom |
shuttle_create_thread |
Create a thread in a loom |
shuttle_add_nodes |
Add bullet points to a thread |
shuttle_update_node |
Update a node's content |
shuttle_search |
Search across all content |
shuttle_get_context |
Get current navigation (loom, thread, focused node) |
shuttle_import_markdown |
Preferred - Import markdown with hierarchy and depth links |
The server also exposes a shuttle://usage resource (text/markdown): the canonical Shuttle usage map — read it before advising users or generating Shuttle content.
Example Usage
You: "What looms do I have in wwwshuttle?"
Claude: [Uses shuttle_list_looms]
You: "Create a new loom called 'Research Notes' about AI"
Claude: [Uses shuttle_import_markdown with structured content]
You: "What am I looking at right now?"
Claude: [Uses shuttle_get_context]
Troubleshooting
"Shuttle PWA is not connected"
- Make sure wwwshuttle is open in your browser
- For wwwshuttle.app: Ensure the browser extension is installed and shows "Connected"
- For localhost: Make sure the dev server is running (
pnpm dev)
WebSocket port conflict (3847)
# Kill any existing processes on port 3847
lsof -ti :3847 | xargs kill -9
Development
# Clone and install
git clone https://github.com/anthropics/wwwshuttle
cd wwwshuttle/app/mcp-server
pnpm install
# Run in dev mode
pnpm dev
# Build
pnpm build
License
MIT