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
- 01Upload, download, and delete documents
- 02Convert documents to and from PDF
- 03Split, merge, compress, and watermark PDFs
- 04Manage passwords and permissions
- 05Inspect metadata, compare PDFs, and handle form data
Use cases
- 01Convert office files or images into PDFs
- 02Merge, split, or watermark PDF documents
- 03Set PDF passwords and access permissions
- 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.
npx -y @foxitsoftware/foxit-pdf-api-mcp-serverFOXIT_CLOUD_API_HOSTFoxit PDF Services host, e.g. https://na1.fusion.foxit.com/pdf-servicesFOXIT_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.
Tools
32Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| filePath | string | Yes | Absolute path to the file to upload |
Details
From the project READMEFoxit 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
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.