Skip to main content

Connect Scanned PDF Conversion and Book Translation to AI Agents via MCP

Connect PDF Craft's remote MCP server (Streamable HTTP) to AI agents to check balances, estimate costs, and convert or translate scanned PDFs and EPUBs end to end.

New user gift

Read the Full MCP Setup Guide

Check the production MCP endpoint, OAuth 2.1 and Bearer API Key instructions, and protocol compatibility.

Free starter credit

$1

About 330 PDF pages or 90K EPUB words

No card required, credited right after sign-up

Open MCP Docs
Diagram showing an AI agent connecting to PDF Craft's remote MCP server over Streamable HTTP
Diagram: AI agents connect to PDF Craft's remote MCP endpoint over Streamable HTTP via OAuth 2.1 or a Bearer API key to check capabilities and cost, upload file bytes, run conversion, and fetch download links.

Dropping a short, clean text PDF straight into Claude or Cursor works well for quick summaries. The moment you hand an agent a pure-image scanned PDF, a multi-column paper packed with equations, or a 200-page book you want exported as a clean EPUB or translated PDF, chat attachment limits break down: OCR is incomplete, columns scramble, context windows overflow, and chat UIs cannot produce finished reflowable books.

Connecting PDF Craft's remote MCP (Model Context Protocol) server to any AI agent that supports Streamable HTTP and protocol version 2026-07-28 gives your agent direct access to the dedicated OCR, layout reconstruction, and translation pipeline. Inside a single conversation, the agent can inspect supported formats, check your balance, estimate cost before spending credits, upload the file, track progress, and hand back the finished Markdown, EPUB, or translated PDF download link.

1. When to Use MCP Instead of Pasting a PDF Into Chat

TaskDrag PDF Directly Into ChatCall PDF Craft via MCP
Quick summary of a 3-page clean text PDFFastest and sufficientUnnecessary extra step
Pure-image scanned PDF with tables and equationsOften misses text or scrambles columnsRuns full OCR and layout restoration, returning clean Markdown plus image assets
200-page foreign scanned book to Kindle EPUB or bilingual editionChat cannot export valid EPUB filesProcesses the whole book asynchronously and returns a ready-to-read download link
Agent workflow in a 2026-07-28-compatible client (estimate cost, convert, pull into workspace)Requires manual browser switchingChains balance check, cost estimate, upload, polling, and download in one flow

2. Two Ways to Connect (Production Endpoint)

PDF Craft's hosted MCP endpoint is https://api.pdfcraft.ai/v1/mcp using Streamable HTTP and MCP protocol version 2026-07-28 (legacy 2025 initialization and session flows are not supported).

Client compatibility note: Before configuring your client, verify that it supports MCP protocol 2026-07-28. Clients that still rely on legacy 2025 initialization (including Cursor builds that have not yet added 2026-07-28 support) cannot connect to this endpoint until they add support for the newer protocol.

Option 1: Interactive OAuth 2.1 Login (Recommended)

If your client supports MCP OAuth 2.1 (including RFC 9728 protected resource metadata and dynamic client registration), point it to the endpoint directly without copying keys:

{
  "url": "https://api.pdfcraft.ai/v1/mcp"
}

When prompted, sign in to your OOMOL account in the browser and grant the pdfcraft:use permission.

Option 2: Bearer API Key

  1. Create an API key in OOMOL Console.
  2. Add the remote MCP server with an Authorization header (field names vary slightly across clients):
{
  "url": "https://api.pdfcraft.ai/v1/mcp",
  "headers": {
    "Authorization": "Bearer YOUR_API_KEY"
  }
}

Security note: Store API keys in your client's secure configuration or environment variables. Never paste keys into chat messages or embed them inside URLs.

3. Recommended Agent Workflow: Estimate Before Converting

Once connected, instruct the agent to call get_capabilities first to verify supported formats and languages, then check balance and estimate cost before submitting large files:

Diagram illustrating an AI agent checking balance, estimating cost, and converting a scanned PDF via PDF Craft MCP
Diagram: typical agent interaction checking capabilities and cost estimate before submitting a scanned PDF conversion task.

A clear prompt pattern looks like this:

Call get_capabilities first, check my PDF Craft balance, and estimate the cost to convert this scanned PDF to Markdown with refined mode enabled. Wait for my confirmation before uploading and starting the job, and keep the task UUID so we can fetch the download link once finished.

Estimating upfront prevents accidentally running expensive options on a 400-page archive, and saving the task UUID lets you resume polling or re-fetch downloads even if a chat session disconnects.

4. Four Practical Boundaries to Know First

  1. The agent must upload actual file bytes: Because the MCP server runs remotely, passing a bare local path string such as /Users/me/book.pdf will not work. Make sure your agent client can read and upload the file contents to the upload URL returned by the task.
  2. Billing and insufficient-balance recovery: MCP jobs share the same account balance and published rates as the web workspace (PDF conversion and translation are billed per page, while EPUB translation is billed by source word count; see Pricing & Recharge). Full outputs are returned by default; if a download is blocked due to insufficient balance, top up your account and request the download link again using the same task UUID without re-running conversion.
  3. Check protocol version support: If connection handshake fails immediately, confirm your client supports Streamable HTTP and MCP 2026-07-28 rather than legacy SSE or 2025 session flows.
  4. Use the REST API for unattended backend batch jobs: MCP shines in interactive human-in-the-loop agent sessions. For scheduled server pipelines or CI scripts, call the standard REST API directly (see the zero-dependency Python API guide and REST API Reference).