npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

gamma-mcp

v0.1.1

Published

Model Context Protocol server that exposes Gamma Generations API tools.

Readme

Gamma MCP

The Universal MCP Server exposes tools for the Gamma Generations API and is designed for prompt-first workflows in MCP-compatible clients.

Installation

Prerequisites

  • Node.js 18+
  • Set UNIVERSAL_MCP_SERVER_GAMMA_API_KEY in your environment

Get a Gamma API key

  • See Gamma developer docs and request access
    • Overview: https://developers.gamma.app/docs/how-does-the-generations-api-work
    • Access: https://developers.gamma.app/docs/get-access
    • Getting Started: https://developers.gamma.app/docs/getting-started

Build locally

cd /Users/kimurataiyou/gamma-mcp
npm i
npm run build

Setup: Claude Code (CLI)

Use this one-line command (replace with your real API key):

claude mcp add Gamma-MCP -s user -e GAMMA_MCP_GAMMA_API_KEY="sk-your-real-key" -- npx gamma-mcp

To remove the server from Claude Code:

claude mcp remove Gamma-MCP

Setup: Cursor

Create .cursor/mcp.json at your repository root:

{
  "mcpServers": {
    "gamma-mcp": {
      "command": "npx",
      "args": ["gamma-mcp"],
      "env": { "GAMMA_MCP_GAMMA_API_KEY": "sk-your-real-key" },
      "autoStart": true
    }
  }
}

Other Clients and Agents

Install in VS Code
Install in VS Code Insiders

Or add via CLI:

code --add-mcp '{"name":"gamma-mcp","command":"npx","args":["gamma-mcp"],"env":{"GAMMA_MCP_GAMMA_API_KEY":"sk-your-real-key"}}'

Follow the MCP install guide and use the standard config above:

  • Guide: https://modelcontextprotocol.io/quickstart/user

Add MCP Server with:

  • Command: npx
  • Args: ["gamma-mcp"]
  • Env: GAMMA_MCP_GAMMA_API_KEY=sk-your-real-key

Advanced settings → Extensions → Add custom extension:

  • Type: STDIO
  • Command: npx
  • Args: gamma-mcp
  • Enabled: true

Example ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "gamma-mcp": {
      "type": "local",
      "command": [
        "npx",
        "gamma-mcp"
      ],
      "enabled": true
    }
  }
}

Open Qodo Gen (VSCode/IntelliJ) → Connect more tools → + Add new MCP → Paste the standard config JSON → Save.

Follow Windsurf MCP documentation and use the standard config above:

  • Docs: https://docs.windsurf.com/windsurf/cascade/mcp

Configuration (Env)

  • GAMMA_MCP_GAMMA_API_KEY: Your Gamma API key (required)
  • GAMMA_MCP_GAMMA_BASE_URL: Base URL override (default: https://generations.gamma.app)
  • GAMMA_API_KEY / GAMMA_BASE_URL: Legacy fallbacks
  • MCP_NAME: Server name override (default: gamma-mcp)

Available Tools

  • gamma_create_generation
    • inputs:
      • prompt?: string
      • templateId?: string
      • brandId?: string
      • format?: string
      • metadata?: object
      • callbacks?: object (webhook config)
      • payload?: object (structured creation payload)
  • gamma_get_generation
    • inputs:
      • generationId: string
      • expand?: boolean
  • gamma_list_generations
    • inputs:
      • status?: string (queued|processing|ready|failed)
      • limit?: number
      • page?: number
  • gamma_get_asset
    • inputs:
      • generationId: string
      • assetId: string

Example invocation (MCP tool call)

{
  "name": "gamma_create_generation",
  "arguments": {
    "prompt": "Create a 10-slide pitch deck about product-market fit",
    "format": "presentation"
  }
}

Troubleshooting

  • 401 auth errors: verify UNIVERSAL_MCP_SERVER_GAMMA_API_KEY
  • Ensure Node 18+
  • If running via npx locally: npx universal-mcp-server works after npm run build
  • For local development: you can run node build/index.js directly

References

  • Gamma Generations API Overview: https://developers.gamma.app/docs/how-does-the-generations-api-work
  • Gamma Access: https://developers.gamma.app/docs/get-access
  • Gamma Getting Started: https://developers.gamma.app/docs/getting-started
  • Model Context Protocol Quickstart: https://modelcontextprotocol.io/quickstart/server
  • MCP SDK Docs: https://modelcontextprotocol.io/docs/sdk
  • MCP Architecture: https://modelcontextprotocol.io/docs/learn/architecture

Name Consistency & Troubleshooting

  • Always use CANONICAL_ID (gamma-mcp) for identifiers and configuration keys.
  • Use CANONICAL_DISPLAY (Gamma MCP) only for UI labels or documentation prose.
  • Do not mix legacy names once you have added the server to a client registry.

Consistency Matrix:

  • npm package name → gamma-mcp
  • Binary name → gamma-mcp
  • MCP server name (SDK metadata) → gamma-mcp
  • Env default MCP_NAMEgamma-mcp
  • Client registry key → gamma-mcp
  • UI label → Gamma MCP

Conflict Cleanup:

  • Remove any stale entries such as "UniversalServer" and re-register with "gamma-mcp".
  • Ensure global .mcp.json or client registries only contain the canonical identifier.
  • Cursor: configure keys in the UI; this project intentionally omits .cursor/mcp.json.

Example:

  • Correct: "mcpServers": { "gamma-mcp": { "command": "npx", "args": ["gamma-mcp"] } }
  • Incorrect: "UniversalServer" as the key (conflicts with "gamma-mcp").