The Iteration Layer API includes a built-in Model Context Protocol (MCP) server. MCP lets AI agents like Claude Desktop, Cursor, and Windsurf call the API directly as tools — no custom integration code required.
The MCP server is available via Streamable HTTP transport:
https://api.iterationlayer.com/mcp
The MCP endpoint uses OAuth 2.1 — not API keys. Your MCP client handles the authentication flow automatically. When you first use an Iteration Layer tool, a browser window will open for you to log in and authorize access.
The MCP server exposes four tools that map to the Iteration Layer APIs:
Extract structured data from documents using AI. Supports PDF, DOCX, images (PNG, JPG, GIF, WebP), and text files (MD, TXT, CSV, JSON).
Parameters:
files(required) — Array of file inputs (each withtype,name, and eitherbase64orurl)schema(required) — Extraction schema with afieldsarray defining what to extract
See Document Extraction for the full schema reference.
Transform and manipulate images. Supports 23 operations: resize, crop, extend, trim, rotate, flip, flop, blur, sharpen, modulate, tint, grayscale, invertColors, autoContrast, gamma, removeTransparency, threshold, denoise, opacity, convert, upscale, smartCrop, compressToSize.
Parameters:
file(required) — File input withtype,name, and eitherbase64orurloperations(required) — Array of transformation operations to apply in order
See Image Transformation for the full operations reference.
Generate images from layer compositions. Layer types: solid-color, rectangle, text, static-image, image-overlay, qr-code, barcode, gradient. Layers are composited by index order.
See Image Generation for the full composition schema.
Generate PDF, DOCX, PPTX, or EPUB documents from structured definitions. Documents are composed of metadata, page settings, styles, and content blocks (paragraph, headline, image, table, grid, list, table-of-contents, page-break, separator).
See Document Generation for the full document schema.
Generate XLSX, CSV, or Markdown spreadsheets from structured tabular data. Define columns and positional rows of cells with optional formatting (currency, percentage, number, decimal, date), cell styles, merged cell spans, and Excel formulas. Supports multiple sheets, 162 currency codes, and custom fonts.
See Sheet Generation for the full schema reference.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"iterationlayer": {
"type": "http",
"url": "https://api.iterationlayer.com/mcp"
}
}
}Add to your .cursor/mcp.json:
{
"mcpServers": {
"iterationlayer": {
"type": "http",
"url": "https://api.iterationlayer.com/mcp"
}
}
}Add to your Windsurf MCP configuration:
{
"mcpServers": {
"iterationlayer": {
"type": "http",
"url": "https://api.iterationlayer.com/mcp"
}
}
}MCP tool calls consume credits the same way as direct API calls. See Credits & Pricing for details.