How to Use AI Assistants with Content to PDF (MCP)
Content to PDF answers questions from AI assistants such as Claude, ChatGPT, Cursor and VS Code. You ask in plain words, and the assistant reads the same numbers you see in WordPress admin. It uses the Model Context Protocol (MCP), an open standard AI apps use to talk to other software.
Everything happens on the DevDiggers Plugins → AI & MCP page. It is one page for every DevDiggers plugin on the site, so an assistant you connect once can use all of them.
What you can ask
Section titled “What you can ask”- “How many PDFs were downloaded this month?”
- “Which posts have no PDF button, and why?”
- “Who left their email for a PDF?”
The assistant picks the tools it needs, calls them, and answers in a sentence or a table. You never type a tool name.
Before you start
Section titled “Before you start”- WordPress 6.9 or later. AI tools are built on the WordPress Abilities API, added in 6.9.
- The MCP Adapter. WooCommerce 10.3 and later include it. On a site without WooCommerce, install the free MCP Adapter plugin from WordPress.org.
- Pretty permalinks. AI apps sign in with OAuth, which needs a permalink structure other than Plain under Settings → Permalinks.
- For Claude or ChatGPT on the web, a site that is online over HTTPS. Those apps connect from their own servers. A local or staging site works with an app that runs on your computer, such as Claude Code, Codex, Cursor or VS Code.
When all four are in place, the page says Server running. Otherwise it names what is missing.
1. Open the AI & MCP page
Section titled “1. Open the AI & MCP page”Go to DevDiggers Plugins → AI & MCP. The top card shows the server status, how many tools are live, and the server URL with a Copy button. Below it, each DevDiggers plugin has its own card. This is the Content to PDF card:

Each tool carries a label:
- Read tools only look. They are on from the start.
- Write tools change something in your store. They stay off until you switch on Allow changes.
- Prompt tools are ready-made requests, such as a weekly review, that your app offers as a shortcut.
The switch at the top right of the card turns all of Content to PDF’s tools on or off at once. Only an administrator can change the switches.
2. Connect your AI app
Section titled “2. Connect your AI app”Click Connect an app and pick the app you use.

The dialog shows that app’s own steps with the text to paste, ready to copy. For Claude, you add a custom connector with the server URL:

Apps that run on your computer take a terminal command or a config file instead. For those, Copy setup prompt gives you a request you can paste into an AI agent on that computer, so it does the setup for you.
3. Allow the connection
Section titled “3. Allow the connection”Your app opens a WordPress page. Sign in if you are asked, then check the request and click Allow.

The page says which account the app will act as. The app gets a token for this server only. It can use the tools you turned on, with that account’s permissions, and nothing else on your site. There is no password or API key to copy.
4. Ask about Content to PDF
Section titled “4. Ask about Content to PDF”Back in your app, ask a question. To see exactly what the assistant receives, click Try on any tool in the Content to PDF card and press Run. This is PDF activity report on the demo store:

Try runs as you, in WordPress admin, without any app connected. It is the quickest way to check a tool before you rely on it.
The read tools
Section titled “The read tools”| Tool | What it answers |
|---|---|
| PDF activity report | PDF numbers for a date range, the same as the Content to PDF dashboard. |
| List PDF activity | The activity log, newest first, as on Content to PDF → Activity. |
| Content with PDF | Published content of the post types PDFs are switched on for, with whether each one shows the PDF button and, when not. |
| PDF of a post | For one post, page or product: whether readers get the PDF button and why not, the template its PDF uses, its PDF exports by action. |
| List leads | Readers who left their name and email for a PDF, newest first, as on Content to PDF → Leads. |
| Settings summary | The Content to PDF configuration by tab. |
The prompts
Section titled “The prompts”Prompts are ready-made requests. Your app lists them as shortcuts, usually under a slash or a plus menu.
| Prompt | What it asks for |
|---|---|
| PDF content review | Review how PDFs are doing over a period. |
The write tools
Section titled “The write tools”| Tool | What it does |
|---|---|
| Show or hide the PDF button on a post | Hide or show the PDF button on one post, page or product, like the “Hide the PDF button on this content” box on its edit screen. |
Write tools stay off until you allow them. Under each one on the Content to PDF card, switch on Allow changes, and only for the tools you want an assistant to use. Most apps also ask you before they run a tool that changes data.

Good to know
Section titled “Good to know”- The PDF password and the license are never shared.
See and revoke connections
Section titled “See and revoke connections”Every connected app is listed on the AI & MCP page, with who allowed it and when it was last used. Click Revoke to cut it off at once.

The Activity list below the tools shows every connection and tool call of the last 30 days: when, which app, which user, which tool and whether it worked. Filter it by plugin, app or failed calls. Only which tool ran and when is stored, never what was asked.

A call that shows Switched off reached a tool you had turned off, such as a write tool without Allow changes. Nothing ran.

