PDFops now ships a skill over MCP
MCP, the Model Context Protocol, is how an AI client such as Claude Code calls tools. The npm package pdfops-mcp 0.7.0 now ships a skill next to its 24 tools. A skill is a SKILL.md file of instructions. This one tells th
MCP, the Model Context Protocol, is how an AI client such as Claude Code calls tools. The npm package pdfops-mcp 0.7.0 now ships a skill next to its 24 tools. A skill is a SKILL.md file of instructions. This one tells the model in what order to call the PDF tools.
What a skill over MCP is
On 2026-11-24 Anthropic put Skills over MCP into public beta in Claude and Claude Code. An MCP server can ship a skill, and optionally supporting files, next to its tools. The client lists the skills and loads one only when a task needs it. The extension is named io.modelcontextprotocol/skills; see the overview and the Claude Code docs.
Why we wrote one
A tool description says what the tool does. It does not say in which order to call the tools. The skill, named pdf-workflows, covers that:
-
Filling a form. Read the fields with
pdf_inspect, use the exact field names and option values it returns, then callpdf_fill. -
A flat PDF with no fields. Call
pdf_detect_fields, review the suggestions, callpdf_add_fields, thenpdf_fill. See field detection and the docs. -
A long document. Detection runs in rounds using
next_pagesuntiltruncatedis false, with a stop rule when a round finds nothing new. - Scans. There is no OCR, so a scanned page has nothing to detect or extract.
-
Quota. Facts such as
pdf_html_to_pdfcounting as 5 requests.
This is the step list for the first case, as written in the skill:
1. Call `pdf_inspect` on the PDF. It lists each field's name, type, options,
current value and `maxLength`, and returns a `fillTemplate` object.
2. Call `pdf_fill` with `fields` set to an object of field name to string value.
Use the exact names and, for dropdowns and radio groups, one of the option
values that `pdf_inspect` returned.
Try it
Claude Code 2.1.331 or later lists the skill as /pdfops:pdf-workflows when the server is added under the name pdfops:
claude mcp add pdfops -- npx -y pdfops-mcp
Then type the skill name followed by a request. This is from our test, with form.pdf in the working folder:
/pdfops:pdf-workflows List the form fields of form.pdf in this folder using
the pdfops tools, then reply with only the field count and the tool you called.
15 fields, pdf_inspect (mcp__pdfops__pdf_inspect)
That answer is lightly reformatted: Claude's reply used a dash where this page has a comma. Claude Code's status line read: This skill is served by MCP server "pdfops" at skill://pdf-workflows.
No API key is needed to try it. Without PDFOPS_API_KEY the server runs on the keyless trial of 100 requests per IP per month. A free key gives 250 a month; sign up here. To turn the skill off in Claude Code, add a deny rule Skill(mcp__pdfops__*) under /permissions.
What changed underneath
The package moved from the v1 MCP TypeScript SDK (@modelcontextprotocol/sdk 1.32.2, newest protocol revision 2025-11-25) to v2 (@modelcontextprotocol/server 2.4.0, revision 2026-07-28), because the skills extension needs that revision. Clients on the 2024 and 2025 revisions are still served. The tool list is the same as 0.6.1 except two things: an optional execution field is no longer sent, and pdf_inspect's output schema now lists the label field the API already returned.
Three things we hit on the v2 SDK
For people building MCP servers.
- Schema dialect. The v2 SDK advertises tool schemas as JSON Schema 2020-12, where v1 gave draft-07. A client that compiles schemas with a draft-07 validator can reject an unknown meta-schema. We kept draft-07 by asking zod for the draft-07 target, because the SDK has no option for it, and we pinned the SDK and zod to exact versions because of that.
-
One-shot pipes. The v2 stdio transport closes at end of input while a tool call is still waiting. A one-shot pipe such as
printf ... | npx pdfops-mcpran the call and never printed the answer. The server now finishes pending requests before it exits. - A missing skills folder. It stopped the server from starting, so a build that dropped the folder would have lost all 24 tools. The server now logs one line and serves its tools without the skill.
One more detail: we serve exactly one file as the skill, read once at startup, so nothing else placed in that folder is served.
What it does not do
- The hosted server does not serve it yet. The skill ships in the npm package. The hosted server at pdfops.dev/api/mcp does not serve it.
- A skill is guidance, not enforcement. The tools validate their input either way.
- Only clients with the extension load it. Clients without it ignore the skill, and the 24 tools work as before.
- We tested one client. That was Claude Code 2.1.332. Other clients that support the extension were not tested.
Get it
The package is on npm and the source is on GitHub. The MCP page lists the tools. A task where the skill sends the model the wrong way is the most useful thing you can tell us.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.