Nutrient Document Web Services API MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Nutrient Document Web Services API MCP or direct API to convert documents, run OCR, redact sensitive data, and apply signatures through natural language.

Nutrient Document Web Services API logoNutrient Document Web Services API
Api Key

Nutrient Document Web Services API is a cloud document processing service for converting, OCRing, redacting, signing, and analyzing files. Use it to automate complex PDF and document workflows without running document infrastructure yourself.

11 Tools

Try Nutrient Document Web Services API now

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

TOOL ROUTER PLAYGROUND
Nutrient Document Web Services API
Try asking
TOOLS

Supported Tools

Every Nutrient Document Web Services API action and event your agent gets out of the box.

Analyze Build Cost

Estimate the credits and Processor features required by Build API instructions without executing the document job or consuming credits.

Build Document

Synchronously create one document from remote files, remote HTML, new pages, and composable safe actions, returning its filename, media type, and Base64 content up to 4 MB.

Convert Markdown to PDF

Convert CommonMark or GitHub-Flavored Markdown text into a PDF using optional built-in styling, custom CSS, page layout, and syntax highlighting settings.

Create PDF from Web Page

Render an HTML web page at a public URL, with optional page layout settings, into a PDF.

Get Account Information

Return the connected Nutrient account's subscription type, status, and estimated remaining credits.

Get Processor Usage

Return the connected account's Processor subscription status and credit usage counters.

Make PDF Accessible

Auto-tag a PDF at a remote URL for PDF/UA screen-reader accessibility and return the result's filename, media type, and Base64 content up to 4 MB.

OCR PDF

Apply optical character recognition to a PDF at a remote URL and return a searchable PDF's filename, media type, and Base64 content up to 4 MB.

Revoke JWT Token

Immediately revoke a bearer token created by CREATE_JWT_TOKEN using its ID.

Stage PDF Redactions

Find matching content in a remote PDF and return a review PDF's filename, media type, and Base64 content up to 4 MB with unapplied redaction marks.

Watermark PDF

Add a positioned text or image watermark to every page of a PDF at a public URL and return the copy's filename, media type, and Base64 content up to 4 MB.

SETUP GUIDE

Connect Nutrient Document Web Services API 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: ["nutrient_document_web_services_api"],
  mcp: true,
});
Create a session scoped to Nutrient Document Web Services API 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: "Convert the uploaded contract PDF to searchable text with OCR and summarize the key terms",
  stopWhen: stepCountIs(10),
});

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

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

Run Nutrient Document Web Services API tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Convert the uploaded contract PDF to searchable text with OCR and summarize the key terms" }],
});

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 Nutrient Document Web Services API tool calls through the session, and print the final answer

Why Use Composio?

AI Native Nutrient Document Web Services API Integration

  • Supports both Nutrient Document Web Services API MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable document processing tool execution
  • Rich coverage for converting, OCRing, redacting, signing, and analyzing documents

Managed Auth

  • Secure API key handling so agents don't need hard-coded Nutrient Document Web Services credentials
  • Central place to manage, scope, and revoke Nutrient Document Web Services API access
  • Per user and per environment credentials for safer document automation workflows

Agent Optimized Design

  • Tools are shaped for AI agents, so document tasks like OCR, redaction, and conversion are easier to call correctly
  • Comprehensive execution logs show which document action ran, when it ran, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Nutrient Document Web Services API
  • Scoped, least privilege access for sensitive PDF, contract, invoice, and form workflows
  • Full audit trail of document processing actions to support review and compliance
FAQ

Frequently asked questions

Yes, Nutrient Document Web Services API requires you to configure your own API key. 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 Nutrient Document Web Services API.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Nutrient Document Web Services API tool your agent needs.Free to start.

Start building