docimprint

← All docs

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.

jsonClaude Desktop (mcp-remote)
{
  "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"
      }
    }
  }
}
jsonCursor (remote URL)
{
  "mcpServers": {
    "docimprint": {
      "url": "https://api.docimprint.com/mcp",
      "headers": {
        "Authorization": "Bearer dr_live_YOUR_KEY"
      }
    }
  }
}
  • extract_textPDF or image → raw text via OCR
  • extract_tablesPDF or image → Markdown tables
  • parse_invoiceReceipt or invoice → structured JSON (merchant, date, line_items, total)
  • check_claimsDocument + claims[] → supported / contradicted / not_found with citations
  • extract_structuredDocument + JSON schema → typed fields with per-field citations
  • summarize_documentDocument → summary + key_points[]
  • verify_bundlebundle_id → integrity check (hash match / tampered / not found)
  • extract_urlHTTPS URL → page text
  • summarize_urlHTTPS URL → summary + key_points[]
  • qa_urlHTTPS URL + question → cited answer
  • translate_urlHTTPS URL + target language → translated text
  • create_collectionCreate a named document corpus for search and Q&A
  • search_collectioncollection_id + query → ranked semantic search results
  • ask_collectioncollection_id + question → cited answer across all documents
Connect MCP

Agent card & OpenAPI

Fetch capabilities, pricing, and the full OpenAPI spec without reading human docs.

  • GET /.well-known/agent.jsonFree

    Machine-readable capabilities and pricing.

    Open live →
  • GET /openapi.jsonFree

    Full API specification.

    Open live →

Agent card: /.well-known/agent.json · OpenAPI: /openapi.json

Related