Uploads images and PDFs to Handwriting OCR, checks processing status and returns the recognized text as Markdown.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add handwriting-ocr --env API_TOKEN='<API_TOKEN>' -- npx -y @smithery/cli install @Handwriting-OCR/handwriting-ocr-mcp-server --client claude~/.codex/config.toml
[mcp_servers.handwriting-ocr]
command = "npx"
args = ["-y", "@smithery/cli", "install", "@Handwriting-OCR/handwriting-ocr-mcp-server", "--client", "claude"]
env = { API_TOKEN = "<API_TOKEN>" }
# codex mcp add handwriting-ocr --env API_TOKEN='<API_TOKEN>' -- npx -y @smithery/cli install @Handwriting-OCR/handwriting-ocr-mcp-server --client claude~/.cursor/mcp.json
{
"mcpServers": {
"handwriting-ocr": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@Handwriting-OCR/handwriting-ocr-mcp-server",
"--client",
"claude"
],
"env": {
"API_TOKEN": "<API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"handwriting-ocr": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@Handwriting-OCR/handwriting-ocr-mcp-server",
"--client",
"claude"
],
"env": {
"API_TOKEN": "<API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"handwriting-ocr": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@Handwriting-OCR/handwriting-ocr-mcp-server",
"--client",
"claude"
],
"env": {
"API_TOKEN": "<API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"handwriting-ocr": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@Handwriting-OCR/handwriting-ocr-mcp-server",
"--client",
"claude"
],
"env": {
"API_TOKEN": "<API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"handwriting-ocr": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@Handwriting-OCR/handwriting-ocr-mcp-server",
"--client",
"claude"
],
"env": {
"API_TOKEN": "<API_TOKEN>"
}
}
}
}需要的环境变量
API_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。