bauerelizabeth07139/opencode-ppocr-mcp ↗★ 0
dsh-ppocr
DeepSeek Harness plugin: local OCR. It mounts the bundled PP-OCRv6 Medium stdio MCP server (PaddleOCR/PaddleX on ONNX Runtime, CPU only) and exposes mcp__ppocr__ocr_image and mcp__ppocr__ocr_pdf, so images and PDFs can be read without sending them anywhere. 适合对隐私要求高、需要在本地离线识别图片和PDF中文字的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bauerelizabeth07139/opencode-ppocr-mcpドキュメント
README 全文を読む ↗Configuration
| Key | Environment variable | Default | Meaning |
|---|---|---|---|
python | — | discovered | interpreter that runs the server — must have the OCR stack |
toolCallTimeoutMs | — | 600000 | DSH's per-call budget; the first call also downloads the models |
env | — | {} | raw environment passthrough (the server reads none) |
Every field is optional and lives in the loader row. For example, in
cordis.patch.yml:
- id: dsh-ppocr
name: 'dsh-ppocr'
config:
python: 'C:\ocr-venv\Scripts\python.exe'
toolCallTimeoutMs: 900000