
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
讯飞智文PPT生成服务MCP Server是基于讯飞星火大模型搭建的智能文档AI助理,全面兼容MCP协议,支持通过MCP协议快速接入各类智能体助手(如Claude
、Cursor
以及千帆AppBuilder
等)。
本服务提供6个符合MCP协议标准的API接口,涵盖PPT模板获取、PPT生成任务创建、任务进度查询、大纲生成等核心功能,帮助用户高效生成PPT文档,提升工作与学习效率。
依赖MCP Python SDK
开发,支持通过环境变量配置服务认证信息,确保安全可靠的API调用。
get_theme_list
AIPPT_APP_ID
和 AIPPT_API_SECRET
。pay_type
:模板付费类型(可选值:free
-免费模板,not_free
-付费模板,默认值:not_free
)style
:模板风格(如:简约、商务、科技等,可选)color
:模板颜色(如:红色、蓝色等,可选)industry
:模板行业(如:教育培训、金融等,可选)page_num
:页码(从1开始,默认值:2)page_size
:每页数量(最大100,默认值:10)template_id
、name
、style
等信息。create_ppt_task
get_theme_list
获取有效的 template_id
,返回任务ID(sid
)用于查询进度。text
:PPT生成的内容描述(必填)template_id
:PPT模板ID(必填,通过 get_theme_list
获取)author
:PPT作者名称(默认值:XXXX
)is_card_note
:是否生成演讲备注(True
/False
,默认值:True
)search
:是否联网搜索补充内容(True
/False
,默认值:False
)is_figure
:是否自动配图(True
/False
,默认值:True
)ai_image
:AI配图类型(仅在 is_figure=True
时生效,可选值:normal
-普通配图,advanced
-高级配图,默认值:normal
){"sid": "任务ID"}
,失败时抛出异常。get_task_progress
create_ppt_task
或 create_ppt_by_outline
创建的任务进度,任务完成后返回PPT下载地址。sid
:任务ID(必填,从任务创建工具返回中获取)status
)和PPT下载地址(download_url
)的字典。create_outline
create_ppt_by_outline
。text
:需要生成大纲的内容描述(必填)language
:大纲生成语言(目前仅支持 cn
-中文,默认值:cn
)search
:是否联网搜索(True
/False
,默认值:False
){"data": {"outline": 大纲内容}}
。create_outline_by_doc
file_name
:文档文件名(必填,需包含后缀名)file_url
:文档URL地址(与 file_path
二选一必填)file_path
:文档本地路径(与 file_url
二选一必填)text
:补充文本内容(指导大纲生成,必填)language
:大纲生成语言(目前仅支持 cn
-中文,默认值:cn
)search
:是否联网搜索(True
/False
,默认值:False
)create_outline
。create_ppt_by_outline
create_outline
或 create_outline_by_doc
获取大纲,通过 get_theme_list
获取模板ID。text
:PPT生成内容描述(必填)outline
:大纲内容(必填,需提取 create_outline
返回的 ['data']['outline']
字段)template_id
:PPT模板ID(必填,通过 get_theme_list
获取)author
:PPT作者名称(默认值:XXXX
)is_card_note
:是否生成演讲备注(True
/False
,默认值:True
)search
:是否联网搜索补充内容(True
/False
,默认值:False
)is_figure
:是否自动配图(True
/False
,默认值:True
)ai_image
:AI配图类型(仅在 is_figure=True
时生效,默认值:normal
){"sid": "任务ID"}
,失败时抛出异常。在讯飞开放平台申请应用,获取 AIPPT_APP_ID
和 AIPPT_API_SECRET
,并设置为环境变量:
export AIPPT_APP_ID="你的应用ID"
export AIPPT_API_SECRET="你的API密钥"
uvx
是一款轻量级工具,支持快速运行MCP服务,无需额外安装依赖。若已安装uvx
,可直接通过以下步骤启动服务:
# 按官方文档安装uv(支持macOS/Linux/Windows)
curl -fsSL https://install.astral.sh/uv | bash
uvx aippt-mcp
该命令会自动拉取并运行讯飞智文PPT生成服务MCP Server,无需手动管理依赖或代码。
在MCP客户端(如Claude.app)中添加服务配置
{
"mcpServers": {
"aippt-mcp": {
"command": "uvx",
"args": ["aippt-mcp"],
"env": {
"AIPPT_APP_ID": "<你的应用ID>",
"AIPPT_API_SECRET": "<你的API密钥>"
}
}
}
}
参数规格:
template_id
需通过 get_theme_list
工具获取,确保为有效模板ID。sid
任务ID需从任务创建工具(create_ppt_task
/create_ppt_by_outline
)的返回中获取。file_url
与 file_path
需二选一,且文件名需包含正确后缀(如 .pdf
/.docx
)。任务流程:
get_theme_list
),再创建任务(create_ppt_task
/create_ppt_by_outline
),通过 get_task_progress
轮询进度,任务完成后获取下载地址。使用中遇到问题,欢迎通过issue
或讯飞开放平台客服反馈。我们鼓励提交PR
贡献代码,感谢您的支持!
FAQs
AIPPT-MCP: 讯飞智能PPT生成服务MCPServer,支持MCP协议和uvx一键启动。
We found that aippt-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.