
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@raydeck/gamma-app-mcp
Advanced tools
MCP server for Gamma.app API - Generate AI-powered presentations, documents, and social media posts
An MCP (Model Context Protocol) server that enables AI assistants to generate Gamma presentations, documents, and social media posts using the Gamma.app API.
The Model Context Protocol (MCP) allows AI assistants like Claude to interact with external tools and data sources. This server exposes Gamma's AI generation capabilities to any MCP-compatible client.
Once published to NPM, you can use the server directly with npx:
Configure your MCP client (e.g., Claude Desktop) by adding to your config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"gamma": {
"command": "npx",
"args": ["-y", "@raydeck/gamma-app-mcp"],
"env": {
"GAMMA_API_KEY": "your-gamma-api-key-here"
}
}
}
}
Restart your MCP client to load the server
For testing and development before publishing:
Clone/navigate to the repository:
cd /path/to/gamma-mcp
Install dependencies:
npm install
Build the project:
npm run build
Configure your MCP client with the local path:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"gamma": {
"command": "node",
"args": ["/absolute/path/to/gamma-mcp/dist/index.js"],
"env": {
"GAMMA_API_KEY": "your-gamma-api-key-here"
}
}
}
}
Alternative using npm link:
# In the gamma-mcp directory
npm link
# Then in your MCP config:
{
"mcpServers": {
"gamma": {
"command": "gamma-mcp",
"env": {
"GAMMA_API_KEY": "your-gamma-api-key-here"
}
}
}
}
Restart your MCP client
For active development with TypeScript hot-reloading:
npm run dev
This runs the server directly from TypeScript source using tsx.
GAMMA_API_KEY (required): Your Gamma API keygenerate_gammaGenerate AI-powered Gamma content (presentations, documents, or social posts).
Note: This tool returns a generation ID. Use the get_gamma_generation tool to automatically wait for completion and retrieve the final URLs.
| Parameter | Type | Required | Description |
|---|---|---|---|
inputText | string | âś… | The text content to generate from (1-400,000 characters). Can be a short prompt, messy notes, or polished content. |
textMode | string | ❌ | How to process input: generate, condense, or preserve (default: generate) |
format | string | ❌ | Output format: presentation, document, or social (default: presentation) |
themeName | string | ❌ | Name of a specific theme to use. Only use if the user explicitly requests a custom theme by name. Theme must exist in your Gamma workspace. Omit this parameter to use Gamma's default theme selection. |
numCards | number | ❌ | Number of cards/slides to generate (1-60 for Pro, 1-75 for Ultra, default: 10) |
cardSplit | string | ❌ | How to split content: auto or inputTextBreaks (default: auto) |
additionalInstructions | string | ❌ | Additional instructions for content and layout (1-500 characters) |
exportAs | string | ❌ | Export format: pdf or pptx |
| Parameter | Type | Description |
|---|---|---|
textOptions.amount | string | Amount of text per card: brief, medium, detailed, or extensive |
textOptions.tone | string | Tone of voice for the content |
textOptions.audience | string | Intended audience |
textOptions.language | string | Output language code (e.g., 'en', 'es', 'fr') |
| Parameter | Type | Description |
|---|---|---|
imageOptions.source | string | Image source: aiGenerated or unsplash |
imageOptions.model | string | AI model to use for image generation |
imageOptions.style | string | Artistic style for generated images |
| Parameter | Type | Description |
|---|---|---|
cardOptions.dimensions | string | Card dimensions: fluid, 16x9, or 4x3 |
| Parameter | Type | Description |
|---|---|---|
sharingOptions.workspaceAccess | string | Workspace access level |
When using with Claude or another MCP client:
Create a 10-slide presentation about "The Future of AI" with a professional tone,
targeted at business executives, using medium text amount and AI-generated images.
The AI will use the tool like this:
{
"inputText": "The Future of AI - covering trends, opportunities, and challenges",
"format": "presentation",
"numCards": 10,
"textOptions": {
"amount": "medium",
"tone": "professional",
"audience": "business executives"
},
"imageOptions": {
"source": "aiGenerated"
}
}
get_gamma_generationRetrieve the status and URLs of a Gamma generation. Automatically polls every 5 seconds until generation is complete (recommended by Gamma API).
| Parameter | Type | Required | Description |
|---|---|---|---|
generationId | string | âś… | The generation ID returned from generate_gamma |
pollUntilComplete | boolean | ❌ | Whether to automatically poll until complete (default: true) |
maxWaitSeconds | number | ❌ | Maximum wait time in seconds when polling (default: 300 = 5 minutes) |
By default, the tool automatically polls every 5 seconds until the generation is complete or fails:
The tool returns a JSON response containing:
pending, processing, completed, or failedAutomatic polling (recommended):
{
"generationId": "abc123"
}
Waits until complete and returns final URLs
Custom timeout:
{
"generationId": "abc123",
"maxWaitSeconds": 600
}
Waits up to 10 minutes
Single status check (no polling):
{
"generationId": "abc123",
"pollUntilComplete": false
}
Returns current status immediately without waiting
generate_gamma ResponseReturns a JSON response from the Gamma API containing:
get_gamma_generation)get_gamma_generation ResponseReturns:
gamma-mcp/
├── src/
│ └── index.ts # Main server implementation
├── dist/ # Compiled JavaScript output
├── package.json # NPM package configuration (includes mcpName for registry validation)
├── server.json # MCP registry metadata
├── tsconfig.json
└── README.md
Note: The server.json file is required for publishing to the MCP Registry. It contains metadata about your server including its namespace (io.github.statechangelabs/gamma-app-mcp), package information, and deployment configuration.
npm run build
This compiles TypeScript to JavaScript in the dist/ directory.
Before publishing to the MCP registry, you can validate your server.json:
npm run validate
This checks that your server.json has all required fields and is properly structured for the MCP registry.
src/index.tsnpm run build to compileWhen ready to publish:
Update version in package.json and server.json:
npm version patch # or minor, or major
Then update the version field in server.json to match.
Build the project:
npm run build
Publish to NPM:
npm publish --access public
Users can then install via:
npx @raydeck/gamma-app-mcp
After publishing to NPM, you can publish to the official MCP registry to make your server discoverable:
Install the MCP Publisher CLI:
# macOS/Linux with Homebrew
brew install mcp-publisher
# Or download pre-built binaries from:
# https://github.com/modelcontextprotocol/registry/releases
Authenticate with GitHub (for io.github.* namespaces):
mcp-publisher login github
Publish to the registry:
mcp-publisher publish
Verify publication:
curl "https://registry.modelcontextprotocol.io/v0/servers?search=io.github.statechangelabs/gamma-app-mcp"
For detailed instructions, see the official publishing guide.
GAMMA_API_KEY is set correctly in your MCP configISC
Ray Deck
For issues and questions:
FAQs
MCP server for Gamma.app API - Generate AI-powered presentations, documents, and social media posts
We found that @raydeck/gamma-app-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.