DocuPipe MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with DocuPipe MCP or direct API to parse documents, extract structured data, classify files, and export review-ready results through natural language.

DocuPipe logoDocuPipe
Api Key

DocuPipe is a document automation API for parsing, classifying, reviewing, and exporting structured data. Use it to turn messy PDFs and files into clean data your workflows can trust.

13 Tools

Try DocuPipe now

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

TOOL ROUTER PLAYGROUND
DocuPipe
Try asking
TOOLS

Supported Tools

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

Create Schema

Create a reusable extraction schema from a valid JSON Schema and optional extraction guidelines.

Delete Document

Permanently delete one previously submitted DocuPipe document by ID.

Delete Documents

Permanently delete multiple previously submitted DocuPipe documents by ID in one batch.

Find Documents

Browse documents by dataset and creation time, or search filenames and document IDs when query is provided.

Find Jobs

Retrieve one asynchronous job by ID, or list and filter jobs when job_id is omitted.

Get Account Usage

Return current plan and credit state together with job counts and credits consumed by job type, optionally including daily usage.

Get Document

Retrieve a processed document, including processing state, parsed content, page count, metadata, and file details.

Get Schema

Retrieve one extraction schema and its full JSON Schema definition by ID.

Get Standardization

Retrieve one completed standardization as structured JSON, including extraction data and field metadata.

List Schemas

List extraction schemas available to the connected workspace, optionally including each full JSON Schema payload.

List Standardizations

List structured extraction results, filtered by schema, document, or up to 1000 known standardization IDs.

Standardize Document

Start V3 agentic structured extraction for one processed document and return the job and standardization IDs.

Upload Document

Submit one local file or remote file URL for asynchronous parsing.

SETUP GUIDE

Connect DocuPipe 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: ["docupipe"],
  mcp: true,
});
Create a session scoped to DocuPipe 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: "Parse the latest uploaded invoice in DocuPipe and extract vendor, total, due date, and line items",
  stopWhen: stepCountIs(10),
});

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

Connect DocuPipe 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: ["docupipe"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to DocuPipe
3

Run DocuPipe tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Parse the latest uploaded invoice in DocuPipe and extract vendor, total, due date, and line items" }],
});

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 DocuPipe tool calls through the session, and print the final answer

Why Use Composio?

AI Native DocuPipe Integration

  • Supports both DocuPipe MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable document parsing and extraction
  • Use mcp.create() to expose DocuPipe tools to agents that need MCP access

Managed Auth

  • Bring your own DocuPipe API key and keep it out of agent prompts and app code
  • Create auth configs with auth_configs.create() and link user credentials with connected_accounts.link()
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned for AI agents, so document parsing, classification, and export calls are easier to trigger correctly
  • Comprehensive execution logs show what document task ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access DocuPipe
  • Scoped, least privilege access to DocuPipe document workflows
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, DocuPipe requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with DocuPipe.It takes 30 seconds.

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

Start building