Gamma MCP Server
Model Context Protocol (MCP) server för Gamma.app - gör det möjligt för AI-assistenter att generera presentationer via Gamma API.
Features
✅ 3 MCP Tools:
gamma_generate- Skapa presentation/dokumentgamma_get_generation- Hämta status på generationgamma_list_generations- Lista tidigare generationer
✅ Två lägen:
stdio - För Claude Desktop (lokal användning)
HTTP - För AI Engine & webbapplikationer (24/7 deployment)
✅ Full Gamma API support:
Presentations, Documents, Webpages
Custom themes, tones, audiences
Swedish language default
Image generation
Installation
1. Klona/Kopiera projektet
2. Installera dependencies
3. Konfigurera API key
Uppdatera .env filen med din Gamma API key:
4. Bygg projektet
Användning
Lokal testning (stdio mode)
För att testa med Claude Desktop eller lokalt:
Lägg till i Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
HTTP Server (för AI Engine)
Starta HTTP-servern:
Servern körs på http://localhost:3000/mcp
Deployment till allgot.se
Metod 1: PM2 (Process Manager)
Metod 2: Systemd Service
Skapa /etc/systemd/system/gamma-mcp.service:
Aktivera:
Nginx Reverse Proxy
Lägg till i nginx config:
Integration med AI Engine
1. Via Code Engine Pro
Skapa ett PHP snippet i Code Engine (typ: function):
2. Direkt i AI Engine
Om AI Engine stödjer externa MCP servers kan du konfigurera:
Endpoint:
https://allgot.se/gamma-mcpMetod: POST
Headers:
Accept: application/json, text/event-stream
API Examples
Skapa presentation
Hämta status
Environment Variables
Variable | Beskrivning | Default |
| Din Gamma API key (REQUIRED) | - |
| Gamma API bas-URL |
|
| HTTP server port |
|
| HTTP server host |
|
| Environment mode |
|
Security
⚠️ Lägg ALDRIG till
✅ Använd HTTPS i produktion
✅ Begränsa access till MCP endpoint (firewall/auth)
✅ Håll Gamma API key säker
Troubleshooting
Server startar inte
Gamma API errors
MCP connection issues
Kontrollera att
Accept: application/json, text/event-streamheader finnsKolla server logs:
pm2 logs gamma-mcpellerjournalctl -u gamma-mcp -fVerifiera att nginx reverse proxy är korrekt konfigurerad
Support
För frågor eller problem, kontakta: isak@allgot.se
License
MIT License - Allgot.se
This server cannot be installed