KosmoKrator

meetings

Granola MCP Integration for Vercel AI SDK

Connect Granola to Vercel AI SDK 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Granola MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI SDK 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