What is MCP?
The Model Context Protocol (MCP) is an open standard that allows AI agents and applications to access external tools and data sources. Think of it as a universal API that AI assistants understand natively. With the Autype MCP server, your AI agent can:- Generate documents from Extended Markdown and receive a download URL
- Create and edit persistent documents in your Autype workspace using Extended Markdown plus compact metadata
- Build documents iteratively — create a session, append Markdown, then render
- Reuse organization styles — list, create, update, and apply shared style presets by ID
- List projects — browse your Autype projects and documents
- Upload and reuse media — manage temporary render images and toolkit files
- Process PDFs and source files — merge, split, convert, OCR, classify, and extract structured data
- Roundtrip Word documents — import DOCX as editable Autype JSON and render the edited result back to DOCX
- Use JSON when needed — advanced clients can still render or inspect full document JSON for complete structural control
Connect with OAuth (recommended)
Use this remote MCP URL:autype-prod or autype_prod; that alias
belongs to the client UI and is not an additional Autype endpoint. Always use
the exact server label exposed by the current client when addressing a tool or
resource.
In production, Autype discovery, authorization, and MCP resource URLs always
use public HTTPS endpoints. Local native clients such as Codex CLI may still
register an ephemeral http://127.0.0.1:<port>/callback/... redirect URI. That
loopback address belongs to the client on the user’s machine and is not an
Autype production endpoint. Hosted clients such as ChatGPT and Claude register
their own HTTPS callback URLs instead.
OAuth-capable clients discover Autype’s authorization server automatically. The client opens Autype in your browser, where you sign in, choose an organization, review the requested permissions, and approve or deny access. You never copy an API key into the client.
Autype supports:
- OAuth 2.1 authorization code flow with PKCE (
S256) - Protected Resource Metadata and authorization server discovery
- Client ID Metadata Documents (CIMD) and Dynamic Client Registration (DCR)
- Resource-bound, short-lived access tokens
- Server-side token exchange: MCP access tokens are never forwarded to the Developer API
- Rotating refresh tokens when the client requests
offline_access - Per-tool scopes and security metadata
Your Autype plan must include Developer API access. OAuth grants are bound to the selected organization and can never expand beyond the permissions approved during consent.
Manage or disconnect apps
Open Autype Settings → Connected Apps to review every active OAuth connection. Each entry shows the client, workspace, granted permissions, and whether the client has background access. Connections are personal: removing your connection does not disconnect another member who authorized the same client. Disconnecting an app immediately revokes all of its access and refresh tokens for the selected workspace, as well as any authorization code that has not yet been exchanged. The OAuth client registration itself remains available so the app can be connected again through the normal consent flow.Legacy API-key clients
Clients without OAuth support can continue to send an Autype API key in theX-API-Key header. Existing configurations remain compatible, but OAuth is preferred for interactive ChatGPT and Claude integrations because credentials are short-lived, scoped, revocable, and never stored in client configuration files.
Supported clients
ChatGPT
Connect Autype as a custom app in ChatGPT using OAuth.
Claude
Connect Autype as a remote connector in Claude using OAuth.
Claude Desktop
Connect Autype to Claude Desktop app for macOS and Windows.
Claude Code (CLI)
Use Autype with Claude’s command-line interface.
Cursor
Integrate Autype into the Cursor AI-powered code editor.
Windsurf
Connect Autype to Windsurf IDE with Cascade.
VS Code (Copilot)
Use Autype with GitHub Copilot in Visual Studio Code.
MCP Inspector
Test and debug the Autype MCP server with the official inspector tool.
OAuth permissions
Autype validates the required scope again for every MCP tool and Developer API request. If a tool needs a permission that was not granted, the request is rejected instead of silently broadening access.
Available tools
Recommended authoring model
For MCP agents, the preferred format is Autype Extended Markdown (AEM) plus compact JSON metadata. AEM is Autype’s semantic document language, not merely plain Markdown:- Put readable content in Markdown.
- Pass variables, abbreviations, citations, document settings, and
style_preset_idas separate fields. - Use workspace or built-in system style presets by ID instead of sending large inline
defaultsobjects.
Persistent document tools
Render tools
The MCP render tools enable strict validation by default. Redundant page breaks,
broken internal references, and other readiness errors are returned before a
job consumes credits. Set
strict=false only when intentionally rendering a
legacy document that depends on permissive behaviour.
Style tools
Reusable block tools
Record tools
Document builder tools
Template tools
System document templates are designed primarily as frontend quick starts. MCP
clients may browse them for orientation through
scope=catalog, but should not
treat them as organization-approved business templates. Productive template
automation always starts from scope=workspace. Styles intentionally differ:
both organization styles and built-in system styles are first-class MCP
resources, with explicit source markers and filters.
Other tools
Bulk render tools
Media and file toolkit
Completed toolkit jobs return both
outputFileId and an authenticated Autype
API downloadUrl. The URL includes a short-lived token scoped to that output
file, so MCP clients can fetch it directly without forwarding their bearer
token. For images,
upload actual PNG/JPEG/WebP bytes with images_upload and insert its returned
refPath. The autype-ai-image placeholder is not a valid final MCP
render source and strict readiness rejects it.
images_upload accepts PNG, JPEG, and WebP as plain Base64, whitespace-wrapped
Base64, or a Base64 data URL, up to 25 MB decoded. Images referenced by a persistent document remain available with that document. Toolkit uploads accept PDF, DOCX, ODT, Markdown, HTML,
PNG, JPEG, GIF, BMP, and SVG; they remain temporary and expire after 60 minutes.
The dispatcher tools publish their complete operation/option contract in the
tool description and reject missing, unknown, mistyped, or out-of-range options
before a job is queued.
Schema resources
The MCP server exposes the Autype document schema as readable resources. Your AI agent can read these to understand the exact structure before constructing a document:Example prompts
Once connected, you can ask your AI agent naturally:“Generate a two-page PDF invoice for client Acme GmbH, total €2,400, due 2026-03-15. Include a line items table.”
“Convert this markdown report to a PDF with A4 size and 3cm margins.”
“Create a DOCX contract template with {{client_name}}, {{start_date}}, and {{monthly_fee}} variables.”
“Find the approved legal disclaimer block, insert it as a live reference, and create a PDF form with customer and signature fields.”
“Prepare a record for customer Acme, report any missing values, then render it as PDF.”
“List my recent render jobs and download the latest completed one.”
