NG

nickloveinvesting/gamma-mcpserver

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

22 stars 10 forks Качество 55 Тренд 0

Этот документ направляет вас через настройку и запуск сервера Gamma MCP (Model Context Protocol), который позволяет генерировать презентации с использованием Gamma API непосредственно от клиентов MCP, таких как:.

Обзор

Этот документ направляет вас через настройку и запуск сервера Gamma MCP (Model Context Protocol), который позволяет создавать презентации с использованием Gamma API непосредственно от клиентов MCP, таких как Claude for Desktop от Anthropic. Gamma - это платформа на базе искусственного интеллекта, предназначенная для того, чтобы помочь пользователям создавать различные типы контента, уделяя особое внимание презентациям. Он использует искусственный интеллект для автоматического создания слайдов, предложения текста и включения изображений, что позволяет быстро разрабатывать полированные презентации из простых подсказок или существующих документов. Этот MCP-сервер специально взаимодействует с API Gamma, чтобы обеспечить возможность генерации презентаций в таких средах, как Claude for Desktop. Проверьте документы Gamma API, чтобы узнать больше. Этот сервер предоставляет инструмент клиенту MCP (например, Claude for Desktop), который может принимать быстрые и различные параметры для создания презентации с использованием Gamma API. Сервер возвращает ссылку на сгенерированную презентацию.

Обзор (машинный перевод)

Этот документ направляет вас через настройку и запуск сервера Gamma MCP (Model Context Protocol), который позволяет создавать презентации с использованием Gamma API непосредственно от клиентов MCP, таких как Claude for Desktop от Anthropic.

Что такое гамма?

Gamma - это платформа на базе искусственного интеллекта, предназначенная для того, чтобы помочь пользователям создавать различные типы контента, уделяя особое внимание презентациям. Он использует искусственный интеллект для автоматического создания слайдов, предложения текста и включения изображений, что позволяет быстро разрабатывать полированные презентации из простых подсказок или существующих документов. Этот MCP-сервер специально взаимодействует с API Gamma, чтобы обеспечить возможность генерации презентаций в таких средах, как Claude for Desktop. Проверьте документы Gamma API, чтобы узнать больше.

##Что мы будем строить

Этот сервер предоставляет инструмент клиенту MCP (например, Claude for Desktop), который может принимать быстрые и различные параметры для создания презентации с использованием Gamma API. Сервер возвращает ссылку на сгенерированную презентацию.

Основные концепции MCP

Серверы Model Context Protocol могут обеспечить три основных типа возможностей:

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Gamma MCP Server

This document guides you through setting up and running the Gamma MCP (Model Context Protocol) server, which allows you to generate presentations using the Gamma API directly from MCP clients like Anthropic’s Claude for Desktop.

What is Gamma?

Gamma is an AI-powered platform designed to help users create various types of content, with a strong focus on presentations. It leverages artificial intelligence to automatically generate slides, suggest text, and incorporate imagery, allowing for rapid development of polished presentations from simple prompts or existing documents. This MCP server specifically interacts with Gamma’s API to bring this presentation generation capability into environments like Claude for Desktop. Check out the Gamma API docs to learn more.

What We’ll Be Building

This server exposes a tool to an MCP client (like Claude for Desktop) that can take a prompt and various parameters to generate a presentation using the Gamma API. The server will return a link to the generated presentation.

Core MCP Concepts

Model Context Protocol servers can provide three main types of capabilities:

  • Resources: File-like data that can be read by clients (like API responses or file contents).
  • Tools: Functions that can be called by the LLM (with user approval).
  • Prompts: Pre-written templates that help users accomplish specific tasks.

This server primarily focuses on providing a Tool.

Prerequisite Knowledge

This quickstart assumes you have familiarity with:

  • Node.js and TypeScript.
  • LLMs like Anthropic’s Claude.
  • Basic command-line usage.

System Requirements

  • Node.js (v16 or higher recommended).
  • npm (Node Package Manager) or yarn.
  • Access to the Gamma API. You’ll need an API key, don’t have one? Check out the Gamma API docs to get one.

Set Up Your Environment

  1. Clone the Repository / Get the Code: If this project is in a Git repository, clone it:

    git clone [email protected]:gamma-app/gamma-mcp-server.git
    cd gamma-mcp-server
    
  2. Initialize Your Node.js Project (if not cloned): If you created a new directory, initialize a package.json file:

    npm init -y
    
  3. Install Dependencies: You’ll need the MCP SDK, Zod for validation, node-fetch for API calls, TypeScript, and ts-node to run TypeScript directly.

    npm install @modelcontextprotocol/sdk zod node-fetch typescript ts-node @types/node
    # or
    # yarn add @modelcontextprotocol/sdk zod node-fetch typescript ts-node @types/node
    
  4. Configure TypeScript:

Открыть полный README на GitHub

Установка

npx ts-node // If command is 'npx' // If command is absolute path to node: // "/PATH/TO/gamma-mcp-server/node_modules/ts-node/dist/bin.js src/index.ts
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "gamma-presentation-generator": { "command": "npx", // Or absolute path to npx, or node "args": [ "ts-node", // If command is 'npx' // If command is absolute path to node: // "/PATH/TO/gamma-mcp-server/node_modules/ts-node/dist/bin.js", "src/index.ts" ], "cwd": "/ABSOLUTE/PATH/TO/YOUR/gamma-mcp-server" // Current Working Directory for the server } } }