PaperOffice AI Cookbook — copy-paste recipes for the REST API and the MCP server: OCR, IDP, DMS, knowledge graph, signatures, security tools. Node, Python, curl.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add --transport http paperoffice-document-operations https://document-operations--paperoffice.run.tools~/.codex/config.toml
[mcp_servers.paperoffice-document-operations]
url = "https://document-operations--paperoffice.run.tools"
# codex mcp add paperoffice-document-operations --url https://document-operations--paperoffice.run.tools~/.cursor/mcp.json
{
"mcpServers": {
"paperoffice-document-operations": {
"url": "https://document-operations--paperoffice.run.tools"
}
}
}.vscode/mcp.json
{
"servers": {
"paperoffice-document-operations": {
"type": "http",
"url": "https://document-operations--paperoffice.run.tools"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"paperoffice-document-operations": {
"httpUrl": "https://document-operations--paperoffice.run.tools"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"paperoffice-document-operations": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://document-operations--paperoffice.run.tools"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"paperoffice-document-operations": {
"url": "https://document-operations--paperoffice.run.tools"
}
}
}