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.

已驗證Streamable HTTP可網頁執行效率與工作流媒體與設計

概覽

AI 產生的概覽

託管式 2Slides MCP 伺服器,讓助理產生 PowerPoint 簡報與客製設計投影片、加入 AI 語音旁白,並回傳下載連結。

可以做什麼
  • 搜尋預建主題,並依提示詞產生套用主題的 PowerPoint 簡報
  • 依文字內容或參考圖片風格產生客製設計投影片,可設定長寬比、解析度與頁數
  • 查詢產生任務狀態並取得完成後的下載連結
  • 為已完成的客製投影片任務加入單人或雙人的 AI 語音旁白
  • 將投影片頁面、旁白音訊與逐字稿打包匯出為 ZIP 下載連結
適用情境
適合讓助理把主題、大綱或文件直接做成成品簡報,或製作帶旁白的訓練與解說影片素材,不必離開對話介面。
執行需求
需要 2slides.com 的遠端 Streamable HTTP 端點,或透過 npx 執行本機 stdio 套件(需 Node.js 18+)。必須提供 2Slides API 金鑰,以 Authorization bearer 標頭送出(stdio 套件使用 API_KEY 環境變數)。需要具備額度的 2Slides 帳號。
安裝前請注意
產生內容會消耗付費額度:主題簡報每頁 1 點,客製投影片每頁 100 點(1K/2K)或 200 點(4K),旁白每頁 210 點。API 金鑰屬機密;README 的 HTTP 範例把金鑰放在連線網址的查詢參數中,可能外洩到設定檔與日誌。提示詞與參考圖片網址會傳送到 2slides.com,下載連結一小時後過期。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 2Slides,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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

[2slides]

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.

Streamable HTTPstdio (this package)
Setupone command, nothing to installneeds Node.js 18+, npx fetches the package
Updatesserver-side, always currentre-downloaded on your machine
Runs inany remote-capable MCP clientany client that can spawn a local process
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

bash
claude mcp add --transport http 2slides "https://2slides.com/api/mcp?apikey=YOUR_2SLIDES_API_KEY"

Verify with claude mcp list — the server should report ✔ Connected.

Project config (.mcp.json, shared with your team)

json
{  "mcpServers": {    "2slides": {      "type": "http",      "url": "https://2slides.com/api/mcp?apikey=YOUR_2SLIDES_API_KEY"    }  }}

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

bash
claude mcp add 2slides -e API_KEY=YOUR_2SLIDES_API_KEY -- npx -y 2slides-mcp@latest

Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json (%APPDATA%\Claude\claude_desktop_config.json on Windows):

json
{  "mcpServers": {    "2slides": {      "command": "npx",      "args": ["-y", "2slides-mcp@latest"],      "env": {        "API_KEY": "YOUR_2SLIDES_API_KEY"      }    }  }}

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 content
    • themeId (string, required) — theme ID from themes_search
    • responseLanguage (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 Chinese
    • mode (optional, default: sync) — sync returns downloadUrl immediately; async returns a jobId to poll with jobs_get
  • Credits: 1 per page
  • Example:
    json
    {  "themeId": "st-1756528793701-fcg5fblt2",  "userInput": "Generate a 5-slide intro to machine learning",  "responseLanguage": "English",  "mode": "sync"}

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:
    json
    { "query": "business", "limit": 5 }

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 status is success or failed.
  • Example:
    json
    { "jobId": "D8h9VYDGdTlZ6wWSEoctF" }

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 content
    • referenceImageUrl (string, required) — URL of the style reference image
    • responseLanguage (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:9
    • resolution (string, optional, default: 2K) — 1K, 2K, 4K
    • page (number, optional, default: 0) — 0 = auto-detect, 1–100 = exact page count
    • contentDetail (string, optional, default: standard) — concise or standard
    • mode (string, optional, default: async) — async returns jobId; sync returns downloadUrl immediately
  • Credits: 100 per page (1K/2K) or 200 per page (4K)
  • Example:
    json
    {  "userInput": "Create a presentation about AI trends",  "referenceImageUrl": "https://example.com/style-reference.jpg",  "aspectRatio": "16:9",  "resolution": "2K",  "page": 5,  "contentDetail": "standard",  "mode": "async"}

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 content
    • designStyle (string, optional) — free-text description of the visual style; leave empty for default styling
    • responseLanguage (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:9
    • resolution (string, optional, default: 2K) — 1K, 2K, 4K
    • page (number, optional, default: 0) — 0 = auto-detect, 1–100 = exact page count
    • contentDetail (string, optional, default: standard) — concise or standard
    • mode (string, optional, default: async) — async returns jobId; sync returns downloadUrl immediately
  • Credits: 100 per page (1K/2K) or 200 per page (4K)
  • Example:
    json
    {  "userInput": "Quarterly business review for Q3 2025",  "designStyle": "modern, dark background, bold typography",  "aspectRatio": "16:9",  "resolution": "2K",  "page": 8,  "mode": "async"}

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 job
    • mode (string, optional, default: single) — single or multi
    • speakerName (string, optional) — narrator name
    • voice (string, optional) — one of 30 voices (see list below)
    • contentMode (string, optional, default: standard) — concise or standard
    • includeIntro (boolean, optional, default: true)
  • Args (two speakers, mode: "multi"):

    • jobId (string, required)
    • mode (string, required) — multi
    • speaker1Name (string, required)
    • speaker2Name (string, required)
    • speaker1Voice (string, optional) — voice for speaker 1
    • speaker2Voice (string, optional) — voice for speaker 2
    • contentMode (string, optional, default: standard) — concise or standard
  • 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:

    json
    {  "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",  "mode": "multi",  "speaker1Name": "Alice",  "speaker2Name": "Bob",  "speaker1Voice": "Aoede",  "speaker2Voice": "Puck",  "contentMode": "standard"}

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:
    pages/  page_01.png, page_02.png, …voices/  page_01.wav, page_02.wav, …transcript.txt
  • Credits: free
  • Example:
    json
    { "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }

Typical Workflows

Fast PPT (theme-based PowerPoint):

  1. themes_search → get a themeId
  2. slides_generate (sync) → get downloadUrl directly

Nano Banana (custom-designed slides):

  1. slides_create_like_this or slides_create_pdf_slides (async) → get jobId
  2. jobs_get (poll every 20s) → get downloadUrl when status: "success"

Nano Banana with narration:

  1. slides_create_like_this or slides_create_pdf_slides → get jobId
  2. jobs_get → wait for slides to complete
  3. slides_generate_narration → get narration jobId
  4. jobs_get → wait for narration to complete
  5. slides_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:
bash
tail -n 50 -f ~/Library/Logs/Claude/mcp*.log
  • For stdio MCP servers, avoid logging to stdout; this server only logs errors to stderr.

References

來源:README.md,提交 437afa6

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.0.0最新Nov 14, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分