KosmoKrator

productivity

Google Slides MCP Integration for LangChain

Connect Google Slides to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 5 read 2 write Manual OAuth token auth

Connect Google Slides to LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Google Slides MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "mcpServers": {
    "kosmokrator-google-slides": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=google-slides",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=google-slides --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Google Slides instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Google Slides Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Google Slides integration catalog.

MCP toolSource functionTypeDescription
integration__google_slides__gslides_list_presentations google-slides.gslides_list_presentations Read List Google Slides presentations from the user's Drive. Returns presentation IDs, titles, and metadata.
integration__google_slides__gslides_get_presentation google-slides.gslides_get_presentation Read Get full details of a specific Google Slides presentation, including all slides, page elements, and layout information.
integration__google_slides__gslides_create_presentation google-slides.gslides_create_presentation Write Create a new, blank Google Slides presentation with a given title.
integration__google_slides__gslides_list_slides google-slides.gslides_list_slides Read List all slides in a Google Slides presentation. Returns slide object IDs and thumbnails.
integration__google_slides__gslides_get_slide google-slides.gslides_get_slide Read Get details of a specific slide (page) in a Google Slides presentation, including all page elements and their properties.
integration__google_slides__gslides_create_slide google-slides.gslides_create_slide Write Add a new slide to an existing Google Slides presentation. Optionally add text boxes and shapes to the new slide.
integration__google_slides__gslides_get_current_user google-slides.gslides_get_current_user Read Get the authenticated Google user's profile information (display name, email, photo).

Related Google Slides Pages