
PDF Toolkit
com.tensormasterPublished by tensormaster.comOfficial publisherv1.0.2Updated Oct 24, 2026
Convert PDFs/images to Word, Excel, and Markdown. Split, merge, and watermark PDF files.
Overview
A remote PDF toolkit that lets an assistant convert PDFs and images to Word, Excel or Markdown, and split, merge, watermark or assemble PDFs.
- What you can do
- Convert PDFs and images to Word, Excel or Markdown documents, each job keyed by an idempotency key to avoid duplicate charges on retry. Split PDFs by pages per file, merge 2 to 10 PDFs in array order, and turn 1 to 10 images into a PDF. Add a text watermark to a PDF. Poll task status and result URLs, list the current user's tasks, and query format, size and limit capabilities.
- When to use it
- Useful when an assistant needs to turn scanned or digital PDFs and images into editable Word, Excel or Markdown, or to reorganize PDFs by splitting, merging, watermarking or bundling images. It suits clients that can reach a remote Streamable HTTP endpoint and complete OAuth or send an API key header.
- Requirements
- A remote Streamable HTTP endpoint; no local package. OAuth with dynamic client registration and PKCE S256, or a manual API key sent in the Authorization header. A MiaoDashi account, and credits to pay for PDF processing. Source files must be reachable as temporary HTTPS URLs.
Installation
In SourceWeft
- Open PDF Toolkit in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/com.tensormaster%2Fpdf/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"pdf-toolkit": {
"type": "http",
"url": "https://api.tensormaster.com/pdf/mcp"
}
}
}README
PDF 工具箱 MCP 接入说明
[MCP] [OAuth] [PDF Tools] [MCP Registry - com.tensormaster/pdf] [pdf-mcp MCP connector – tool definition quality and endpoint health on Glama] [Smithery - PDF Toolkit]
PDF 工具箱是一个面向 Agent 的 MCP 文件处理服务,通过 Streamable HTTP 提供 PDF/图片转 Word、Excel、Markdown、PDF 拆分合并、图片转 PDF、文字水印和异步任务查询能力。支持 OAuth 和手动 API Key 两种授权方式。
1. 快速选择
2. 固定配置
3. OAuth:豆包推荐方式
在豆包中按以下步骤操作:
-
在远程 MCP/Connector 中填写:
-
点击“去授权”
-
浏览器打开 MiaoDashi 授权页面;首次使用先注册,已有账号直接登录。
-
核对客户端名称、PDF 工具箱和权限范围,点击“同意授权”。
-
页面返回豆包后,确认状态显示“授权成功”或“已连接”。
DCR、state、PKCE、授权码兑换、Access Token 和 Refresh Token 均由豆包与 MiaoDashi 自动完成,用户无需手动复制授权码或 Token。Access Token 过期后,豆包使用 Refresh Token 自动续期。
Claude 接入步骤
将以下指令发送给 Claude:
然后按以下步骤完成授权:
- 退出 Claude,再重新进入 Claude。
- 输入
/mcp,选择 PDF 服务并进行授权。 - 确认授权成功后,即可使用 PDF 工具箱。
Codex(ChatGPT)接入步骤
-
打开 设置 → 插件 → 添加 → 添加 MCP 服务器。
-
填写:
-
点击“保存”。
-
点击“进行身份验证”,注册或登录 MiaoDashi 网站,并在授权页面确认权限后点击“同意”。
-
返回设置页,确认“进行身份验证”按钮消失,即表示授权成功,可以使用 PDF 工具箱。
ChatGPT 的菜单名称可能因账号、工作区权限或版本略有差异;如果看不到添加 MCP 服务器入口,请先确认已启用相应的开发者模式或自定义连接器权限。
4. 手动 API Key:兼容方式
4.1 获取 API Key
- 打开 MiaoDashi API Keys,登录需要承担 PDF 费用的账号。
- 点击“创建 API Key”,填写名称,例如
pdf-mcp-local。 - 选择 PDF 工具需要的最小权限,至少需要文件处理/生成权限;按需设置过期时间。
- 创建成功后立即复制完整 Key。完整 Key 通常只显示一次,请保存到密码管理器或 MCP Client 安全存储。
不要使用网页内部 Key、OAuth Token、Device Flow Key 或其他服务的 Key。
4.2 配置 MCP Client
MCP Gateway 已启用手动 Key 兼容入口时,使用:
也可以直接发送:
不要把 API Key 放到 URL、Query、日志或聊天内容中。先调用 get_pdf_toolbox_capabilities 验证连接,再提交转换任务。
5. 工具列表
参数和任务规则
- MCP 请求使用 JSON-RPC,不接收
multipart/form-data。 - 用户附件必须映射为临时 HTTPS URL:单文件使用
file_url,多文件使用file_urls或image_urls。 split_pdf.pages_per_file为1..50;merge_pdfs支持 2~10 个文件;images_to_pdf支持 1~10 张图片;scale为(0, 1]。- 创建任务必须使用
idempotency_key;相同参数重试不会重复创建或扣费。 - 任务状态:
queued→running→succeeded/failed。使用get_pdf_task轮询,不要重复创建任务。 - 任务只能由所属用户查询。
6. 常见错误
7. 安全要求
- 全部 MCP、OAuth、Token 和发现地址使用 HTTPS。
- Access Token、Refresh Token 和 API Key 只能放在
AuthorizationHeader。 - 不要记录完整凭据、内部 JWT、Supabase 密钥或签名下载 URL。
- 文件 URL 必须经过 HTTPS、大小、重定向、DNS/IP 和超时校验,防止 SSRF。
- 怀疑 API Key 泄露时,立即在 MiaoDashi API Keys 页面撤销并重新创建。
Source: README.md at commit 6cd274a
Tools
0Version history
1- v1.0.2LatestSep 20, 2026
Score
75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.