关于 convertica
convertica 是通过 Convertica 服务转换文档和图像的 MCP 服务,面向 AI 助手和 MCP 客户端用户。它提供 35 多种转换工具,文件从本地磁盘读取并保存到本地。
主要功能
- 01列出可用转换器及选项
- 02转换文档和图像
- 03合并、拆分和压缩 PDF
- 04将结果保存到本地或指定目录
适用场景
- 01将 PDF 报告转换为 Word
- 02合并并压缩多个 PDF
- 03将 HEIC 照片转为 JPG
- 04将 URL 渲染为 PDF
MCP 相关
MCP 服务提供 `list_converters` 和 `convert_file` 两种工具。后者调用 Convertica 工具处理本地文件,并需设置 `CONVERTICA_API_KEY`。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
工具
2收录的工具列表 · 更新于 2 周前
此工具无需参数。
详细介绍
Convertica MCP 服务
无需离开 AI 助手,即可转换文件。将 Claude、Cursor、Windsurf 或任何 MCP 客户端连接到 Convertica,使用其 35 多种文档和图像转换工具。
"Convert ~/Downloads/report.pdf to Word"
"Merge these three PDFs and compress the result"
"Turn this HEIC photo into a JPG"
"Render https://example.com as a PDF"
MCP 工具
该服务提供两个工具。
list_converters
列出 Convertica 的全部 35 多种转换器及其文件字段和选项。先调用此工具,找到适用于 convert_file 的 tool 标识。无需输入。
{ "type": "object", "properties": {} }
convert_file
使用 convertica.net 的 35 多种转换工具之一转换本地文件,并将结果保存到输入文件旁边(或保存到 output_dir)。需要通过 CONVERTICA_API_KEY 环境变量进行身份验证。
{
"type": "object",
"required": ["tool"],
"properties": {
"tool": { "type": "string", "description": "Converter slug from list_converters, e.g. pdf-to-word or pdf-organize/merge" },
"files": { "type": "array", "items": { "type": "string" }, "description": "Absolute paths of input file(s); order matters for multi-file tools" },
"options": { "type": "object", "description": "Tool-specific options as listed by list_converters, e.g. {angle: 90}" },
"output_dir": { "type": "string", "description": "Directory to save the result (default: alongside the first input file)" }
}
}
支持的转换包括:PDF ⇄ Word / Excel / PowerPoint / JPG / HTML / Markdown / Text / EPUB、PDF → PDF/A、HTML / URL → PDF、合并 / 拆分 / 压缩 / 旋转 / 裁剪 / 添加水印 / 签名 / 保护 / 解锁 PDF、图像转换 / 优化 / HEIC → JPG·PNG·PDF 等。完整列表请通过 list_converters 查看,或访问 convertica.net。
设置和 API 密钥
你需要一个 Convertica API 密钥:在 convertica.net/pricing 订阅,然后在 convertica.net/users/api-keys 创建密钥。API 文档:convertica.net/api/docs。
Claude Code
claude mcp add convertica -e CONVERTICA_API_KEY=cvk_live_... -- npx -y convertica-mcp
Claude Desktop / Cursor / Windsurf
{
"mcpServers": {
"convertica": {
"command": "npx",
"args": ["-y", "convertica-mcp"],
"env": { "CONVERTICA_API_KEY": "cvk_live_..." }
}
}
}
使用说明
- 文件从本地磁盘读取并写入;除非传入
output_dir,否则结果会保存到输入文件旁边。 - 转换通过 HTTPS 同步运行;处理后的文件会在响应返回后立即从 Convertica 的服务中删除(详情)。
- API 调用会计入你套餐的月度配额;失败的调用不计入配额。
本地开发
npm install
npm run smoke # protocol check, no key needed
CONVERTICA_API_KEY=... npm run smoke # + one real conversion
许可证和致谢
MIT。与 Anthropic 无关联;“Convertica”是 convertica.net 背后的服务。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。