NG

nickloveinvesting/gamma-mcpserver

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

22 stars 10 forks 品質 55 トレンド 0

このドキュメントでは、Gamma MCP (Model Context Protocol) サーバの設定と実行をすることで、Gamma API を直接 MCP クライアントから直接生成することができます.

概要

このドキュメントでは、Gamma MCP (Model Context Protocol) サーバの設定と実行を行い、Gamma API を使用して、Anthropic の Claude for Desktop のような MCP クライアントから直接プレゼンテーションを生成することができます。 Gammaは、ユーザーにさまざまな種類のコンテンツを作成するのに役立つAIを搭載したプラットフォームです。 人工知能を活用し、スライドを自動的に生成し、テキストを提案し、イメージを組み込むことで、単純なプロンプトや既存の文書から洗練されたプレゼンテーションを迅速に開発できます。 このMCPサーバーはGammaのAPIと連携し、このプレゼンテーション生成機能をデスクトップ向けClaudeのような環境に持ち込むことができます。 詳しい情報はGamma API ドキュメントをご覧ください。 このサーバーは、Gamma APIを使用してプレゼンテーションを生成するために、プロンプトとさまざまなパラメータを取ることができるMCPクライアント(デスクトップ用のClaudeのような)にツールを公開します。 サーバは生成されたプレゼンテーションへのリンクを返します.

概要(AI 翻訳)

このドキュメントでは、Gamma MCP (Model Context Protocol) サーバの設定と実行を行い、Gamma API を使用して、Anthropic の Claude for Desktop のような MCP クライアントから直接プレゼンテーションを生成することができます。

ガンマとは?

Gammaは、ユーザーにさまざまな種類のコンテンツを作成するのに役立つAIを搭載したプラットフォームです。 人工知能を活用し、スライドを自動的に生成し、テキストを提案し、イメージを組み込むことで、単純なプロンプトや既存の文書から洗練されたプレゼンテーションを迅速に開発できます。 このMCPサーバーはGammaのAPIと連携し、このプレゼンテーション生成機能をデスクトップ向けClaudeのような環境に持ち込むことができます。 詳しい情報はGamma API ドキュメントをご覧ください。

建設するべきこと

このサーバーは、Gamma APIを使用してプレゼンテーションを生成するために、プロンプトとさまざまなパラメータを取ることができるMCPクライアント(デスクトップ用のClaudeのような)にツールを公開します。 サーバは生成されたプレゼンテーションへのリンクを返します。

コア MCP コンセプト

モデル コンテキスト プロトコル サーバーは 3 つの主要な機能を提供できます:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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:

GitHub で README 全文を見る

インストール

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 } } }