# draft

draft is a collaborative Markdown workspace: people and AI agents write and edit the same documents, live, with comments, suggested changes and version history. Documents are private to the people they are shared with.

Links into it come in two shapes. https://draft.rodlabs.dev/d/<id> is a document, which opens for the people it is shared with. https://draft.rodlabs.dev/s/<token> is a share link, and a public one can be read without an account. Both answer in Markdown, like this page.

## Connecting an agent to draft

draft's MCP server is `https://draft.rodlabs.dev/mcp` (streamable HTTP). Nothing has to be set up in advance: the app the agent runs in is given this address, it opens draft in the person’s browser, they sign in, and draft’s consent screen asks them what the agent may reach. Nothing on this page grants access by itself — the person decides on that screen, and can change or revoke it later under Agents in draft.

How they add it depends on the app the agent runs in:

- **Claude (web & desktop)** — connector
  - Add to Claude: <https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=draft&connectorUrl=https%3A%2F%2Fdraft.rodlabs.dev%2Fmcp>
  - Or by hand: open [Claude's custom connectors](https://claude.ai/customize/connectors?modal=add-custom-connector) and paste this address: `https://draft.rodlabs.dev/mcp`
  - Click Add, and sign in when Claude sends you back to draft.
  - Also possible: Desktop extension (https://draft.rodlabs.dev/llms-full.txt).
- **ChatGPT** — web
  - Open [ChatGPT's plugins page](https://chatgpt.com/plugins), click + and choose Add custom MCP server.
  - Give it a name, and paste this address as the Connection URL: `https://draft.rodlabs.dev/mcp`
  - Choose OAuth for authentication, select “I understand and want to continue”, then Create as a plugin.
  - Also possible: Desktop app (https://draft.rodlabs.dev/llms-full.txt).
- **Gemini**
  - In [Gemini](https://gemini.google.com/apps), open Settings at the bottom left, then Connected Apps.
  - Under “Custom apps”, click Add a custom app.
  - Paste this address and click Next: `https://draft.rodlabs.dev/mcp`
- **Grok**
  - Open [Grok's connectors](https://grok.com/connectors).
  - Click New connector and choose Custom.
  - Paste this address and finish the sign-in it starts: `https://draft.rodlabs.dev/mcp`
- **Claude Code**
  - Run this in your project: `claude mcp add --transport http draft https://draft.rodlabs.dev/mcp`
  - Then type /mcp in Claude Code and pick draft to sign in.
- **Codex CLI**
  - Run this in your terminal: `codex mcp add draft --url https://draft.rodlabs.dev/mcp`
  - Then run codex mcp login draft to sign in.
- **Cursor**
  - Add to Cursor: <cursor://anysphere.cursor-deeplink/mcp/install?name=draft&config=eyJ1cmwiOiJodHRwczovL2RyYWZ0LnJvZGxhYnMuZGV2L21jcCJ9>
  - Or add this inside "mcpServers" in ~/.cursor/mcp.json: `"draft": { "url": "https://draft.rodlabs.dev/mcp" }`
- **VS Code / GitHub Copilot**
  - Open in VS Code: <vscode:mcp/install?%7B%22name%22%3A%22draft%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdraft.rodlabs.dev%2Fmcp%22%7D>
  - If nothing opens, run “MCP: Add Server” from the Command Palette, choose HTTP, paste this address, and save it to Copilot Global so every project has it: `https://draft.rodlabs.dev/mcp`
- **Something else**
  - Add a remote MCP server (streamable HTTP) with this address: `https://draft.rodlabs.dev/mcp`
  - Leave the credentials empty: draft registers the client itself and asks you, in a browser, what it may reach.

Every client draft knows, with plan, region and admin restrictions: https://draft.rodlabs.dev/llms-full.txt. Signed in, draft’s own Connect page has the same with buttons: https://draft.rodlabs.dev/account/agents.

## Once connected

draft’s tools reach what the person can, at the level they chose on the consent screen. `list_documents` shows what is there; `read_document` takes a document link or a share link as it is.
