KosmoKrator

productivity

Patreon MCP Integration for Vercel AI SDK

Connect Patreon to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

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

Patreon MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Patreon Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Patreon integration catalog.

MCP toolSource functionTypeDescription
integration__patreon__patreon_list_campaigns patreon.patreon_list_campaigns Read List all campaigns for the authenticated Patreon creator. Returns campaign IDs, names, descriptions, and patron counts.
integration__patreon__patreon_get_campaign patreon.patreon_get_campaign Read Get detailed information about a single Patreon campaign by its ID. Returns full campaign data including description, patron count, and creation date.
integration__patreon__patreon_list_members patreon.patreon_list_members Read List members (patrons) for a Patreon campaign. Returns member IDs, names, email addresses, pledge amounts, and patron status.
integration__patreon__patreon_get_member patreon.patreon_get_member Read Get detailed information about a single Patreon member by their ID. Returns member data including pledge details, patron status, and tier information.
integration__patreon__patreon_list_posts patreon.patreon_list_posts Read List posts for a Patreon campaign. Returns post IDs, titles, publication dates, and content metadata.
integration__patreon__patreon_get_post patreon.patreon_get_post Read Get detailed information about a single Patreon post by its ID. Returns full post data including title, content, publish date, and tier access.
integration__patreon__patreon_get_current_user patreon.patreon_get_current_user Read Get the profile of the currently authenticated Patreon user. Useful to verify the connection and see account details.

Related Patreon Pages