手写OCR模型上下文协议服务器

手写OCR模型上下文协议服务器

为手写OCR API提供模型上下文协议(MCP)服务器,支持图像和PDF的OCR处理。

快速入门

  1. 安装Node.js:确保系统已安装Node.js(建议版本18.x或更高)。
  2. 获取API密钥:前往Handwriting OCR平台获取API密钥。
  3. 通过Smithery安装:运行以下命令以自动安装: npx -y @smithery/cli install @Handwriting-OCR/handwriting-ocr-mcp-server --client claude
  4. 手动安装:将以下配置添加到Claude Desktop的设置中: { "mcpServers": { "handwriting-ocr": { "command": "node", "args": ["/path/to/build/index.js"], "env": { "API_TOKEN": "your-api-token" }, "disabled": false, "autoApprove": [] } } }
  5. 环境变量配置:设置API_TOKEN为您的API密钥。
  6. 参考文档:查看Handwriting OCR API文档以获取更多支持。