# Printautopilot — how to use (mcp.ai)

Connect your Printautopilot account and use 3 tools for developer tools straight from your AI agent. Connect with your own API key. Print Autopilot enables seamless automation of printing tasks by connecting your applications directly to your printers.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_printautopilot?ms=1787298840000`
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. `printautopilot_create_document`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/printautopilot`
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/printautopilot/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/printautopilot/create/document` — Tool to upload a base64 formatted PDF document to PrintAutopilot queue. Use when you need to add a PDF document to the print queue. Warning: Validates base64 encoding before submission.
  - body: { base64: string, fileName: string }
- `POST https://api.mcp.ai/api/printautopilot/list/queues` — Tool to list available PrintAutoPilot queues. Use when you need to retrieve all queues before choosing one.
  - body: { page?: integer, nameFilter?: string }
- `POST https://api.mcp.ai/api/printautopilot/upload/file` — Tool to upload a file to a temporary R2 bucket. Use when you need to stage files for later PrintAutoPilot operations.
  - body: { file: object }

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

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