
Gamma
io.github.mindstone由 GitHub 账号 mindstone 发布v0.4.1更新于 Oct 24, 2026
Gamma AI presentation generation MCP server for Model Context Protocol hosts
概览
本地 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 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Gamma,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
- Version: 0.4.1 · npm
- Auth: API key (
GAMMA_API_KEY) - Tools: 6 (themes, folders, generation)
- Surface: cloud-api
- Machine-readable:
STATUS.json
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:
gamma_list_themes— finds the custom theme ID.gamma_generate— starts a presentation generation withexport_as: "pptx".gamma_get_status— polls until Gamma completes the deck and export.
Response (trimmed):
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)
Quick Start
Install & build
npx (once published)
Local
Configuration
Environment variables
GAMMA_API_KEY— Gamma API keyGAMMA_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 seeTIMEOUTerrors 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 forMCP_HOST_BRIDGE_STATE.
Host configuration examples
Claude Desktop / Cursor
Local development (no npm publish needed)
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 postsgamma_create_from_template— Clone and modify an existing Gamma document using AIgamma_get_status— Poll the status of a Gamma generation
Security notes
- Gamma API calls use
GAMMA_API_KEYas anx-api-keyheader. configure_gamma_api_keycan store the key in memory, or hand it to a host bridge whenMCP_HOST_BRIDGE_STATEis present.- Host bridge requests, when configured, go to
127.0.0.1using the token from the bridge state file. - Theme and folder names and theme keyword arrays returned by
gamma_list_themes/gamma_list_foldersare 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.appand 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, mode0600). - 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: trueaccordingly.
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版本历史
1- v0.4.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。