
2Slides
com.2slides由 2slides.com 发布官方发布者v1.0.0更新于 Nov 14, 2026
Generate presentation slides with AI: decks from a topic or a file, narration, and theme search.
概览
托管式 2Slides MCP 服务器,让助手生成 PowerPoint 演示文稿和定制设计幻灯片、添加 AI 语音旁白,并返回下载链接。
- 可以做什么
- 搜索预置主题,并根据提示词生成套用主题的 PowerPoint 演示文稿
- 根据文本或参考图片风格生成定制设计幻灯片,可设置宽高比、分辨率和页数
- 查询生成任务状态并获取完成后的下载链接
- 为已完成的定制幻灯片任务添加单人或多人的 AI 语音旁白
- 将幻灯片页面、旁白音频和文字稿打包导出为 ZIP 下载链接
- 适用场景
- 适合让助手把主题、提纲或文档直接做成成品演示文稿,或制作带旁白的培训与讲解视频素材,无需离开对话界面。
- 运行要求
- 需要 2slides.com 的远程 Streamable HTTP 端点,或通过 npx 运行本地 stdio 包(需 Node.js 18+)。必须提供 2Slides API 密钥,以 Authorization bearer 请求头发送(stdio 包使用 API_KEY 环境变量)。需要拥有带额度的 2Slides 账户。
安装
在 SourceWeft 中
- 打开 控制台中的 2Slides,将其添加到工作区。
- 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.2slides%2F2slides/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"2slides": {
"type": "http",
"url": "https://2slides.com/api/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
2slides MCP Server
Expose 2slides.com tools to MCP clients: generate PowerPoint decks and custom-designed slides, add AI voice narration, and get the finished files back as download links.
Get Your API Key
Before connecting, get an API key from 2slides.com/api.
Connect
2slides runs a hosted Streamable HTTP MCP endpoint, and also ships this stdio package. Both expose the same 7 tools against the same account and the same credits.
Option 1 — Streamable HTTP (recommended)
Anthropic's MCP docs call HTTP "the recommended option for connecting to remote MCP servers", and 2slides is a hosted service with no local files or processes to reach, so start here.
Claude Code
Verify with claude mcp list — the server should report ✔ Connected.
Project config (.mcp.json, shared with your team)
Claude Desktop / claude.ai: add it as a custom connector at claude.ai/customize/connectors with the same URL.
Option 2 — stdio (local process)
Use this when the client can only spawn local processes, when the machine has no direct route to 2slides.com, or when you want to pin and patch the server yourself.
Claude Code
Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json
(%APPDATA%\Claude\claude_desktop_config.json on Windows):
The -y flag lets npx install the package without prompting. Fully restart Claude Desktop
afterwards; in a chat, open the tools panel and you should see the tools below.
Available Tools
slides_generate (POST /api/v1/slides/generate)
Generate a PowerPoint presentation using a pre-built theme (Fast PPT). Use themes_search first to find a themeId.
- Args:
userInput(string, required) — presentation contentthemeId(string, required) — theme ID fromthemes_searchresponseLanguage(string, optional, default:Auto) — output language; supported values:Auto,English,Spanish,Arabic,Portuguese,Indonesian,Japanese,Russian,Hindi,French,German,Greek,Vietnamese,Turkish,Thai,Polish,Italian,Korean,Simplified Chinese,Traditional Chinesemode(optional, default:sync) —syncreturnsdownloadUrlimmediately;asyncreturns ajobIdto poll withjobs_get
- Credits: 1 per page
- Example:
themes_search (GET /api/v1/themes/search)
Search pre-built themes to use with slides_generate.
- Args:
query(string, required) — search keyword (e.g.business,minimal,dark)limit(number, optional, default:10, range:1–100)
- Returns: array of themes with
id,name,description,previewUrl,tags - Credits: free
- Example:
jobs_get (GET /api/v1/jobs/{jobId})
Poll a job's status and retrieve the result when ready.
- Args:
jobId(string, required)
- Returns:
jobId,status(pending/processing/success/failed),message,downloadUrl(when success),slidePageCount,createdAt,updatedAt,duration(ms),jobUrl(Nano Banana jobs only) - Credits: free
- Note: Poll every 20 seconds until
statusissuccessorfailed. - Example:
slides_create_like_this (POST /api/v1/slides/create-like-this)
Generate slides (Nano Banana) that match the style of a reference image.
- Args:
userInput(string, required) — presentation contentreferenceImageUrl(string, required) — URL of the style reference imageresponseLanguage(string, optional, default:Auto)aspectRatio(string, optional, default:16:9) — valid values:1:1,2:3,3:2,3:4,4:3,4:5,5:4,9:16,16:9,21:9resolution(string, optional, default:2K) —1K,2K,4Kpage(number, optional, default:0) —0= auto-detect,1–100= exact page countcontentDetail(string, optional, default:standard) —conciseorstandardmode(string, optional, default:async) —asyncreturnsjobId;syncreturnsdownloadUrlimmediately
- Credits: 100 per page (1K/2K) or 200 per page (4K)
- Example:
slides_create_pdf_slides (POST /api/v1/slides/create-pdf-slides)
Generate custom-designed slides (Nano Banana) from text content without a reference image.
- Args:
userInput(string, required) — presentation contentdesignStyle(string, optional) — free-text description of the visual style; leave empty for default stylingresponseLanguage(string, optional, default:Auto)aspectRatio(string, optional, default:16:9) — valid values:1:1,2:3,3:2,3:4,4:3,4:5,5:4,9:16,16:9,21:9resolution(string, optional, default:2K) —1K,2K,4Kpage(number, optional, default:0) —0= auto-detect,1–100= exact page countcontentDetail(string, optional, default:standard) —conciseorstandardmode(string, optional, default:async) —asyncreturnsjobId;syncreturnsdownloadUrlimmediately
- Credits: 100 per page (1K/2K) or 200 per page (4K)
- Example:
slides_generate_narration (POST /api/v1/slides/generate-narration)
Add AI voice narration to a completed Nano Banana job (slides_create_like_this or slides_create_pdf_slides only; Fast PPT not supported). Always async — poll result with jobs_get.
-
Args (single speaker,
mode: "single"default):jobId(string, required) — UUID of a completed Nano Banana jobmode(string, optional, default:single) —singleormultispeakerName(string, optional) — narrator namevoice(string, optional) — one of 30 voices (see list below)contentMode(string, optional, default:standard) —conciseorstandardincludeIntro(boolean, optional, default:true)
-
Args (two speakers,
mode: "multi"):jobId(string, required)mode(string, required) —multispeaker1Name(string, required)speaker2Name(string, required)speaker1Voice(string, optional) — voice for speaker 1speaker2Voice(string, optional) — voice for speaker 2contentMode(string, optional, default:standard) —conciseorstandard
-
Supported voices (30):
Puck,Aoede,Charon,Kore,Fenrir,Zephyr,Leda,Orus,Callirrhoe,Autonoe,Enceladus,Iapetus,Umbriel,Algieba,Despina,Erinome,Algenib,Rasalgethi,Laomedeia,Achernar,Alnilam,Schedar,Gacrux,Pulcherrima,Achird,Zubenelgenubi,Vindemiatrix,Sadachbia,Sadaltager,Sulafat -
Credits: 210 per page (10 text + 200 audio)
-
Example:
slides_download_slides_pages_voices (POST /api/v1/slides/download-slides-pages-voices)
Export slide pages and audio narration as a ZIP file. The job must be completed and have narration generated.
- Args:
jobId(string, required) — UUID of a job with completed narration
- Returns:
downloadUrl(expires in 1 hour),fileName,expiresIn(3600 seconds) - ZIP contents:
- Credits: free
- Example:
Typical Workflows
Fast PPT (theme-based PowerPoint):
themes_search→ get athemeIdslides_generate(sync) → getdownloadUrldirectly
Nano Banana (custom-designed slides):
slides_create_like_thisorslides_create_pdf_slides(async) → getjobIdjobs_get(poll every 20s) → getdownloadUrlwhenstatus: "success"
Nano Banana with narration:
slides_create_like_thisorslides_create_pdf_slides→ getjobIdjobs_get→ wait for slides to completeslides_generate_narration→ get narrationjobIdjobs_get→ wait for narration to completeslides_download_slides_pages_voices→ get ZIP download link
Troubleshooting (Claude Desktop)
- If tools don't appear in Claude, verify the config path is absolute and restart the app.
- Check Claude MCP logs:
- For stdio MCP servers, avoid logging to stdout; this server only logs errors to stderr.
References
- Build an MCP server (official docs): https://modelcontextprotocol.io/docs/develop/build-server
- 2slides API docs: https://2slides.com/api
- 2slides: https://2slides.com
- 2slides Templates: https://2slides.com/templates
来源:README.md,提交 437afa6
工具
0版本历史
1- v1.0.0最新Nov 14, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
