Extend MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Extend MCP or direct API to parse documents, extract structured data, fill PDF forms, and manage document workflows through natural language.

Extend MCP logoExtend MCP
Dcr Oauth

Extend MCP is a hosted document processing service for parsing, extracting, classifying, and splitting files. It also supports PDF form filling and managed document workflows through a single MCP server.

86 Tools

Try Extend MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Extend MCP
Try asking
TOOLS

Supported Tools

Every Extend MCP action and event your agent gets out of the box.

Add evaluation items

Bulk-add ground-truth examples (1-100 per call) to an evaluation set (evaluations group).

Cancel classify run

Cancel a queued or in-flight classify run (classify group).

Cancel extract run

Cancel a queued or in-flight extract run (extract group).

Cancel split run

Cancel a queued or in-flight split run (split group).

Cancel workflow run

Cancel a queued or in-flight workflow run (workflows group).

Classify document

Categorize a document into one of a set of types, e.g.

Create classifier

Create a saved, reusable classifier (classify group).

Create evaluation set

Create an evaluation set — a named collection of ground-truth examples scoped to ONE extractor, classifier, or splitter via entityId (evaluations group).

Create extractor

Create a saved, reusable extractor (extract group).

Create splitter

Create a saved, reusable splitter (split group).

Create webhook endpoint

Register an HTTPS URL to receive Extend events (webhooks group).

Create webhook subscription

Subscribe an existing webhook endpoint to events from ONE specific extractor, classifier, splitter, or workflow (webhooks group) — deliveries for other resources are unaffected.

Create workflow

Create a workflow — a multi-step document pipeline (workflows group): parse → extract/classify/split → validations → human review.

Delete classify run

Permanently delete a classify run and its stored outputs (classify group).

Delete edit run

Permanently delete an edit run and its stored outputs (edit group).

Delete evaluation item

Permanently remove one ground-truth item from an evaluation set (evaluations group).

Delete extract run

Permanently delete an extract run and its stored outputs (extract group).

Delete file

Permanently delete an uploaded file from Extend (files group).

Delete parse run

Permanently delete a parse run and its stored outputs (parse group).

Delete split run

Permanently delete a split run and its stored outputs (split group).

Delete webhook endpoint

Permanently delete a webhook endpoint (webhooks group).

Delete webhook subscription

Permanently delete a webhook subscription (webhooks group).

Delete workflow run

Permanently delete a workflow run and its stored outputs (workflows group).

Deploy workflow version

Deploy the workflow's current draft as a new immutable version (workflows group).

Detect form fields

Detect the fillable fields in a PDF form and return an edit schema (edit group): each property is a detected field with its type (text/checkbox/radio/dropdown/signature/table), page index, and bounding box.

Edit pdf

Fill form fields in a PDF and return the edited file (edit group).

Extract data

Extract specific structured values (totals, line items, dates, names, tables) from a document (extract group) using a saved extractor, an inline JSON Schema, or schema-less inference.

Get classifier

Get a classifier with its draft config, or one specific version's config via version (classify group).

Get classify batch

Get the aggregate status of a classify batch (classify group) submitted by run_classify_batch.

Get classify run

Get the state and output of a classify run (classify group) — resume a status: "running" run or inspect a failed one.

Get documentation

Fetch an Extend docs page as markdown, live from docs.extend.ai.

Get edit run

Get the state and output of an edit run (edit group) — resume a status: "running" run or inspect a failed one.

Get evaluation run

Get an evaluation run's status and accuracy metrics — this is the ONLY tool that returns them, not a get-batch tool (evaluations group).

Get extract batch

Get the aggregate status of an extract batch (extract group) submitted by run_extract_batch.

Get extractor

Get an extractor with its draft config, or one specific version's config via version (extract group).

Get extract run

Get the state and output of an extract run (extract group) — resume a status: "running" run or inspect a failed one.

Get file

Get a file's metadata and a fresh presigned download URL — expires in ~15 minutes, re-call to refresh (files group).

Get file upload

Get the status and uploaded file ids of an upload link created by upload_file (files group).

Get form detection run

Get the state and output of a form detection run (edit group) — resume a status: "running" run or inspect a failed one.

Get me

Return the connected organization, the credential in use, and the granted workspace + environment ("TEST" or "PRODUCTION") targets — exactly the values the required workspaceId/environment arguments on targeted tools accept.

Get parse batch

Get the aggregate status of a parse batch (parse group) submitted by run_parse_batch.

Get parse run

Get the state and output of a parse run (parse group) — resume a status: "running" run or inspect a failed one.

Get split batch

Get the aggregate status of a split batch (split group) submitted by run_split_batch.

Get split run

Get the state and output of a split run (split group) — resume a status: "running" run or inspect a failed one.

Get splitter

Get a splitter with its draft config, or one specific version's config via version (split group).

Get workflow

Get a workflow with its draft step graph, or one specific deployed version's steps via version (workflows group).

Get workflow run

Get the state and output of a workflow run (workflows group) — resume a status: "running" run or inspect a failed one.

List classifiers

List the workspace's classifiers, newest first (classify group).

List classifier versions

List a classifier's published (immutable) versions (classify group).

List classify runs

List recent classify runs, newest first (classify group).

List evaluation items

List an evaluation set's items — file pairings only; expected outputs are not included in summaries (evaluations group).

List evaluation sets

List evaluation sets, optionally scoped to one extractor/classifier/splitter via entityId (evaluations group).

List extractors

List the workspace's extractors, newest first (extract group).

List extractor versions

List an extractor's published (immutable) versions (extract group).

List extract runs

List recent extract runs, newest first (extract group).

List files

List files in the workspace, newest first (files group).

List parse runs

List recent parse runs, newest first (parse group).

List split runs

List recent split runs, newest first (split group).

List splitters

List the workspace's splitters, newest first (split group).

List splitter versions

List a splitter's published (immutable) versions (split group).

List webhook endpoints

List the workspace's webhook endpoints with their global event lists (webhooks group).

List webhook subscriptions

List resource-scoped webhook subscriptions, filterable by endpoint or by the watched resource (webhooks group).

List workflow runs

List recent workflow runs, newest first (workflows group).

List workflows

List the workspace's workflows, newest first (workflows group).

List workflow versions

List a workflow's deployed (immutable) versions — integer deploy numbers with optional names (workflows group).

Parse document

Convert a document (PDF, image, Office doc, spreadsheet) into clean structured text — markdown by default (parse group).

Publish classifier version

Publish the classifier's current draft config as a new immutable semver version ("1.2"-style) that runs and evaluations can pin (classify group).

Publish extractor version

Publish the extractor's current draft config as a new immutable semver version ("1.2"-style) that runs and evaluations can pin (extract group).

Publish splitter version

Publish the splitter's current draft config as a new immutable semver version ("1.2"-style) that runs and evaluations can pin (split group).

Run classify batch

Submit up to 1,000 documents as one batch of classify runs (classify group) against a saved processor.

Run evaluation

Run an evaluation set against a version of its resource and score the results against the ground truth (evaluations group).

Run extract batch

Submit up to 1,000 documents as one batch of extract runs (extract group) against a saved processor.

Run parse batch

Submit up to 1,000 documents as one batch of parse runs (parse group); no saved processor needed — an optional inline config applies to every run.

Run split batch

Submit up to 1,000 documents as one batch of split runs (split group) against a saved processor.

Run workflow

Start a run of a deployed multi-step workflow on a document (workflows group; not runnable until a version is deployed, or pass version "draft").

Run workflow batch

Submit up to 1,000 documents as one batch of workflow runs (workflows group).

Search documentation

Search the Extend documentation.

Split document

Divide a combined file, e.g.

Update classifier

Update a classifier's mutable draft (classify group): rename it and/or replace the draft config (hand-editing it?

Update evaluation item

Replace one evaluation item's expected output (evaluations group).

Update extractor

Update an extractor's mutable draft (extract group): rename it and/or replace the draft config (hand-editing the schema?

Update splitter

Update a splitter's mutable draft (split group): rename it and/or replace the draft config (hand-editing it?

Update webhook endpoint

Update a webhook endpoint's URL, name, status (enable/disable deliveries), global event list, or advanced options (webhooks group).

Update webhook subscription

Replace a webhook subscription's event list (webhooks group).

Update workflow

Update a workflow's mutable draft (workflows group): rename it and/or replace the entire draft step graph (hand-editing steps?

Upload file

Upload a file from the user's computer (files group).

SETUP GUIDE

Connect Extend MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["extend_mcp"],
  mcp: true,
});
Create a session scoped to Extend MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Extract the vendor name, invoice number, and total amount from the uploaded invoice PDF.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Extend MCP request
SETUP GUIDE

Connect Extend MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["extend_mcp"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Extend MCP
3

Run Extend MCP tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Extract the vendor name, invoice number, and total amount from the uploaded invoice PDF." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Extend MCP tool calls through the session, and print the final answer

Why Use Composio?

AI Native Extend MCP Integration

  • Supports both Extend MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable document processing and tool execution
  • Rich coverage for parsing, extracting, classifying, splitting, and filling Extend documents

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Extend MCP access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Extend MCP
  • Scoped, least privilege access to Extend MCP resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Extend MCP with any AI Agent Framework

Choose a Framework you want to connect Extend MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Extend MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Extend MCP tool your agent needs.Free to start.

Start building