KosmoKrator

productivity

Patreon MCP Integration for LangChain

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

Patreon MCP Config for LangChain

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

{
  "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 LangChain

LangChain 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