# promptready-mcp [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/hydrojwh/promptready-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/promptready-mcp

## Description
Convert PDF/CSV to Markdown with AI-powered OCR via the PromptReady cloud API.

## Tools
Capabilities this server exposes over MCP:

- **login** — 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. After sign-in the browser returns to the local
    callback URL; no Supabase configuration is required.
    
- **logout** — Remove saved MCP credentials from this machine and clear env tokens.
- **get_credits** — 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.
    
- **get_convert_settings** — 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.
    
- **set_convert_settings** — Update saved convert defaults (persists for future convert_pdf calls).

    Only pass fields you want to change. Example: set engine to paddle once,
    then every convert uses that until changed again.

    Args:
        engine: paddle (PaddleOCR-VL-1.6) | deepseek_ocr (DeepSeek-OCR) | glm_ocr (GLM-OCR)
        include_tables: keep markdown tables
        include_images: include image/visual extraction (heavier)
        remove_references: strip references section when supported
    
- **convert_pdf** — 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.
    The download can lag completion by a few seconds; if the file still cannot
    be saved, the response says download="pending" — the conversion succeeded
    and credits were already spent, so call wait_and_download, not convert again.
    
- **get_status** — Get conversion status — durable by log_id, session memory otherwise.

    With log_id (the UUID from convert_pdf's response): reads the
    DB-backed usage row (GET /users/usage) — survives backend restarts,
    redeploys and back-to-back converts. Status is the DB value
    (pending / completed / failed / cancelled).

    Without log_id: reads the session status (GET /convert/status); if
    the server no longer knows the session job ("not_found" — restart,
    scale-to-zero), falls back to the most recent usage row and says
    which file it picked.
    
- **list_conversions** — List this account's recent conversions (DB-backed, restart-proof).

    Each entry: log_id, file_name, page_count, credits, status
    (pending/completed/failed/cancelled), created_at, expires_at,
    engine_used, and downloadable (completed ∧ result retained — false
    once the 3-hour window passed). Use a log_id with wait_and_download
    to fetch any downloadable result, even after a server restart.
    
- **wait_and_download** — Wait for a conversion to finish, then save its markdown.

    Durable path (0.4.0): pass log_id (UUID from convert_pdf's response
    or list_conversions) — status comes from the DB usage row and the
    file from GET /convert/download/{log_id}, so the result survives
    backend restarts and later converts. 410/404 there mean the 3-hour
    retention window closed: the stored result is gone and converting
    again (fresh credits) is the only way to get it.

    Without log_id: polls the session status as before (free reads); if
    the server reports not_found, falls back to the most recent usage
    row and says which file was picked (plus a warning when it does not
    match source_path).

    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 (fallback filename check).
        log_id: Optional conversion id (UUID) — preferred, restart-proof.
    

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "promptready-mcp": {
    "command": "uvx",
    "args": ["promptready-mcp"],
    "env": {
      "PROMPTREADY_ACCESS_TOKEN": "",
      "PROMPTREADY_BASE_URL": ""
    }
  }
}
```

**Requires environment variables:** `PROMPTREADY_ACCESS_TOKEN`, `PROMPTREADY_BASE_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What promptready-mcp MCP server does

The promptready-mcp MCP server lets an MCP host submit local PDF or CSV files to PromptReady and retrieve Markdown output. Processing occurs in the PromptReady cloud through its OCR service. The resulting file is downloaded back to the local machine, with names based on the source file and selected engine.

PromptReady uses the same account and credit balance as its web application. Credits are charged when a conversion is queued. Completed results remain available for download for three hours, after which the conversion must be run again with new credits.

## How it works

The client exposes tools for authentication, account information, conversion management, and result retrieval. A typical workflow is:

1. Log in once on the machine running the MCP host.
2. Submit a file with `convert_pdf`.
3. Keep the returned `log_id` for later operations.
4. Check progress with `get_status` or wait and save the output with `wait_and_download`.
5. Review earlier jobs through `list_conversions`.

The `log_id` refers to a conversion record stored in the account database. Unlike session-only status, it remains usable across server restarts, redeployments, and later conversion requests. A waiting conversion can take a long time, so the MCP host should allow a suitably long tool timeout.

The promptready-mcp MCP server also provides MCP prompts that some hosts display as slash commands, including login, logout, credits, conversion, site, and settings commands. Hosts that do not expose MCP prompts can still use the tools directly.

## Setup and configuration

Install the package with `pip install promptready-mcp`, run it with `uvx promptready-mcp`, or install from source. Register the stdio command `promptready-mcp` in the MCP host. Claude Code, Cursor, Grok, and Claude Desktop configuration examples are provided by the project.

Run `promptready-mcp-login` to start browser-based Google authentication. Credentials are saved locally at `~/.config/promptready/credentials.json` with restrictive file permissions. Email and password login is available when Google sign-in is not suitable. The `login` tool can also start authentication from an MCP host. A supplied `PROMPTREADY_ACCESS_TOKEN` takes precedence over saved credentials.

`PROMPTREADY_BASE_URL` can override the PromptReady API base URL. No Supabase configuration is needed. If a graphical host cannot find the installed command, use `uvx promptready-mcp` or configure the executable's absolute path.

## Tools and capabilities

The promptready-mcp MCP server includes these tools:

- `login` and `logout` for local authentication management.
- `get_credits` for checking the account's remaining credits.
- `get_convert_settings` and `set_convert_settings` for saved conversion defaults.
- `convert_pdf` for uploading a path and queueing a PDF or CSV conversion, optionally waiting for completion.
- `get_status` for checking a conversion by `log_id` or session.
- `wait_and_download` for waiting on a job and saving its Markdown result.
- `list_conversions` for viewing recent jobs, statuses, IDs, and download availability.

The documented factory defaults use PaddleOCR-VL, enable tables, and disable images. Conversion settings can be saved instead of supplied on every request.

## Limitations and notes

Files are uploaded to PromptReady over HTTPS for OCR processing; they are not processed entirely locally. The service automatically deletes files three hours after a batch finishes, and download requests after that period return HTTP 410. If a download fails before expiry, retry with the existing `log_id` rather than queueing the same file again.

Slash-command arguments are split on whitespace, so paths containing spaces should be supplied in conversation instead of as command-line arguments. Hosts also need to be restarted or reconnected after MCP configuration changes. Do not commit saved credentials or environment files.

_Full upstream README: https://allmcps.com/mcp/promptready-mcp/readme_

