Foxit PDF API MCP Server

MCP server that exposes Foxit PDF API capabilities via stdio.

OtherPythonv0.2.4

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

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @foxitsoftware/foxit-pdf-api-mcp-server

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-foxitsoftware-foxit-pdf-api-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@foxitsoftware/foxit-pdf-api-mcp-server"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@foxitsoftware/foxit-pdf-api-mcp-servernpm

Compatible MCP Clients

Foxit PDF API MCP Server works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More