How to connect ComPDF to Grok Bot

Connect Grok Bot to ComPDF MCP. Extract structured invoice data from pdfs, redact personal data across contract pdfs, and more using natural language, with authentication handled for you.

ComPDF logoComPDF
Api Key

ComPDF is a global cloud API that converts, generates, edits, parses, and extracts data from documents. It speeds document workflows with reliable, scalable document processing.

19 Tools

Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.

This guide explains how to connect ComPDF to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with ComPDF in plain language.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate ComPDF with

Why use Composio?

Composio exposes 1,700+ apps to your Grok bot through a single connection, so you get:

  • Connect to 1,700+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
  • Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
  • Handle large tool responses outside the model context to keep conversations lean.

Connecting ComPDF to Grok Bot

Once Grok Bot is set up, you connect ComPDF entirely from its interface, and the whole flow takes under a minute.

Set up Grok Bot

Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from x.ai/bot and sign in. An iPhone companion app is also available, and your bots sync across devices.

Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.

Connect ComPDF

1. Add the Composio plugin

Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.

Add to Grok Bot

Composio for Grok Bot listing on x.ai with the Add to Grok Bot button

Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.

Composio plugin sheet in Grok Bot with the Add button

2. Authenticate

Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.

Installed Composio plugin showing the Authenticate button

Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.

Composio authorization screen with Authorize and Deny

3. Connect your ComPDF account

Back in the chat, ask your bot to connect to ComPDF or give it any ComPDF task.

For example, ask it to:

  • "Extract structured invoice data from PDFs"
  • "Redact personal data across contract PDFs"
  • "Convert scanned receipts to searchable text"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in your Grok bot, and your ComPDF account is ready to use.

What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.

With Composio Connect, your Grok bot can securely access apps like ComPDF through MCP without you sharing account credentials directly with the agent.

What is the ComPDF MCP server, and what's possible with it?

The ComPDF MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your ComPDF account. It provides structured and secure access to your document processing tools, so your agent can convert files, edit PDFs, extract document data, optimize documents, and monitor processing tasks on your behalf.

  • Document conversion and compliance: Have your agent convert PDFs, office documents, text files, CSV files, HTML files, RTF files, and images into supported formats, including PDF/A, PDF/X-4, PDF/E-1, and PDF/UA-1.
  • PDF page editing: Direct your agent to rotate, delete, extract, or split selected PDF pages into the files you need.
  • Document parsing and field extraction: Let the agent intelligently parse uploaded documents or extract information using a fixed field schema.
  • PDF protection and optimization: Instruct your agent to compress PDFs, add or remove watermarks, encrypt files with permission controls, or decrypt password-protected documents.
  • Task and quota monitoring: Have your agent check processing progress, wait for work to finish, review task history, view available processing balances, or list supported document operations.

Way Forward

Now that ComPDF is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.

  • Connect Calendar to turn threads into scheduled meetings automatically.
  • Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
  • Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
  • Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.

Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

TOOLS

Supported Tools

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

Add PDF Watermark

Add a text or image watermark to selected pages of one PDF.

Compress PDF

Compress one PDF with typed document and image optimization controls.

Convert Document

Convert one PDF, office document, text file, CSV, HTML file, RTF file, or image to a supported output format, synchronously or as an asynchronous task.

Convert PDF Standard

Convert one PDF to a supported PDF/A, PDF/X-4, or PDF/E-1 standard using the required ICC color profile.

Convert PDF to PDF/UA

Convert one PDF to the PDF/UA-1 accessibility standard, optionally embedding a document title and language.

Decrypt PDF

Decrypt one password-protected PDF.

Delete PDF Pages

Create a new PDF with selected pages removed.

Encrypt PDF

Encrypt one PDF with at least a user password or owner password and optional permission controls.

Extract Document Fields

Extract fields from one uploaded document using a fixed schema, synchronously or asynchronously; the default async submission returns a task ID rather than the extracted result.

Extract PDF Pages

Extract selected pages from one PDF into a new PDF.

Get Account Quota

Return available and withheld ComPDF processing balances for the connected project account.

Get Task

Get the current status, aggregate counts, and per-file results for one ComPDF processing task.

List Supported Operations

List the document-processing operation routes currently advertised by ComPDF.

List Tasks

Return one page of processing-task history for the connected ComPDF project.

Parse Document

Run ComPDF intelligent parsing on one uploaded document, synchronously or asynchronously; the default async submission returns a task ID rather than the parsing result.

Remove PDF Watermark

Remove tagged or untagged watermarks from selected pages of one PDF.

Rotate PDF Pages

Rotate selected pages in one PDF by 90, 180, or 270 degrees.

Split PDF

Split selected pages from one PDF into separate files in a ZIP archive.

Wait For Task

Poll a ComPDF processing task at a safe interval until it finishes, expires, fails, or reaches a timeout.

FAQ

Frequently asked questions

Start with ComPDF.It takes 30 seconds.

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

Start building