KosmoKrator

productivity

Patreon CLI for AI Agents

Use the Patreon CLI from KosmoKrator to call Patreon tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 7 read 0 write Bearer token auth

Patreon CLI Setup

Patreon can be configured headlessly with `kosmokrator integrations:configure patreon`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure patreon --set access_token="$PATREON_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor patreon --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token PATREON_ACCESS_TOKEN Secret secret yes Access Token
url PATREON_URL URL url no API Base URL

Call Patreon Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call patreon.patreon_list_campaigns '{}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:patreon patreon_list_campaigns '{}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs patreon --json
kosmo integrations:docs patreon.patreon_list_campaigns --json
kosmo integrations:schema patreon.patreon_list_campaigns --json
kosmo integrations:search "Patreon" --json
kosmo integrations:list --json

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Patreon.

patreon.patreon_list_campaigns

Read read

List all campaigns for the authenticated Patreon creator. Returns campaign IDs, names, descriptions, and patron counts.

Parameters
none

Generic CLI call

kosmo integrations:call patreon.patreon_list_campaigns '{}' --json

Provider shortcut

kosmo integrations:patreon patreon_list_campaigns '{}' --json

patreon.patreon_get_campaign

Read read

Get detailed information about a single Patreon campaign by its ID. Returns full campaign data including description, patron count, and creation date.

Parameters
campaign_id

Generic CLI call

kosmo integrations:call patreon.patreon_get_campaign '{"campaign_id":"example_campaign_id"}' --json

Provider shortcut

kosmo integrations:patreon patreon_get_campaign '{"campaign_id":"example_campaign_id"}' --json

patreon.patreon_list_members

Read read

List members (patrons) for a Patreon campaign. Returns member IDs, names, email addresses, pledge amounts, and patron status.

Parameters
campaign_id

Generic CLI call

kosmo integrations:call patreon.patreon_list_members '{"campaign_id":"example_campaign_id"}' --json

Provider shortcut

kosmo integrations:patreon patreon_list_members '{"campaign_id":"example_campaign_id"}' --json

patreon.patreon_get_member

Read read

Get detailed information about a single Patreon member by their ID. Returns member data including pledge details, patron status, and tier information.

Parameters
member_id

Generic CLI call

kosmo integrations:call patreon.patreon_get_member '{"member_id":"example_member_id"}' --json

Provider shortcut

kosmo integrations:patreon patreon_get_member '{"member_id":"example_member_id"}' --json

patreon.patreon_list_posts

Read read

List posts for a Patreon campaign. Returns post IDs, titles, publication dates, and content metadata.

Parameters
campaign_id

Generic CLI call

kosmo integrations:call patreon.patreon_list_posts '{"campaign_id":"example_campaign_id"}' --json

Provider shortcut

kosmo integrations:patreon patreon_list_posts '{"campaign_id":"example_campaign_id"}' --json

patreon.patreon_get_post

Read read

Get detailed information about a single Patreon post by its ID. Returns full post data including title, content, publish date, and tier access.

Parameters
post_id

Generic CLI call

kosmo integrations:call patreon.patreon_get_post '{"post_id":"example_post_id"}' --json

Provider shortcut

kosmo integrations:patreon patreon_get_post '{"post_id":"example_post_id"}' --json

patreon.patreon_get_current_user

Read read

Get the profile of the currently authenticated Patreon user. Useful to verify the connection and see account details.

Parameters
none

Generic CLI call

kosmo integrations:call patreon.patreon_get_current_user '{}' --json

Provider shortcut

kosmo integrations:patreon patreon_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

patreon.patreon_list_campaigns

List all campaigns for the authenticated Patreon creator. Returns campaign IDs, names, descriptions, and patron counts.

Operation
Read read
Schema command
kosmo integrations:schema patreon.patreon_list_campaigns --json
ParameterTypeRequiredDescription
No parameters.

patreon.patreon_get_campaign

Get detailed information about a single Patreon campaign by its ID. Returns full campaign data including description, patron count, and creation date.

Operation
Read read
Schema command
kosmo integrations:schema patreon.patreon_get_campaign --json
ParameterTypeRequiredDescription
campaign_id string yes The ID of the campaign to retrieve.

patreon.patreon_list_members

List members (patrons) for a Patreon campaign. Returns member IDs, names, email addresses, pledge amounts, and patron status.

Operation
Read read
Schema command
kosmo integrations:schema patreon.patreon_list_members --json
ParameterTypeRequiredDescription
campaign_id string yes The ID of the campaign to list members for.

patreon.patreon_get_member

Get detailed information about a single Patreon member by their ID. Returns member data including pledge details, patron status, and tier information.

Operation
Read read
Schema command
kosmo integrations:schema patreon.patreon_get_member --json
ParameterTypeRequiredDescription
member_id string yes The ID of the member to retrieve.

patreon.patreon_list_posts

List posts for a Patreon campaign. Returns post IDs, titles, publication dates, and content metadata.

Operation
Read read
Schema command
kosmo integrations:schema patreon.patreon_list_posts --json
ParameterTypeRequiredDescription
campaign_id string yes The ID of the campaign to list posts for.

patreon.patreon_get_post

Get detailed information about a single Patreon post by its ID. Returns full post data including title, content, publish date, and tier access.

Operation
Read read
Schema command
kosmo integrations:schema patreon.patreon_get_post --json
ParameterTypeRequiredDescription
post_id string yes The ID of the post to retrieve.

patreon.patreon_get_current_user

Get the profile of the currently authenticated Patreon user. Useful to verify the connection and see account details.

Operation
Read read
Schema command
kosmo integrations:schema patreon.patreon_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.