dsh-ocr
OCR via OpenAI/Anthropic vision APIs for dsh: ocr_recognize tool (percent coords + two-diagonal-point boxes, auto region re-read on low confidence), a collapsible settings card in Settings → Plugins (API format / URL / Key / Model, fetch model list, test connection). Hot-pluggable — mounted via ~/.dsh/profiles/web/cordis.patch.yml + a profile node_modules symlink, no dsh source changes.
AI Analysis
核心用途是为 Agent 提供高精度的视觉文字识别能力。适合需要处理图片文字、图表解析的任务,支持置信度阈值触发的局部自动重读优化。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BaihaWhite/mcp-ds-ocrREADME
Read the full README ↗配置项(dsh-settings 持久化,全局生效)
| 字段 | 说明 |
|---|---|
apiFormat | openai(POST {apiurl}/chat/completions,Bearer)或 anthropic(POST {apiurl}/v1/messages,x-api-key + anthropic-version,自动补 /v1) |
apiurl | 服务商 base URL |
apikey | 认证密钥(明文存于本机设置文件,请勿外传) |
model | 视觉模型名;「获取模型列表」拉取后可从旁侧下拉选择 |
threshold | 置信度阈值(默认 0.7),低于阈值触发区域重读 |
coordMode | both / percent / pixel |
retryEnabled | 是否自动区域重读(默认开) |
maxRounds | 重读最大轮数(1-3,默认 2) |