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/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

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

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for Nutrient Document Web Services API
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Redact names, emails, and phone numbers from the uploaded HR onboarding PDF'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent (Anthropic Claude or Mastra)
SETUP GUIDE

Connect Nutrient Document Web Services API API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

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

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Nutrient Document Web Services API Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Convert the uploaded contract PDF to searchable text with OCR and summarize the key terms'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Nutrient Document Web Services API actions with your Agent

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