KosmoKrator

meetings

Granola MCP Integration for LangChain

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

5 functions 3 read 2 write API key auth

Connect Granola 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.

Granola MCP Config for LangChain

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

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

Run the Gateway Manually

kosmokrator mcp:serve --integration=granola --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Granola 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.

Granola Tools Visible to LangChain

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

MCP toolSource functionTypeDescription
integration__granola__granola_list_meetings granola.granola_list_meetings Read List recent meetings from Granola. Returns meeting titles, dates, participants, and summaries. Supports search by query and date filtering.
integration__granola__granola_get_meeting granola.granola_get_meeting Read Get a single meeting from Granola by ID. Returns the full meeting details including transcript, summary, notes, and participant list.
integration__granola__granola_create_note granola.granola_create_note Write Create a note on a Granola meeting. Use this to add follow-up notes, action items, or comments to a meeting.
integration__granola__granola_share_meeting granola.granola_share_meeting Write Share a Granola meeting with other people. Specify email addresses of recipients and an optional message.
integration__granola__granola_get_current_user granola.granola_get_current_user Read Get the profile of the currently authenticated Granola user. Returns name, email, and account details.

Related Granola Pages