Gamma

io.github.mindstone由 GitHub 帳號 mindstone 發布v0.4.1更新於 Oct 24, 2026

Gamma AI presentation generation MCP server for Model Context Protocol hosts

已驗證STDIO僅桌面效率與工作流媒體與設計

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理建立 Gamma 簡報、文件、網頁和社群貼文,列出主題與資料夾,並輪詢生成與匯出狀態。

可以做什麼
列出可用的 Gamma 主題與工作區資料夾,為新內容挑選主題或存放位置。啟動 AI 生成簡報、文件、網頁或社群貼文,可匯出為 PDF 或 PPTX。用 AI 複製並修改既有的 Gamma 文件。輪詢生成狀態直到簡報與匯出完成,回傳 Gamma 連結和下載後的檔案路徑。在工作階段內設定 Gamma API 金鑰。
適用情境
適合已在本機 MCP 宿主中管理 npm 套件和 API 金鑰、希望不離開宿主就把提示詞變成 Gamma 簡報、文件或匯出檔的情境。無程式碼或遠端連接器情境下,Gamma 官方託管伺服器較簡單。
執行需求
透過 npx 在本機執行,需要 Node.js 20+ 和 npm。需要 Gamma API 金鑰,以 GAMMA_API_KEY 提供(也可用設定工具設定)。選用設定:GAMMA_EXPORT_POLL_INTERVAL_MS、GAMMA_EXPORT_POLL_MAX_ATTEMPTS 和 GAMMA_REQUEST_TIMEOUT_MS。需要連線至 Gamma API 的網路存取。
安裝前請注意
GAMMA_API_KEY 是機密,會以 x-api-key 標頭送出;可保存在記憶體中,或在設定 MCP_HOST_BRIDGE_STATE 時交給本機宿主橋接。生成操作會在你的 Gamma 工作區寫入內容,可能消耗 Gamma 額度,並可設定工作區或外部分享選項,因此生成類工具被標示為破壞性操作。匯出檔會從 Gamma 提供的網址下載到系統暫存目錄。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Gamma,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@mindstone/mcp-server-gamma

[npm version] [License: FSL-1.1-MIT]

Gamma MCP server for creating Gamma presentations, documents, webpages, and social posts, listing themes and folders, and polling async generation/export status.

Best for MCP hosts that want to create Gamma decks and exports from a local package using an API key they already manage.

Status

Why this exists

Gamma's hosted MCP server is the easiest path for no-code and remote-connector flows. This package is for local MCP hosts that already manage npm packages and API keys.

It gives an assistant the useful Gamma creation loop: pick a theme or folder, start a deck/document/webpage generation, wait for it to finish, and return the Gamma link or exported PDF/PPTX. The benefit is simple: turn a prompt into a usable Gamma asset without leaving the host.

Example interaction

"Create a 10-slide investor update about Q4 results using our corporate theme and export it as PPTX."

Tools the host calls:

  1. gamma_list_themes — finds the custom theme ID.
  2. gamma_generate — starts a presentation generation with export_as: "pptx".
  3. gamma_get_status — polls until Gamma completes the deck and export.

Response (trimmed):

json
{  "generation_id": "gen_123",  "status": "completed",  "gamma_url": "<untrusted-content source=\"gamma:generation.url\">https://gamma.app/docs/...</untrusted-content>",  "pptx_url": "<untrusted-content source=\"gamma:generation.url\">https://...</untrusted-content>",  "file_path": "/tmp/gamma_export_gen_123_abcd.pptx"}

External strings (theme/folder names, theme keywords, status error text, and URLs) are returned inside <untrusted-content> envelopes so the model treats them as data, not instructions.

Requirements

  • Node.js 20+
  • npm

One-click install

[Add to Cursor] [Add to VS Code] [Add to VS Code Insiders]

After clicking the button, your host will prompt you to fill: GAMMA_API_KEY, GAMMA_EXPORT_POLL_INTERVAL_MS, GAMMA_EXPORT_POLL_MAX_ATTEMPTS, GAMMA_REQUEST_TIMEOUT_MS.

Manual config for Claude Desktop / Claude Code / Goose / Continue.dev (Gamma)
json
{  "mcpServers": {    "Gamma": {      "command": "npx",      "args": [        "-y",        "@mindstone/mcp-server-gamma"      ],      "env": {        "GAMMA_API_KEY": "",        "GAMMA_EXPORT_POLL_INTERVAL_MS": "5000",        "GAMMA_EXPORT_POLL_MAX_ATTEMPTS": "12",        "GAMMA_REQUEST_TIMEOUT_MS": "60000"      }    }  }}

Quick Start

Install & build

bash
cd <path-to-repo>/connectors/gammanpm installnpm run build

npx (once published)

bash
npx -y @mindstone/mcp-server-gamma

Local

bash
node dist/index.js

Configuration

Environment variables

  • GAMMA_API_KEY — Gamma API key
  • GAMMA_EXPORT_POLL_INTERVAL_MS — export poll interval in milliseconds (default: 5000)
  • GAMMA_EXPORT_POLL_MAX_ATTEMPTS — maximum export poll attempts (default: 12)
  • GAMMA_REQUEST_TIMEOUT_MS — optional override (positive integer ms, max 30 min) for the outbound HTTP request timeout applied to both Gamma API and host-bridge calls. Default: 60000 (60s). Raise this if you see TIMEOUT errors on slow submits; lower it if you want tighter bounds.
  • MCP_HOST_BRIDGE_STATE — host-managed bridge state file used for credential management when a host provides one; not needed for ordinary manual setup.
  • MINDSTONE_REBEL_BRIDGE_STATE — backwards-compatible alias for MCP_HOST_BRIDGE_STATE.

Host configuration examples

Claude Desktop / Cursor

json
{  "mcpServers": {    "Gamma": {      "command": "npx",      "args": ["-y", "@mindstone/mcp-server-gamma"],      "env": {        "GAMMA_API_KEY": "your-api-key"      }    }  }}

Local development (no npm publish needed)

json
{  "mcpServers": {    "Gamma": {      "command": "node",      "args": ["<path-to-repo>/connectors/gamma/dist/index.js"],      "env": {        "GAMMA_API_KEY": "your-api-key"      }    }  }}

Tools (6)

Configuration

  • configure_gamma_api_key — Configure the Gamma API key

Listing

  • gamma_list_themes — List available Gamma themes (custom and standard)
  • gamma_list_folders — List folders in the user's Gamma workspace

Generation

  • gamma_generate — Create AI-powered presentations, documents, webpages, or social posts
  • gamma_create_from_template — Clone and modify an existing Gamma document using AI
  • gamma_get_status — Poll the status of a Gamma generation

Security notes

  • Gamma API calls use GAMMA_API_KEY as an x-api-key header.
  • configure_gamma_api_key can store the key in memory, or hand it to a host bridge when MCP_HOST_BRIDGE_STATE is present.
  • Host bridge requests, when configured, go to 127.0.0.1 using the token from the bridge state file.
  • Theme and folder names and theme keyword arrays returned by gamma_list_themes / gamma_list_folders are workspace-authored text and are wrapped in <untrusted-content> envelopes so the model treats them as data, not instructions. Unknown vendor-added response fields are stripped by fail-closed Zod validation, and vendor error bodies are never written to logs or model-visible errors.
  • PDF/PPTX exports are downloaded from Gamma-provided URLs into the system temp directory. Export URLs are validated before any outbound request: HTTPS only, no userinfo, private/loopback/reserved hosts rejected, and hosts restricted to gamma.app and its subdomains. Redirects are followed manually with every hop re-validated against the same checks, and downloads are written atomically (exclusive no-follow create at an unpredictable path, mode 0600).
  • Generation can create content in the user's Gamma workspace, may consume Gamma credits, and can set workspace/external sharing options; the generation tools are annotated destructiveHint: true accordingly.

Licence

FSL-1.1-MIT — Functional Source License, Version 1.1, with MIT future licence. The software converts to MIT licence on 2030-04-08.

來源:connectors/gamma/README.md,提交 22c4611

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.4.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。