mcpField
F
Foxit PDF API MCP Server

Foxit PDF API MCP Server

Local
github.com/foxitsoftwareProductivity12Updated 40w ago

About Foxit PDF API MCP Server

Foxit PDF API MCP Server provides AI agents and MCP-compatible applications with tools for working with PDF documents through Foxit PDF Services API. It includes Python and TypeScript implementations covering document conversion, editing, security, forms, and analysis.

Key features

  1. 01Upload, download, and delete documents
  2. 02Convert documents to and from PDF
  3. 03Split, merge, compress, and watermark PDFs
  4. 04Manage passwords and permissions
  5. 05Inspect metadata, compare PDFs, and handle form data

Use cases

  1. 01Convert office files or images into PDFs
  2. 02Merge, split, or watermark PDF documents
  3. 03Set PDF passwords and access permissions
  4. 04Compare documents or transfer form data as JSON

MCP support

The MCP servers expose Foxit PDF Services API operations as tools for AI agents and MCP-compatible applications. The repository provides Python and TypeScript implementations.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"foxitsoftware-foxit-pdf-api": {
"command": "npx",
"args": [
"-y",
"@foxitsoftware/foxit-pdf-api-mcp-server"
],
"env": {
"FOXIT_CLOUD_API_HOST": "<FOXIT_CLOUD_API_HOST>",
"FOXIT_CLOUD_API_CLIENT_ID": "<FOXIT_CLOUD_API_CLIENT_ID>",
"FOXIT_CLOUD_API_CLIENT_SECRET": "<FOXIT_CLOUD_API_CLIENT_SECRET>"
}
}
}
}
Run commandnpx -y @foxitsoftware/foxit-pdf-api-mcp-server
Environment variables to set
FOXIT_CLOUD_API_HOSTFoxit PDF Services host, e.g. https://na1.fusion.foxit.com/pdf-services
FOXIT_CLOUD_API_CLIENT_IDClient ID for Foxit PDF API from foxit developer portal(https://developer-api.foxit.com/)
FOXIT_CLOUD_API_CLIENT_SECRETSecretClient secret for Foxit PDF API from foxit developer portal(https://developer-api.foxit.com/)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@foxitsoftware/foxit-pdf-api-mcp-server0.2.3

Tools

32

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
filePathstringYesAbsolute path to the file to upload

Details

From the project README

Foxit PDF API MCP Servers

Model Context Protocol (MCP) servers that expose Foxit PDF Services API operations as tools for AI agents like Claude Desktop, Cursor, and other MCP-compatible applications.

Overview

This directory contains multiple implementations of the Foxit PDF API MCP Server:

🐍 Python Version
  • Location: python/foxit-pdf-api-mcp-server/
  • Features: 35+ PDF operations including creation, conversion, manipulation, security, OCR, forms, and analysis
  • Technologies: FastMCP, Python 3.11+, uv package manager
  • Status: ✅ Active development - Full feature parity with TypeScript version

👉 View Python README for installation and usage instructions.

📘 TypeScript Version
  • Location: typescript/foxit-pdf-api-mcp-server/
  • Features: 35+ PDF operations with comprehensive TypeScript support
  • Technologies: TypeScript, Node.js, pnpm
  • Status: ✅ Active development - Full feature parity with Python version

👉 View TypeScript README for installation and usage instructions.

⚠️ stdio-python (Legacy)
  • Location: stdio-python/
  • Status: ⚠️ DEPRECATED - Use the new Python version above instead
  • Note: This was the original implementation and is no longer maintained

Features

Both Python and TypeScript versions provide:

  • 📄 Document Lifecycle - Upload, download, delete documents
  • 🔄 PDF Creation - Convert Word, Excel, PPT, HTML, URL, text, images to PDF
  • 📤 PDF Conversion - Convert PDF to Word, Excel, PPT, HTML, text, images
  • ✂️ Manipulation - Split, merge, extract, compress, flatten, linearize, watermark, page operations
  • 🔒 Security - Add/remove passwords, set permissions
  • 📊 Properties - Extract comprehensive PDF metadata and properties
  • 🔍 Analysis - Compare PDFs
  • 📝 Forms - Export and import form data as JSON

Getting Started

Prerequisites
  • API Credentials: Sign up at Foxit Developer Portal to get your Client ID and Client Secret
  • Python Version: Python 3.11+ and uv package manager
  • TypeScript Version: Node.js 18+ and pnpm
Quick Start

Choose your preferred implementation:

Python:

cd python/foxit-pdf-api-mcp-server
# See python/foxit-pdf-api-mcp-server/README.md for full instructions

TypeScript:

cd typescript/foxit-pdf-api-mcp-server
# See typescript/foxit-pdf-api-mcp-server/README.md for full instructions

Environment Variables

All versions require the following environment variables:

  • FOXIT_CLOUD_API_HOST: API host URL (e.g., https://na1.fusion.foxit.com/pdf-services)
  • FOXIT_CLOUD_API_CLIENT_ID: Your client ID from Foxit Developer Portal
  • FOXIT_CLOUD_API_CLIENT_SECRET: Your client secret from Foxit Developer Portal

Support

For issues or questions:

  • Check the specific README for your chosen implementation
  • Visit Foxit Developer Portal for API documentation
  • Review the CONTRIBUTING.md guide for development setup

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.