On this pageAgent integration
Agent integration
Aly Sawft · Founder & Engineer, Sawftware LLC ·
How do agents integrate with DocImprint?
Via MCP at api.docimprint.com/mcp, A2A agent card at /.well-known/agent.json, OpenAPI 3.1, and SKILL.md. Configure MCP with Bearer API key; use mcp-remote bridge for Claude Desktop.
Agent integration
Wire DocImprint into agent hosts via MCP tools or machine-readable discovery. Conceptual overview and marketplace copy: For agents. Full MCP reference: MCP server.
MCP server
MCP requires an active API key. Claude Desktop only accepts stdio servers in claude_desktop_config.json — use mcp-remote to reach https://api.docimprint.com/mcp. Cursor can use a remote URL with headers.
{
"mcpServers": {
"docimprint": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.docimprint.com/mcp",
"--header",
"Authorization:${DOCIMPRINT_AUTH}"
],
"env": {
"DOCIMPRINT_AUTH": "Bearer dr_live_YOUR_KEY"
}
}
}
}{
"mcpServers": {
"docimprint": {
"url": "https://api.docimprint.com/mcp",
"headers": {
"Authorization": "Bearer dr_live_YOUR_KEY"
}
}
}
}extract_textPDF or image → raw text via OCRextract_tablesPDF or image → Markdown tablesparse_invoiceReceipt or invoice → structured JSON (merchant, date, line_items, total)check_claimsDocument + claims[] → supported / contradicted / not_found with citationsextract_structuredDocument + JSON schema → typed fields with per-field citationssummarize_documentDocument → summary + key_points[]verify_bundlebundle_id → integrity check (hash match / tampered / not found)extract_urlHTTPS URL → page textsummarize_urlHTTPS URL → summary + key_points[]qa_urlHTTPS URL + question → cited answertranslate_urlHTTPS URL + target language → translated textcreate_collectionCreate a named document corpus for search and Q&Asearch_collectioncollection_id + query → ranked semantic search resultsask_collectioncollection_id + question → cited answer across all documents
Agent card & OpenAPI
Fetch capabilities, pricing, and the full OpenAPI spec without reading human docs.
GET /.well-known/agent.jsonFreeMachine-readable capabilities and pricing.
Open live →GET /openapi.jsonFreeFull API specification.
Open live →
Agent card: /.well-known/agent.json · OpenAPI: /openapi.json