Gamma MCP Server
Gamma FastMCP Server
This is a Python FastAPI + FastMCP server that wraps the Gamma APIs and exposes an MCP HTTP endpoint that MCP Clients can connect to.
What this server provides
MCP tools:
generate_presentationcreate_from_templateget_generation_statuslist_themeslist_folders
Health endpoint:
/healthMCP transport:
streamable-http(default)No OAuth flow required for MCP Client (server uses
GAMMA_API_KEYfrom env)Tool definitions live in
lib/tool.pyand are registered frommain.py
It uses Gamma's current flows:
POST /v1.0/generationsto create a generation jobPOST /v1.0/generations/from-templatefor template-based creationPoll
GET /v1.0/generations/{generationId}until status iscompletedUse
GET /v1.0/themesandGET /v1.0/folderswith pagination when needed
Reference: Gamma Generate API parameters explained
1) Setup (uv)
From gamma-mcp/:
uv syncCreate .env from .env.example and set your key:
GAMMA_API_KEY=sk-gamma-...
PORT=8000
MCP_TRANSPORT=streamable-http2) Run server
uv run python main.pyServer will start on:
http://localhost:8000/mcp(MCP endpoint for MCP Client)http://localhost:8000/health(health check)
3) Add in MCP Client connector UI
In MCP Client Add Connector -> Add MCP Server:
Name:
Gamma MCPURL:
http://localhost:8000/mcpTransport:
httpAuth headers: leave empty (Gamma key is handled server-side via env)
Then click Discover Tools, select generate_presentation, and save.
4) Example prompt in MCP Client
"Use Gamma MCP to generate a 10-card presentation on AI agents for product teams."
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aykansal/gamma-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server