MG

matteoantoci/google-slides-mcp

Developer tools

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

190 stars 49 forks Качество 64 Тренд 25NOASSERTION

matteoantoci/google-slides-mcp — это кандидат на сервер MCP, импортированный из https://github.com/matteoantoci/google-slides-mcp.

Обзор

matteoantoci/google-slides-mcp — это кандидат на сервер MCP, импортированный из https://github.com/matteoantoci/google-slides-mcp.

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

Этот процесс является MCP-сервером для API Google Slides. Хост общается с ним через stdio. Первый запуск открывает браузер. Вы вставляете идентификатор клиента Desktop и секрет клиента. Следует одобрение Google. Позже запускается чтение магазина токенов.

Предварительные требования

  • Node.js 20 лет и позже
  • Проект Google Cloud с включённым API Google Slides
  • Идентификатор клиента OAuth Desktop и секрет клиента

Вам не нужен токен обновления. Вам не нужен окружающий процесс.

Код Клода

  1. Создайте клиент Desktop OAuth. Используйте шаги платформы Google Auth ниже.

  2. Запуск в Claude Code:

  3. Беги /reload-plugins, если Клод попросит.

  4. Первый запуск открывает браузер. Вставьте идентификатор клиента и секрет клиента. Завершите Google Consent.

В более поздних сессиях читается магазин токенов. Нет хоста JSON. Нет окружающей среды.

Другие ведущие

  1. Клонируйте этот репозиторий.
  2. Run npm install.
  3. Бегать npm run build.
  4. Создайте клиент Desktop OAuth в Google Cloud Console:
  • Открыть платформу Google Auth.
  • Если на странице указано, что платформа не настроена, нажмите Начать.
  • Название приложения: Google Slides MCP. Электронная почта поддержки пользователей: ваш адрес.
  • Зрители: Внешний.
  • Контактная электронная почта: ваш адрес. Согласитесь с политикой. Нажмите Создать.
  • Открытая аудитория.

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

README

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

Google Slides MCP Server

This process is an MCP server for the Google Slides API. A host talks to it on stdio. The first start opens a browser. You paste a Desktop client id and client secret. Google consent follows. Later starts read the token store.

Prerequisites

  • Node.js 20 or later
  • A Google Cloud project with the Google Slides API enabled
  • An OAuth Desktop client id and client secret

You do not need a refresh token. You do not need process env.

Claude Code

  1. Create a Desktop OAuth client. Use the Google Auth platform steps below.
  2. In Claude Code run:
/plugin marketplace add matteoantoci/claude-plugins
/plugin install google-slides-mcp@matteoantoci-plugins
  1. Run /reload-plugins if Claude asks.
  2. The first start opens a browser. Paste the client id and the client secret. Finish Google consent.

Later sessions read the token store. No host JSON. No env.

Other hosts

  1. Clone this repository.
  2. Run npm install.
  3. Run npm run build.
  4. Create a Desktop OAuth client in Google Cloud Console:
    • Open Google Auth platform.
    • If the page says the platform is not configured, click Get Started.
    • App name: Google Slides MCP. User support email: your address.
    • Audience: External.
    • Contact email: your address. Agree to the policy. Click Create.
    • Open Audience. Add your Gmail as a test user.
    • Open Data Access. Add https://www.googleapis.com/auth/presentations and https://www.googleapis.com/auth/drive.readonly. Save.
    • Open Clients. Click Create Client. Application type: Desktop app. Name: Google Slides MCP Desktop. Click Create.
    • Copy the client id and the client secret.
  5. Run npm run start. Paste the client id and the client secret. Finish Google consent. Then stop the process.
  6. Point the host at node /path/to/google-slides-mcp/build/index.js. Do not set env.

Example host config:

"google-slides-mcp": {
  "transportType": "stdio",
  "command": "node",
  "args": [
    "/path/to/google-slides-mcp/build/index.js"
  ]
}

Replace the path with the compiled build/index.js on your machine.

First start

The process opens a loopback page.

  • If the store has no client id or client secret, paste those two values.
  • Continue to Google consent.
  • Close the success page.

The process writes the Google credential to the token store. It tries the OS keychain first. It uses ~/.config/google-slides-mcp/credential.json if the keychain is not available. File mode is 0600.

Later starts use the store. No browser.

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

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →