# PDF Toolkit

> PDF Toolkit is an MCP server for files and documents. Convert PDFs and images to Word, Excel or Markdown, plus split, merge and watermark. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, Web
- **Website:** https://miaodashi.com/en
- **Repository:** https://github.com/tensorslab/pdf-mcp
- **MCP Registry name:** com.tensormaster/pdf
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-16

## About

This is a hosted PDF toolbox for agents rather than a local utility. An assistant sends a temporary HTTPS file URL, gets back a task, and polls for the result. The MCP protocol carries JSON-RPC only, so uploads from chat attachments have to be turned into URLs first.

There are ten tools. Conversion tools produce DOCX, XLSX or Markdown from a PDF or image. Others split a PDF by pages per file (usually returning a ZIP), merge PDFs in array order, build a PDF from images, and add a text watermark. get_pdf_task reports status, result URL, errors and credits, list_pdf_tasks pages through a user's jobs, and get_pdf_toolbox_capabilities lists formats and limits without side effects. Most calls take an idempotency key.

Access needs a MiaoDashi account. The README documents OAuth with dynamic client registration and PKCE (written with Doubao in mind, with Claude and Codex steps too) or a manual API key sent as a Bearer header. The account owning the key pays for processing, though rates are not given.

## Features

- **Format conversion:** Turns PDFs and images into Word, Excel or Markdown.
- **Split and merge:** Splits PDFs by page count and merges several in order.
- **Images to PDF:** Builds a PDF from a list of image URLs.
- **Text watermarks:** Adds a text watermark to a PDF.
- **Async task tracking:** Check one task or list recent ones for status, results and credits.
- **OAuth or API key:** Authorise through a browser flow or send a Bearer key.

## Good for

- Turn a scanned report into an editable Word file
- Extract tables from a PDF into a spreadsheet
- Combine several PDFs into one document in a chosen order
- Convert documents to Markdown for an assistant to read

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http pdf https://api.tensormaster.com/pdf/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "pdf": {
      "type": "http",
      "url": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.tensormaster.com/pdf/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "pdf": {
      "url": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "pdf": {
      "type": "http",
      "url": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.tensormaster.com/pdf/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add pdf --url https://api.tensormaster.com/pdf/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.pdf]
url = "https://api.tensormaster.com/pdf/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "pdf": {
      "httpUrl": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http pdf https://api.tensormaster.com/pdf/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "pdf": {
      "serverUrl": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "pdf": {
      "url": "https://api.tensormaster.com/pdf/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "pdf": {
      "type": "streamableHttp",
      "url": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "pdf": {
      "url": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "pdf": {
      "url": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "pdf": {
      "url": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "pdf": {
      "url": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.tensormaster.com/pdf/mcp
```

Enter a Name (for example "PDF Toolkit"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "pdf": {
      "type": "http",
      "url": "https://api.tensormaster.com/pdf/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 10 tools change data; 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `convert_file_to_word`: Convert a PDF or image to DOCX
- `convert_file_to_excel`: Convert a PDF or image to XLSX
- `convert_file_to_markdown`: Convert a PDF or image to Markdown
- `split_pdf`: Split a PDF into parts, usually returned as a ZIP
- `merge_pdfs` (name suggests: changes): Merge PDFs in the order given
- `images_to_pdf`: Create a PDF from images
- `add_pdf_watermark` (name suggests: changes): Add a text watermark to a PDF
- `get_pdf_task` (name suggests: reads): Check a task's status, result URL, errors and credits
- `list_pdf_tasks` (name suggests: reads): List the current user's tasks
- `get_pdf_toolbox_capabilities` (name suggests: reads): Query formats, counts, sizes and service limits

## FAQ

### How do I authenticate?

Use the OAuth flow with PKCE, or create an API key in your MiaoDashi account and send it as a Bearer header.

### Can I upload a file directly?

No. Files must be given as temporary HTTPS URLs, because the server does not accept multipart uploads.

### How do I see the service limits?

Call get_pdf_toolbox_capabilities, which has no side effects.

### Are conversions instant?

Jobs are asynchronous; use get_pdf_task with the returned task id.

### How do I add PDF Toolkit to Claude Code?

Run this command in your terminal: claude mcp add --transport http pdf https://api.tensormaster.com/pdf/mcp

### What are the best alternatives to PDF Toolkit?

The closest alternatives to PDF Toolkit are PDF Craft, Agent Data Tools: Documents to text, Tools That Don't Upload, FynePDF and PDF to Markdown.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [PDF Craft](https://ai-powered.com/mcp/pdf-craft): PDF Craft is a freemium MCP server for files and documents.
- [Agent Data Tools: Documents to text](https://ai-powered.com/mcp/agent-data-tools-documents-to-text): Agent Data Tools: Documents to text is a freemium MCP server for files and documents.
- [Tools That Don't Upload](https://ai-powered.com/mcp/tools-that-don-t-upload): Tools That Don't Upload is a freemium MCP server for files and documents.
- [FynePDF](https://ai-powered.com/mcp/fynepdf): FynePDF is a freemium MCP server for files and documents.
- [PDF to Markdown](https://ai-powered.com/mcp/pdf-to-markdown): PDF to Markdown is a freemium MCP server for files and documents.
- [PDF to Word Converter (Tanod)](https://ai-powered.com/mcp/pdf-to-word-converter-tanod): PDF to Word Converter (Tanod) is a paid MCP server for files and documents.
- [SmartPDF](https://ai-powered.com/mcp/smartpdf): SmartPDF is an MCP server for files and documents.
- [filedone](https://ai-powered.com/mcp/filedone): filedone is a freemium MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/pdf-toolkit
