Get the FREE Ultimate OpenClaw Setup Guide →

foxit-pdf-api

MCP server from foxitsoftware/foxit-pdf-api-mcp-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio foxitsoftware-foxit-pdf-api-mcp-server uvx foxit-pdf-api-mcp-server \
  --env FOXIT_CLOUD_API_HOST="API host URL (e.g., https://na1.fusion.foxit.com/pdf-services)" \
  --env FOXIT_CLOUD_API_CLIENT_ID="Your client ID from Foxit Developer Portal" \
  --env FOXIT_CLOUD_API_CLIENT_SECRET="Your client secret from Foxit Developer Portal"

How to use

The Foxit PDF API MCP Server exposes a suite of Foxit PDF Services API operations as MCP-compatible tools that you can invoke from AI agents and automation workflows. The server provides 35+ PDF operations including document lifecycle management (upload, download, delete), creation and conversion of PDFs (from Word, Excel, PowerPoint, HTML, URL, text, and images), manipulation (split, merge, extract, compress, flatten, watermark, page operations), security (passwords and permissions), metadata extraction, PDF analysis (comparison), and form data export/import. The Python version uses uv as the package manager and mirrors the capabilities of the TypeScript version, ensuring full feature parity with the underlying Foxit PDF Services API.

To use the tools, configure the MCP client to point at this server (via the provided environment variables for API authentication). Once running, you can issue tool calls corresponding to the Foxit API operations (for example: create PDF from Word, extract text, merge documents, apply security settings, and export form data). The tools are designed to be discovered by MCP-enabled agents and invoked by name as commands within your agent prompts and workflows.

How to install

Prerequisites:

  • API Credentials: Sign up at Foxit Developer Portal to obtain your Client ID and Client Secret.
  • Python 3.11+ and uv package manager.

Installation steps:

  1. Install Python (3.11+)
  2. Install uv package manager per Foxit/MCP setup instructions
  3. Clone or download the Foxit PDF API MCP server repository
  4. Navigate to the Python MCP server directory: cd python/foxit-pdf-api-mcp-server
  5. Install dependencies (if a requirements file exists) and set up virtual environment if desired
  6. Ensure environment variables are set (see mcp_config/ENV section below)
  7. Start the MCP server using uvx with the appropriate package name (as shown in the mcp_config example)

Note: If you prefer TypeScript, you can follow the corresponding TypeScript README for installation steps specific to Node.js, pnpm, and the TypeScript implementation.

Additional notes

Environment variables and tips:

  • FOXIT_CLOUD_API_HOST should be the Foxit PDF Services API host (e.g., https://na1.fusion.foxit.com/pdf-services).
  • FOXIT_CLOUD_API_CLIENT_ID and FOXIT_CLOUD_API_CLIENT_SECRET must be obtained from the Foxit Developer Portal.
  • If you encounter authentication errors, double-check that your credentials are correctly configured in the environment and that the host URL is correct.
  • The Python uv-based setup is designed to be parity with the TypeScript version; if you switch implementations, ensure you provide the same environment variables.
  • For debugging, enable verbose logging in your MCP client and consult the Foxit Developer Portal API documentation for specific operation parameters and rate limits.

Related MCP Servers

Sponsor this space

Reach thousands of developers