# Eledo PDF — how to use (mcp.ai)

Connect your Eledo PDF account and use 4 tools for documents straight from your AI agent. Connect with your own API key. Eledo PDF generates PDF documents from reusable templates and structured data, with APIs for templates, schemas, generation, and downloads.

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

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

### Endpoints
- `POST https://api.mcp.ai/api/eledo/generate/pdf` — Generate a downloadable PDF from an Eledo template and input data. Each successful call consumes document quota. Validate data against Get Template Schema because Eledo may render missing or invalid f
  - body: { template_id: string, template_data?: object, template_version?: integer }
- `POST https://api.mcp.ai/api/eledo/get/current/account` — Return the account identifier associated with the connected Eledo API key.
- `POST https://api.mcp.ai/api/eledo/get/template/schema` — Return the input-field schema for an Eledo template and optional version.
  - body: { schema_type?: string, template_id: string, template_version?: integer }
- `POST https://api.mcp.ai/api/eledo/list/templates` — Return a bounded list of templates owned by the connected Eledo account. This intentionally does not enumerate the potentially unbounded public library.
  - body: { max_results?: integer }

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

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