Skip to main content

Google Slides MCP Server for managing presentations via the Model Context Protocol

Project description

Google Slides MCP Server

An MCP server for managing Google Slides presentations, integrating seamlessly with AI assistants using the Model Context Protocol.

Features

  • List Presentations: Search and list presentations via Drive API.
  • Get Presentation: Retrieve full presentation structure (slides, shapes, text).
  • Create Presentation: Create new presentations.
  • Batch Update: Modify presentations (add slides, edit content).
  • Page Details: Get specific slide content.
  • Thumbnails: Generate thumbnail URLs for slides.

Installation

Prerequisites

  • Python 3.9 or higher.
  • A Google Cloud Project with the Slides and Drive APIs enabled.
  • OAuth2 credentials (Client ID and Client Secret).

Local Setup

  1. Install dependencies:

    pip install -e .
    
  2. Run the server:

    python main.py --access-token <TOKEN> --refresh-token <REFRESH_TOKEN> --client-id <CLIENT_ID> --client-secret <CLIENT_SECRET>
    

Configuration

Add the following to your MCP host configuration (e.g., mcp-config.json):

{
  "mcpServers": {
    "barie-google-slides-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "/path/to/google_slides",
        "barie-google-slides-mcp",
        "--access-token",
        "YOUR_ACCESS_TOKEN",
        "--refresh-token",
        "YOUR_REFRESH_TOKEN",
        "--client-id",
        "YOUR_CLIENT_ID",
        "--client-secret",
        "YOUR_CLIENT_SECRET"
      ]
    }
  }
}

Tools

  • list_presentations: Search and list presentations.
  • get_presentation: Get presentation content.
  • create_presentation: Create a new presentation.
  • batch_update_presentation: Update presentation structure/content.
  • get_page: Get specific slide content.
  • get_page_thumbnail: Get thumbnail URL for a slide.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

barie_google_slides_mcp-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

barie_google_slides_mcp-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file barie_google_slides_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: barie_google_slides_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for barie_google_slides_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dd0cf4a112a8539b7ede9482e631cb293c9263258bc039c98148eda5791079b4
MD5 114fc0a6a24f2f37b450b9e3f5029f24
BLAKE2b-256 17cf0e15471d1f7c623d85043fbe13e6d6f04d5fbe1f7427ca2fd759aea248f5

See more details on using hashes here.

File details

Details for the file barie_google_slides_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for barie_google_slides_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fd4ba2ca0e319b00be7c6632b589d8695e44b17017a72fb16a722fd414c8c7a
MD5 bacbafef4de44eb8868c94d0eb883ec6
BLAKE2b-256 519de5e031e1d942bfa4132471054895b9a7a3a39822a4073b467de497e17f62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page