MCP 集成
MCP 集成
将 PDF.beauty 连接到 Claude Desktop、Cursor 和其他兼容 MCP 的 AI 助手。直接在对话中转换 PDF。
什么是 MCP?
模型上下文协议 (MCP) 是一个开放标准,允许 AI 助手连接到外部工具和服务。通过我们的 MCP 集成,您可以直接让 Claude 或其他兼容的 AI 助手将 PDF 转换为 PPTX —— 无需编写代码。
自然语言交互
直接要求 Claude 转换您的 PDF
无需编写代码
在您的 AI 助手内直接使用
配置简单
一次配置,随处使用
Claude Desktop 配置
将 PDF.beauty 添加到您的 Claude Desktop 配置文件中:
1打开 Claude Desktop 设置
2导航至 Developer → Edit Config:
Developer → Edit Config3添加以下配置信息:
claude_desktop_config.json
{
"mcpServers": {
"pdf-beauty": {
"url": "https://api.pdf.beauty/mcp",
"transport": "sse",
"headers": {
"Authorization": "pk_xxxxxxxxxxxxx"
}
}
}
}注意: 请将 pk_xxxxxxxxxxxxx 替换为您真实的 API 密钥。创建新密钥 →
可用工具
pdf_to_pptx将 PDF 转换为可编辑的 PPTX 演示文稿
file_urlstringrequiredURL of the PDF file to convertoptionsobjectConversion options (quality, etc.)get_task_status检查转换任务的状态
task_idstringrequiredThe task ID returned from pdf_to_pptxdownload_result获取已完成任务的下载链接
task_idstringrequiredThe task ID of the completed conversion对话示例
Claude Desktop
User: Convert this PDF to an editable presentation
https://example.com/slides.pdf
Claude: I'll convert that PDF to PPTX for you using PDF.beauty.
[Calling pdf_to_pptx with file_url="https://example.com/slides.pdf"]
Task created: task_abc123
[Calling get_task_status with task_id="task_abc123"]
✓ Conversion complete! Your PPTX is ready.
Download: https://api.pdf.beauty/api/convert/tasks/task_abc123/download