PromptReady MCP
A PromptReady MCP server that logs you into your PromptReady account and converts local PDF/CSV files to Markdown via the PromptReady cloud.
Authenticate:
loginopens browser Google OAuth (local callback on 127.0.0.1:18765) and saves tokens to~/.config/promptready/credentials.json;logoutclears saved credentials and env tokens.Check account:
get_creditsreturns your credit balance and email (credits are deducted server-side when a job is queued).Manage convert defaults:
get_convert_settings/set_convert_settingspersist engine (paddle,paddle_vl15,glm_ocr), tables, images, and reference-stripping options for future conversions.Convert files:
convert_pdfuploads a local.pdf/.csvand queues conversion using saved settings, optionally waiting (wait,timeout_sec,output_dir) and downloading the.mdresult.Track jobs:
get_statusreports the current session job's status;wait_and_downloadpolls until done/failed/cancelled, then writes the Markdown to a local directory.Notes: results are downloadable for ~3 hours after completion;
convert_pdf(wait=True)can run a long time, so hosts need a high tool timeout. The README also mentions alist_conversionstool andlog_id-based lookups, but those are not present in this schema —get_statusandwait_and_downloadhere take nolog_id.
Supports signing in with a Google account: the login tool opens the Google OAuth page in the browser, receives the callback on a local 127.0.0.1 listener, and saves the resulting PromptReady tokens (0600) on the user's machine so subsequent conversions use the account's credits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PromptReady MCP Convert /home/user/report.pdf to markdown"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PromptReady MCP
Official Model Context Protocol client for PromptReady — convert PDF/CSV to Markdown from AI agents (Grok, Claude Code, Cursor, and other MCP hosts).
Same PromptReady account and credits as the web app.
Data flow: your local PDF/CSV files are uploaded to the PromptReady cloud (
promptready.space) for OCR processing. Converted Markdown is downloaded back to your machine. Files are auto-deleted from the server 3 hours after your batch finishes. No long-term storage.
Features
Browser Google login (tokens stay on your machine)
get_credits,convert_pdf,get_status,wait_and_download,list_conversionsDurable results:
convert_pdfreturns alog_id;wait_and_download/get_statusaccept it and resolve via the database, so a server restart, a redeploy, or a second back-to-back convert can no longer orphan a finished job (results are kept 3 hours)Slash commands for humans:
/promptready:convertand five more (below)Saved convert defaults (engine, tables, images) — not on every call
Factory default: PaddleOCR-VL, tables on, images off
Related MCP server: document-converter-mcp
Install
As a Claude Code plugin (recommended)
Once listed in the Claude Code plugin directory:
/plugin install promptreadyAs a standalone MCP server
pip install promptready-mcpOr run it without installing:
uvx promptready-mcpgit clone https://github.com/hydrojwh/promptready-mcp.git
cd promptready-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install -e .Login (once per machine)
promptready-mcp-loginIf you installed with uvx, the login command lives in the same package:
uvx --from promptready-mcp promptready-mcp-loginEither opens Google OAuth and saves credentials to
~/.config/promptready/credentials.json (file mode 0600). That path is in your
home directory, so it survives uvx cache resets. You can also log in from inside
an MCP host by calling the login tool.
After you sign in, the browser returns to http://127.0.0.1:18765/callback — a
local page started by the login command. No Supabase configuration is needed.
If browser-based Google login is not an option, the same command accepts email and password:
promptready-mcp-login --email you@x.comLeave out --password and you will be prompted for it instead — this keeps the
password out of your shell history.
Already have an access token? Set PROMPTREADY_ACCESS_TOKEN in the environment
(MCP host or shell). Environment variables take precedence over the saved
credentials file.
MCP host config
Fastest: let your AI agent install it
If you are already in an MCP-capable agent, skip the JSON editing and just ask:
Install the PromptReady MCP server for me. The PyPI package is
promptready-mcp(stdio commandpromptready-mcp). Add it to your MCP config, then I will run thelogintool.
In Claude Code the agent can use the built-in CLI:
claude mcp add promptready -- promptready-mcpReconnect after changing config
Hosts do not pick up MCP config changes mid-session. After changing the
config, restart the host or reconnect the server — in Claude Code, open the
/mcp panel and reconnect.
The /mcp panel shows server status and lists the connected servers'
tools, but it does not run them: picking a tool in that list will
not invoke it. Tools are invoked through normal conversation — ask the
agent to convert a file and it calls convert_pdf for you. If a call
fails, reconnect from the panel first.
Claude Code
claude mcp add promptready -- promptready-mcpThe default scope is local (this project only). Use --scope user to
register it for all your projects, or --scope project to share the
registration through a committed .mcp.json.
Cursor
Add to ~/.cursor/mcp.json (or .cursor/mcp.json for a single project):
{
"mcpServers": {
"promptready": {
"command": "promptready-mcp"
}
}
}Grok
[mcp_servers.promptready]
command = "promptready-mcp"
enabled = true
tool_timeout_sec = 3600Claude Desktop / generic JSON
{
"mcpServers": {
"promptready": {
"command": "promptready-mcp"
}
}
}No access token in config files required after login.
GUI hosts start servers with a narrow PATH, so a console script installed by
pip install --user is often invisible to them — the host reports a spawn
failure or "server disconnected" rather than a missing command.
Two reliable fixes:
{ "mcpServers": { "promptready": {
"command": "uvx", "args": ["promptready-mcp"] } } }or point at the absolute path of the script:
/ABS/PATH/.venv/bin/promptready-mcp.
Tools
Tool | Purpose |
| Browser auth / clear local credentials |
| Credit balance |
| Saved convert defaults |
| Upload path → queue (optional |
| Status — by |
| Wait + save |
| Recent conversions with |
Downloaded names follow the web app: {name}_PaddleOCR-VL.md (engine label).
Credits are deducted by the server when a job is queued, exactly as on the web
app. convert_pdf(wait=True) can run for a long time, so give the host a high
tool timeout.
Durable results with log_id (0.4.0)
convert_pdf returns log_id — the id of the conversion record in your
account. Unlike the session status, it survives backend restarts and later
converts:
convert_pdf(path="report.pdf") → {"log_id": "…uuid…", …}
wait_and_download(log_id="…uuid…") → saves report_PaddleOCR-VL-1.6.md
list_conversions(limit=10) → past conversions + their log_idsResults are downloadable for 3 hours after completion (HTTP 410 after that —
converting again, with fresh credits, is then the only way). If a download
fails for another reason, retry wait_and_download with the same log_id;
never re-run convert_pdf for the same file.
Slash commands
MCP prompts are the human entry point: instead of describing what you
want, you pick a command. Hosts that surface prompts as slash commands
(Claude Code does) show them as /promptready:<name>:
Slash command | Purpose |
| Log in (opens the browser Google sign-in) |
| Log out on this machine |
| Show your credit balance |
| Convert a PDF/CSV to Markdown |
| Show the PromptReady web app URL |
| Show — and optionally change — convert defaults |
Each command expands to a short instruction; the agent then calls the
matching tool (login, get_credits, convert_pdf, …) for you.
/promptready:convert optionally takes two positional arguments, input
path then output directory. Pick the command from the slash menu (hosts
may list it as promptready:convert (MCP)) and append the arguments:
/promptready:convert (MCP) report.pdf markdown-outArguments are split on whitespace and cannot be quoted, so paths with
spaces do not fit on the command line — run the command bare and give
the paths in chat instead. Line breaks and control characters in
arguments are rejected outright (0.3.8): an argument is interpolated
into the instruction the command expands to, and it must never be able
to start a line of its own. With no arguments the command asks you for
them. The conversion itself always goes through the convert_pdf tool:
never re-run it for the same file while a download is pending — that
queues a fresh conversion and spends fresh credits; the expanded command
tells the agent to call wait_and_download instead.
Hosts that do not map prompts to slash commands simply ignore this section; the tools keep working as before.
Security
Tokens are never hardcoded in this repository.
Do not commit
~/.config/promptready/*or.env.Only use the official package linked from https://promptready.space
Vulnerability reports: see SECURITY.md
Network access and credentials
What this client talks to, so you can review it before installing:
Network: HTTPS requests to the PromptReady API at
https://promptready.space(override withPROMPTREADY_BASE_URL, or the base URL saved at login — if you set one, all API traffic, credentials included, goes to that host instead). When a conversion finishes, the Markdown result may be fetched from a short-lived signed download URL that the API returns (served from PromptReady's Cloudflare R2 storage); that request carries no credentials. There is no telemetry and no other third-party host. During browser login a short-lived listener binds to127.0.0.1only, to receive the sign-in callback; your browser, not this client, talks to the sign-in provider.Files read: the PDF/CSV paths you pass to
convert_pdf, plus this client's own config under~/.config/promptready/(credentials and convert defaults).Files written: the Markdown results you ask to save; the credentials file
~/.config/promptready/credentials.json(mode 600; override the path withPROMPTREADY_CREDENTIALS_PATH); and your convert defaults in~/.config/promptready/settings.jsonwhen you change settings (mode 600; override withPROMPTREADY_SETTINGS_PATH). Nothing else is left on disk.Credentials: your own PromptReady account session, created by
promptready-mcp-login(browser or email) or supplied throughPROMPTREADY_ACCESS_TOKEN/PROMPTREADY_REFRESH_TOKEN. The client sends it only to the PromptReady API, never to the signed download URL.
Service terms
Using the cloud API is subject to the Terms of Service and Privacy Policy. This MIT-licensed client does not grant free unlimited conversion. The license covers this client's source code only; use of the PromptReady cloud service (https://promptready.space) remains subject to its Terms of Service and Privacy Policy.
Smoke test (no account)
./scripts/smoke_stdio.shLicense
MIT — see LICENSE.
Available Tools
8 toolsconvert_pdfA
Upload a local PDF/CSV and queue conversion (same credits as the web app).
Uses saved user settings (get_convert_settings / set_convert_settings), not per-call engine flags. Factory default: paddle, tables on, images off.
Args: path: Absolute or home-relative path to a .pdf or .csv file. wait: If true, poll until done and download markdown (can take many minutes). timeout_sec: Max wait when wait=true (default 3600). output_dir: Directory for downloaded .md when wait=true.
Returns JSON with job info; if wait=true and completed, includes local md path.
Inputs: path (required), wait, output_dir, timeout_sec. Returns: result
get_convert_settingsA
Show saved convert defaults for this machine (not per-file options).
Defaults live in ~/.config/promptready/settings.json. convert_pdf always uses these until you change them with set_convert_settings.
Inputs: no named parameters. Returns: result
get_creditsA
Get the calling user's PromptReady credit balance.
Returns JSON: ok + credit_balance + email, or ok:false + error. Requires prior login (promptready-mcp-login / login tool) or env token.
Inputs: no named parameters. Returns: result
get_statusA
Get conversion status for the authenticated user's current session job.
Uses GET /api/v1/convert/status (session = user_id when logged in).
Inputs: no named parameters. Returns: result
loginB
Open the browser Google login page and save tokens for this machine.
Starts a local callback on http://127.0.0.1:18765/callback, opens PromptReady Google OAuth, stores credentials under ~/.config/promptready/credentials.json (mode 600), and applies them to this process.
Users should run this once (or use CLI: promptready-mcp-login) instead of pasting tokens manually. Requires Supabase redirect allowlist for that URL.
Inputs: timeout_sec. Returns: result
logoutA
Remove saved MCP credentials from this machine and clear env tokens.
Inputs: no named parameters. Returns: result
set_convert_settingsA
Update saved convert defaults (persists for future convert_pdf calls).
Only pass fields you want to change. Example: set engine to paddle_vl15 once, then every convert uses that until changed again.
Args: engine: paddle | paddle_vl15 | glm_ocr include_tables: keep markdown tables include_images: include image/visual extraction (heavier) remove_references: strip references section when supported
Inputs: engine, include_images, include_tables, remove_references. Returns: result
wait_and_downloadA
Poll get_status until completed/failed/cancelled, then download markdown if available.
Args: timeout_sec: Max seconds to wait (OCR can take many minutes). poll_interval_sec: Sleep between polls (default 3). output_dir: Where to write the .md file. source_path: Optional original file path (used only for output filename).
Inputs: output_dir, source_path, timeout_sec, poll_interval_sec. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Tools have distinct purposes: auth, settings, conversion, status, download. However, convert_pdf with wait=true and wait_and_download both handle waiting and downloading, which could cause slight confusion, but descriptions clarify their different roles.
All names use snake_case, but inconsistent patterns: some are verb_noun (convert_pdf, get_credits), others are bare verbs (login, logout), and wait_and_download uses 'and'. Minor deviations from a strict verb_noun pattern.
8 tools feel appropriate for a PDF conversion service, covering auth, settings, conversion, and status. Not excessive nor too sparse, though a few additional tools (e.g., list conversions) could be added.
The tool set covers the essential lifecycle: auth, configuration, conversion, status polling, and download. Minor gaps like listing past conversions or deleting jobs exist, but core workflow is complete.
Maintenance
Related MCP Connectors
Convert PDF, Word, Excel and scanned documents to Markdown, tables and RAG chunks. OCR.
Converts PDF, scans, DOCX, XLSX and PPTX to Markdown with tables and page-aware RAG chunks.
Convert PDF, DOCX, XLSX and 25 other formats to clean Markdown for LLMs and RAG. No key or account.
Convert PDFs, Office docs, websites and audio into AI-ready Markdown, then search and ask your docs.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConverts documents (PDF, DOCX, images, etc.) to Markdown using Microsoft's Markitdown library, with no local setup required. Integrates with AI agents via MCP for seamless document conversion.1-
- AlicenseAqualityCmaintenanceConverts documents between Markdown, PDF, DOCX, and HTML locally with AI-friendly Markdown output and secure file access.6MIT
- AlicenseAqualityDmaintenanceConverts files (PDF, DOCX, PPTX, XLSX, images via OCR) and URLs to Markdown, enabling AI clients to read them via a single MCP tool.1GPL 3.0
- AlicenseNot gradedqualityCmaintenanceConverts PDFs, Office files, spreadsheets, emails, audio, and more to Markdown locally, enabling AI assistants to read and process them without cloud upload.MIT