
Promptready Mcp
io.github.hydrojwh由 GitHub 帳號 hydrojwh 發布v0.4.0更新於 Oct 24, 2026
Convert PDF/CSV to Markdown with AI-powered OCR via the PromptReady cloud API.
概覽
本機 MCP 伺服器,讓助理把 PDF 或 CSV 檔案上傳到 PromptReady 雲端做 OCR,並把轉換後的 Markdown 取回本機。
- 可以做什麼
- 透過 PromptReady 雲端 OCR 服務把 PDF 和 CSV 檔案轉換成 Markdown,可選擇等待工作完成並把結果檔儲存到本機。依轉換 ID 查詢工作狀態、下載已完成的结果,並列出最近的轉換及其狀態與是否可下載。查詢帳戶點數餘額,檢視或修改已儲存的轉換預設設定,例如引擎、表格和圖片。在助理內登入或登出 PromptReady 帳戶。
- 適用情境
- 適合讓 AI 助理把本機 PDF 或 CSV 文件轉成 Markdown 文字、省去手動複製貼上的情境,特別適合在 Claude Code、Cursor、Grok 等 MCP 宿主中批次處理文件。
- 執行需求
- 需要本機 Python 環境:用 pip 安裝 promptready-mcp 套件,或用 uvx 直接執行。需要 PromptReady 帳戶,每台機器透過登入指令或 login 工具登入一次,或透過 PROMPTREADY_ACCESS_TOKEN 提供存取權杖。需要能連線到 PromptReady API 的網路。每次轉換會消耗點數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Promptready Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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_conversions- Durable 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
Install
As a Claude Code plugin (recommended)
Once listed in the Claude Code plugin directory:
As a standalone MCP server
Or run it without installing:
From source
Login (once per machine)
If you installed with uvx, the login command lives in the same package:
Either 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.
Email login fallback
If browser-based Google login is not an option, the same command accepts email and password:
Leave 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:
Reconnect 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
The 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):
Grok
Claude Desktop / generic JSON
No access token in config files required after login.
Host cannot find promptready-mcp
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:
or point at the absolute path of the script:
/ABS/PATH/.venv/bin/promptready-mcp.
Tools
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:
Results 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>:
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:
Arguments 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)
License
MIT — see LICENSE.
來源:README.md,提交 efdb514
工具
0版本歷史
3- v0.4.0最新Oct 2, 2026
- v0.3.8Sep 21, 2026
- v0.3.7Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分