> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Pdf.co in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/pdfco
Last updated: 2026-11-24

Share Pdf.co with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 14 tools (12 read-only).

---

To give your team Pdf.co in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Pdf.co integration in a Metorial portal, and each person connects with an API key. Agents can convert, extract data from, edit, and generate PDF documents. The integration has 14 tools, 12 read-only and 2 write, plus 1 trigger.

**What you will learn**

- How an admin shares Pdf.co in a portal and how each person connects
- What Pdf.co asks for when you connect, and where to find it
- How to keep the 12 read-only tools and reject the other 2

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Pdf.co for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | API token | `apiKey` |

### API Key

To connect, a person enters:

- `apiKey`: Your PDF.co API key. Found in the "View Your API Key" section at https://app.pdf.co

## Admin: share Pdf.co in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Pdf.co. For how members connect, choose **Each person connects** so everyone enters their own API key, or **Shared connection** to enter one API key for everyone.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Pdf.co.

4. **Choose who gets it**

   Add the access groups that should see Pdf.co. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Pdf.co integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search pdf.co
```

## Employee: connect Pdf.co

### In the portal

1. **Open Pdf.co in the catalog**

   Sign in to your portal and open Pdf.co. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API key (apiKey).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search pdf.co
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Pdf.co connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list pdf.co
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 12 read-only tools, such as `pdf_ocr` and `split_pdf`, and lose the 2 write tools, such as `edit_pdf` or `pdf_security`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list pdf.co
metorial tools <integration-id>
metorial call <integration-id> generate_pdf -d '{"sourceType":"html"}'
```

`metorial tools` lists the 14 tools, minus any you rejected. `generate_pdf` needs `sourceType`, so replace the placeholders. It creates a PDF document from various sources including HTML content, a web URL, a document file (DOC, DOCX, RTF, TXT, XPS), or an image file (JPG, PNG, TIFF).

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (12)

- `read_barcode`: Read and decode barcodes from images or PDF documents. Needs `sourceUrl`.
- `classify_document`: Automatically classify a document based on keyword-based rules. Needs `sourceUrl`.
- `pdf_ocr`: Make a PDF text-searchable using OCR, or make it non-searchable by removing the text layer. Needs `sourceUrl` and `mode`.
- `search_pdf_text`: Search for text within a PDF document and return all matches with their positions. Needs `sourceUrl` and `searchString`.
- `merge_documents`: Merge multiple documents into a single PDF file. Needs `sourceUrls`.
- `convert_pdf`: Convert a PDF document to another format such as CSV, JSON, text, Excel, XML, HTML, or image formats. Needs `sourceUrl` and `outputFormat`.
- `parse_document`: Extract structured data from PDF, JPG, or PNG documents using a document parser template. Needs `sourceUrl` and `templateId`.
- `get_pdf_info`: Read PDF metadata and document information including page count, author, title, creation date, encryption status, and security permissions. Needs `sourceUrl`.
- `parse_invoice`: Automatically extract structured data from invoice documents using AI. Needs `sourceUrl`.
- `generate_barcode`: Generate a barcode image in various formats including QR Code, DataMatrix, Code 39, Code 128, PDF417, and many others. Needs `value`.
- `generate_pdf`: Create a PDF document from various sources including HTML content, a web URL, a document file (DOC, DOCX, RTF, TXT, XPS), or an image file (JPG, PNG, TIFF). Needs `sourceType`.
- `split_pdf`: Split a PDF document into multiple files. Needs `sourceUrl` and `splitMode`.

### Write tools (2)

- `pdf_security`: Add or remove password protection from a PDF document. Needs `sourceUrl` and `action`.
- `edit_pdf`: Edit an existing PDF by adding text annotations, images, or filling form fields. Needs `sourceUrl`.

## Triggers

Pdf.co has 1 trigger, which fire on events in Pdf.co:

- `inbound_webhook`

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Pdf.co there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Pdf.co on metorial.com](https://metorial.com/integrations/pdfco): the integration overview