# Draftable — how to use (mcp.ai)

Connect your Draftable account and use 1 tools for documents straight from your AI agent. Connect with your own API key. Draftable provides an enterprise-grade document comparison API that allows developers to compare popular document types such as PDFs, Word, and PowerPoint files.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_draftable?ms=1787291460000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `draftable_list_comparisons`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/draftable`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/draftable/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/draftable/list/comparisons` — Tool to retrieve a paginated list of document comparisons. Use when you need to browse comparisons across pages.
  - body: { limit?: integer, offset?: integer }

## Example prompts
- "What can I do in Draftable?"
- "Show me a summary of my Draftable account"

## More
- Page: https://mcp.ai/draftable
- Agent spec (llms.txt): https://mcp.ai/draftable/llms.txt
- Postman collection: https://mcp.ai/draftable/postman.json
