feat: async OCR workflow - split submit + poll tools to avoid timeout issues

- Add submit_pdf_for_ocr() - submits immediately, returns task_id
- Add get_ocr_result() - polls for completion, saves Markdown
- Keep batch_ocr_pdf() as deprecated fallback
- Update README with new async usage pattern
- Update pyproject.toml description
This commit is contained in:
Tony
2026-05-09 20:53:19 +08:00
parent 3c5b6c0908
commit 23a00c365e
5 changed files with 1233 additions and 179 deletions

View File

@@ -5,11 +5,12 @@ build-backend = "hatchling.build"
[project]
name = "procleaning-mcp"
version = "0.1.0"
description = "Python MCP Server for process monitoring and cleaning"
description = "Python MCP Server for PDF OCR async processing and system process utilities"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"mcp>=1.0.0",
"aiohttp>=3.9.0",
"requests>=2.31.0",
]