# Foxit PDF API MCP Server

Gives your agent Foxit's cloud PDF operations: build, convert, split, merge, password, forms. You supply credentials from the Foxit developer portal.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 12
- Author: foxitsoftware
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/foxitsoftware/foxit-pdf-api-mcp-server
- Updated: 2026-04-17
- HTML: https://affpapa.org/en/nevibecode/mcp/foxit-pdf-api-mcp-server

## What it does

The server turns Foxit PDF Services API into callable tools, so the agent handles documents mid-conversation instead of you switching apps. Inputs it can turn into PDF include Word, Excel, PowerPoint, HTML, a URL, plain text and images. Conversion runs the other way too. Page-level tools cover splitting, merging, extracting, compressing, flattening, linearising and watermarking, plus password add/remove, permission settings, metadata and property extraction, PDF comparison, form data as JSON in both directions, and OCR.

Two builds exist. Python uses FastMCP, needs Python 3.11+ and the `uv` package manager; the TypeScript build wants Node.js 18+ and `pnpm`. Both are described as actively developed with matching feature sets. An older `stdio-python` directory is marked deprecated. Because it ships on npm, the `npx` launch path only asks for Node.js on your machine.

The catch is the cloud. Every operation happens on Foxit's side, so the server refuses to start without `FOXIT_CLOUD_API_HOST`, `FOXIT_CLOUD_API_CLIENT_ID` and `FOXIT_CLOUD_API_CLIENT_SECRET`. Get the ID and secret by signing up at the Foxit Developer Portal. Since each file leaves your machine, client documents under NDA are a bad fit for this setup.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `FOXIT_CLOUD_API_HOST`, `FOXIT_CLOUD_API_CLIENT_ID`, `FOXIT_CLOUD_API_CLIENT_SECRET` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add foxit-pdf-api-mcp-server -e FOXIT_CLOUD_API_HOST=<FOXIT_CLOUD_API_HOST> -e FOXIT_CLOUD_API_CLIENT_ID=<FOXIT_CLOUD_API_CLIENT_ID> -e FOXIT_CLOUD_API_CLIENT_SECRET=<FOXIT_CLOUD_API_CLIENT_SECRET> -- npx -y @foxitsoftware/foxit-pdf-api-mcp-server
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add foxit-pdf-api-mcp-server --env FOXIT_CLOUD_API_HOST=<FOXIT_CLOUD_API_HOST> --env FOXIT_CLOUD_API_CLIENT_ID=<FOXIT_CLOUD_API_CLIENT_ID> --env FOXIT_CLOUD_API_CLIENT_SECRET=<FOXIT_CLOUD_API_CLIENT_SECRET> -- npx -y @foxitsoftware/foxit-pdf-api-mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "foxit-pdf-api-mcp-server": {
            "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>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "foxit-pdf-api-mcp-server": {
            "type": "stdio",
            "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>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e FOXIT_CLOUD_API_HOST=<FOXIT_CLOUD_API_HOST> -e FOXIT_CLOUD_API_CLIENT_ID=<FOXIT_CLOUD_API_CLIENT_ID> -e FOXIT_CLOUD_API_CLIENT_SECRET=<FOXIT_CLOUD_API_CLIENT_SECRET> foxit-pdf-api-mcp-server npx -y @foxitsoftware/foxit-pdf-api-mcp-server
```
Replace <…> with your own values

## When to use it
- turn a docx or HTML file into a PDF while chatting with the agent
- split or merge a PDF without opening a desktop editor
- strip a password and set print permissions on a document
- compare two PDF versions and pull their metadata
- export form fields to JSON and import them back

## Example prompts
- Turn `report.docx` into a PDF and save it next to the source
- Compress `scan.pdf` and stamp “Draft” across the pages
- Diff `v1.pdf` against `v2.pdf` and list which pages changed

## Similar
- [Excel MCP Server](https://affpapa.org/en/nevibecode/mcp/excel-mcp-server.md) — MCP server · ★ 4259
- [kordoc](https://affpapa.org/en/nevibecode/mcp/kordoc.md) — MCP server · ★ 2726
- [Power BI Authoring MCP Server (Local)](https://affpapa.org/en/nevibecode/mcp/power-bi-authoring-mcp-server-local.md) — MCP server · ★ 1247
- [Microsoft 365 MCP Server](https://affpapa.org/en/nevibecode/mcp/microsoft-365-mcp-server.md) — MCP server · ★ 1074
- [anymd](https://affpapa.org/en/nevibecode/mcp/anymd.md) — MCP server · ★ 1051
- [Docling MCP](https://affpapa.org/en/nevibecode/mcp/docling-mcp.md) — MCP server · ★ 777

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
