@mindstone/mcp-server-gamma
v0.3.3
Published
Gamma AI presentation generation MCP server for Model Context Protocol hosts
Readme
@mindstone/mcp-server-gamma
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.3.2 · 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):
{
"generation_id": "gen_123",
"status": "completed",
"gamma_url": "https://gamma.app/docs/...",
"pptx_url": "https://...",
"file_path": "/tmp/gamma_export_gen_123_abcd.pptx"
}Requirements
- Node.js 20+
- npm
One-click install
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.
{
"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
cd <path-to-repo>/connectors/gamma
npm install
npm run buildnpx (once published)
npx -y @mindstone/mcp-server-gammaLocal
node dist/index.jsConfiguration
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
{
"mcpServers": {
"Gamma": {
"command": "npx",
"args": ["-y", "@mindstone/mcp-server-gamma"],
"env": {
"GAMMA_API_KEY": "your-api-key"
}
}
}
}Local development (no npm publish needed)
{
"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 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. - PDF/PPTX exports are downloaded from Gamma-provided URLs into the system temp directory with a sanitized generation ID in the filename.
- Generation can create content in the user's Gamma workspace, may consume Gamma credits, and can set workspace/external sharing options.
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.
