productivity
Patreon CLI for Shell Scripts
Use the Patreon CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Patreon CLI for Shell Scripts
Call integration functions from shell scripts with stable JSON input and output.
Use shell scripts for small local automations that need one or more integration calls. The Patreon CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Patreon CLI for Shell Scripts
kosmokrator integrations:configure patreon --set access_token="$PATREON_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call patreon.patreon_list_campaigns '{}' --json Discovery Before Execution
Agents and scripts can inspect Patreon docs and schemas 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 Useful Patreon CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
patreon.patreon_list_campaigns | Read | none | List all campaigns for the authenticated Patreon creator. Returns campaign IDs, names, descriptions, and patron counts. |
patreon.patreon_get_campaign | Read | campaign_id | Get detailed information about a single Patreon campaign by its ID. Returns full campaign data including description, patron count, and creation date. |
patreon.patreon_list_members | Read | campaign_id | List members (patrons) for a Patreon campaign. Returns member IDs, names, email addresses, pledge amounts, and patron status. |
patreon.patreon_get_member | Read | member_id | Get detailed information about a single Patreon member by their ID. Returns member data including pledge details, patron status, and tier information. |
patreon.patreon_list_posts | Read | campaign_id | List posts for a Patreon campaign. Returns post IDs, titles, publication dates, and content metadata. |
patreon.patreon_get_post | Read | post_id | Get detailed information about a single Patreon post by its ID. Returns full post data including title, content, publish date, and tier access. |
patreon.patreon_get_current_user | Read | none | Get the profile of the currently authenticated Patreon user. Useful to verify the connection and see account details. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.