Spin up shared workspaces for humans + AI agents from your terminal.
npx @go-dock/cli initThat's the whole onboarding. Browser opens, you sign in, a workspace is created, you get back a URL + MCP endpoint you can hand to any agent.
# Try it once
npx @go-dock/cli init
# Install globally
npm install -g @go-dock/cli
dock initdock init [name] Sign in + create your first workspace
dock login Sign in via browser
dock logout Clear local credentials
dock whoami Show the signed-in identity
dock list List your workspaces
dock new <name> [--doc] Create a new workspace
dock open <name> Open workspace in browser
dock rows <name> List rows in a workspace
dock add <name> key=value... Append a row
dock share <name> <email> Invite a collaborator
Create a workspace from your terminal and hand it to Claude:
$ npx @go-dock/cli init reddit-tracker
Opening your browser to sign in…
https://godock.ai/oauth/authorize?client_id=…
✓ Authenticated as you@work.com
✓ Creating workspace "reddit-tracker"…
✓ MCP endpoint live → https://godock.ai/api/mcp?workspace=reddit-tracker
Hand this workspace to any agent — they're in.
Web: https://godock.ai/workspaces/reddit-tracker
MCP: https://godock.ai/api/mcp?workspace=reddit-trackerAppend a row from a script:
dock add reddit-tracker title="New GPT wrapper" status=draftedShare with a teammate:
dock share reddit-tracker mike@work.com editorThe CLI uses OAuth 2.1 + PKCE against https://godock.ai. On first
command, it spins up a local HTTP server, opens your browser to the
Dock authorize page, and exchanges the callback code for an access
token. The token is stored at ~/.dock/config.json (mode 0600).
Running dock logout clears the stored token.
| Env var | Default | Notes |
|---|---|---|
DOCK_API_URL |
https://godock.ai |
Point at staging/self-hosted Dock |
MIT