VOOZH about

URL: https://apify.com/zekovdev/pdf-mcp-apify

⇱ PDF Tools MCP Server Β· Apify


Pricing

from $0.01 / 1,000 results

Go to Apify Store

PDF Tools MCP Server

Merge, split, rotate, watermark, extract text, delete pages, reorder, and set metadata on PDFs. 11 tools via MCP. Fully local processing β€” zero external APIs, your PDFs stay private. Works with Claude, Cursor, VS Code, ChatGPT.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ Zek

Zek

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 months ago

Last modified

Categories

Share

MCP server template

A template for running and monetizing a Model Context Protocol server using stdio transport on Apify platform. This allows you to run any stdio MCP server as a standby Actor and connect via either the streamable HTTP transport with an MCP client.

How to use

Change the MCP_COMMAND to spawn your stdio MCP server in src/main.ts, and don't forget to install the required MCP server in the package.json (using npm install ...). By default, this template runs an Everything MCP Server using the following command:

constMCP_COMMAND=[
'npx',
'@modelcontextprotocol/server-everything',
];

Alternatively, you can use the mcp-remote tool to turn a remote MCP server into an Actor. For example, to connect to a remote server with authentication:

constMCP_COMMAND=[
'npx',
'mcp-remote',
'https://mcp.apify.com',
'--header',
'Authorization: Bearer TOKEN',
];

Feel free to configure billing logic in .actor/pay_per_event.json and src/billing.ts.

Push your Actor to the Apify platform, configure standby mode, and then connect to the Actor standby URL with your MCP client using the endpoint: https://me--my-mcp-server.apify.actor/mcp (streamable HTTP transport).

Important: When connecting to your deployed MCP server, you must pass your Apify API token in the Authorization header as a Bearer token. For example:

Authorization: Bearer <YOUR_APIFY_API_TOKEN>

This is required for authentication and to access your Actor endpoint.

Pay per event

This template uses the Pay Per Event (PPE) monetization model, which provides flexible pricing based on defined events.

To charge users, define events in JSON format and save them on the Apify platform. Here is an example schema with the tool-request event:

[
{
"tool-request":{
"eventTitle":"Price for completing a tool request",
"eventDescription":"Flat fee for completing a tool request.",
"eventPriceUsd":0.05
}
}
]

In the Actor, trigger the event with:

await Actor.charge({ eventName:'tool-request'});

This approach allows you to programmatically charge users directly from your Actor, covering the costs of execution and related services.

To set up the PPE model for this Actor:

  • Configure Pay Per Event: establish the Pay Per Event pricing schema in the Actor's Monetization settings. First, set the Pricing model to Pay per event and add the schema. An example schema can be found in .actor/pay_per_event.json.

Resources

Getting started

For complete information see this article. To run the Actor use the following command:

$apify run

Deploy to Apify

Connect Git repository to Apify

If you've created a Git repository for the project, you can easily connect to Apify:

  1. Go to Actor creation page
  2. Click on Link Git Repository button

Push project on your local machine to Apify

You can also deploy the project on your local machine to Apify without the need for the Git repository.

  1. Log in to Apify. You will need to provide your Apify API Token to complete this action.

    $apify login
  2. Deploy your Actor. This command will deploy and build the Actor on the Apify Platform. You can find your newly created Actor under Actors -> My Actors.

    $apify push

Documentation reference

To learn more about Apify and Actors, take a look at the following resources:

You might also like

PDF Tools (Merge / Split / Compress / OCR / Watermark)

mrkrokko/pdf-tools

All-in-one PDF processor: merge multiple PDFs, split by page ranges, compress file size, extract text, OCR scanned documents (Tesseract), add text watermarks, rotate pages, and read metadata. Accepts PDF URLs or Key-Value Store keys.

PDF MCP Server

constant_quadruped/pdf-mcp-server

Stateless PDF tools exposed via MCP. Open, split, merge, extract text, fill and flatten forms, and generate PDFs in a single run. Designed for deterministic, auditable document transformations by agents and workflows.

SEO Audit MCP Server

novoid/seo-audit-mcp

An MCP server that lets AI assistants (Claude, Cursor, ChatGPT, VS Code Copilot) run technical SEO audits on any URL. No expensive API subscriptions needed. Pay only per tool call.

PDF Toolkit β€” Extract Text, Metadata & Page Count

accurate_pouch/pdf-toolkit

Extract text from PDFs, read metadata (title, author, dates), count pages. Bulk processing from URLs. $0.003 per PDF.

πŸ‘ User avatar

Manchitt Sanan

2

Related articles

How to configure your MCP server with 25,000 Apify Actors
Read more
Build and deploy MCP servers in minutes with a TypeScript template
Read more
Best MCP servers for developers
Read more