Use Draft Lift from AI coding agents (Claude Code, Cursor, VS Code) or your terminal.
Connect your AI agent to the hosted MCP server. Create an API key in Settings, then run:
claude mcp add --scope user \
--header "Authorization: Bearer <your-api-key>" \
--transport http \
draftlift https://api.draftliftai.com/mcpUsing another agent? See MCP Setup.
No install required. Point your agent at https://api.draftliftai.com/mcp.
npm install -g @draftlift/cli
dl --helpRequires Node.js 20 or later. Installs the dl command (also available as draftlift).
Generate an API key in Settings and send it as a bearer token. The snippets under MCP Setup include this header:
Authorization: Bearer dl_live_...Sign in with your browser or an API key:
dl login # Opens browser for OAuth
dl login --no-browser # Prints URL to paste manually
export DRAFTLIFT_API_KEY=dl_live_...
dl whoami # VerifyOr save an existing key: dl login --api-key dl_live_...
Add the hosted server to your agent. Replace <your-api-key> with your API key.
claude mcp add --scope user \
--header "Authorization: Bearer <your-api-key>" \
--transport http \
draftlift https://api.draftliftai.com/mcp{
"mcpServers": {
"draftlift": {
"url": "https://api.draftliftai.com/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}{
"servers": {
"draftlift": {
"type": "http",
"url": "https://api.draftliftai.com/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}{
"mcpServers": {
"draftlift": {
"url": "https://api.draftliftai.com/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}Save reviewed text with the CLI's --content or --stdin options. CLI URL references store the URL string without fetching the page. Hosted MCP attempts web-page extraction in URL mode; inspect the saved result before using it.
Native PDF and document upload are unavailable. An agent or Codex can extract text outside Draft Lift, review it, and save that text. Saving a reference does not prove a draft used it; choose references in a surface that supports explicit selection.
All commands follow the pattern dl <resource> <verb>. Top-level shortcuts exist for common actions.
Generate content for a platform.
dl generate "Write a thread about AI productivity" --platform x
dl generate "Launch announcement" --platform linkedin --template "LinkedIn Post"
dl generate "..." --platform x --async
dl generate "..." --platform x --dry-run
dl generate "..." --platform x --jsonRepurpose an existing draft for a destination format.
dl repurpose <content-id> --platform linkedin
dl repurpose <content-id> --platform blog --template "Blog Post" --dry-runList your content items.
dl content list
dl content list --platform x --status generated --jsonGet a single content item by ID.
dl content get <content-id>
dl content get <content-id> --jsonScore content quality against platform rubrics.
dl score <content-id>
dl score <content-id> --jsonBrowse available templates.
dl templates list
dl templates list --platform x
dl templates list --jsonList all supported platforms.
dl platforms list
dl platforms list --jsonAdd a writing preference or brand voice memory.
dl memories add --platform x --content "Prefers casual tone"
dl memories listAdd reference material.
dl references add --url https://example.com/article
dl references add --content "Key talking points..." --title "Brand Guide"
dl references listManage workspaces.
dl workspace list
dl workspace use "My Agency"Check API usage and quotas.
dl usage
dl usage --jsonCheck job status (for async generation).
dl status <job-id>
dl status <job-id> --jsonConfigure Draft Lift for your AI coding agent.
dl setup --claude --mcp
dl setup --claude --cli
dl setup --cursor
dl setup --vscodeAuthenticate via browser OAuth.
dl login
dl login --no-browser
dl whoami
dl logout| Flag | Description |
|---|---|
| --json | Output as JSON (includes schema_version and trace_id) |
| --yes | Skip all confirmation prompts |
| --verbose | Show HTTP method, URL, status, and timing |
| --debug | Show full HTTP request/response headers and bodies |
| --dry-run | Preview what a command will do without executing (available on generate, repurpose, delete) |
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | User error (invalid flags, missing required args) |
| 2 | Auth error (expired key, not logged in) |
| 3 | Server error |
| 4 | Not found |