KosmoKrator

productivity

Buy Me a Coffee CLI for AI Agents

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

7 functions 7 read 0 write Bearer token auth

Buy Me a Coffee CLI Setup

Buy Me a Coffee can be configured headlessly with `kosmokrator integrations:configure buymeacoffee`.

# 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 buymeacoffee --set access_token="$BUYMEACOFFEE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor buymeacoffee --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 BUYMEACOFFEE_ACCESS_TOKEN Secret secret yes Access Token
url BUYMEACOFFEE_URL URL url no API Base URL

Call Buy Me a Coffee Headlessly

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

kosmo integrations:call buymeacoffee.buymeacoffee_list_supporters '{
  "page": 1
}' --json

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

kosmo integrations:buymeacoffee buymeacoffee_list_supporters '{
  "page": 1
}' --json

Agent Discovery Commands

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

kosmo integrations:docs buymeacoffee --json
kosmo integrations:docs buymeacoffee.buymeacoffee_list_supporters --json
kosmo integrations:schema buymeacoffee.buymeacoffee_list_supporters --json
kosmo integrations:search "Buy Me a Coffee" --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 Buy Me a Coffee.

buymeacoffee.buymeacoffee_list_supporters

Read read

List all supporters in your Buy Me a Coffee account. Returns supporter names, emails, support amounts, and dates.

Parameters
page

Generic CLI call

kosmo integrations:call buymeacoffee.buymeacoffee_list_supporters '{"page":1}' --json

Provider shortcut

kosmo integrations:buymeacoffee buymeacoffee_list_supporters '{"page":1}' --json

buymeacoffee.buymeacoffee_get_supporter

Read read

Get detailed information about a single Buy Me a Coffee supporter by their ID. Returns full supporter data including support history and notes.

Parameters
supporter_id

Generic CLI call

kosmo integrations:call buymeacoffee.buymeacoffee_get_supporter '{"supporter_id":"example_supporter_id"}' --json

Provider shortcut

kosmo integrations:buymeacoffee buymeacoffee_get_supporter '{"supporter_id":"example_supporter_id"}' --json

buymeacoffee.buymeacoffee_list_subscriptions

Read read

List all active recurring subscriptions in your Buy Me a Coffee account. Returns subscriber details, amounts, and status.

Parameters
page

Generic CLI call

kosmo integrations:call buymeacoffee.buymeacoffee_list_subscriptions '{"page":1}' --json

Provider shortcut

kosmo integrations:buymeacoffee buymeacoffee_list_subscriptions '{"page":1}' --json

buymeacoffee.buymeacoffee_list_extras

Read read

List all extras (additional purchase options) in your Buy Me a Coffee account. Returns extra names, descriptions, and pricing.

Parameters
page

Generic CLI call

kosmo integrations:call buymeacoffee.buymeacoffee_list_extras '{"page":1}' --json

Provider shortcut

kosmo integrations:buymeacoffee buymeacoffee_list_extras '{"page":1}' --json

buymeacoffee.buymeacoffee_get_extra

Read read

Get detailed information about a single Buy Me a Coffee extra by its ID. Returns full extra data including description, pricing, and purchase count.

Parameters
extra_id

Generic CLI call

kosmo integrations:call buymeacoffee.buymeacoffee_get_extra '{"extra_id":"example_extra_id"}' --json

Provider shortcut

kosmo integrations:buymeacoffee buymeacoffee_get_extra '{"extra_id":"example_extra_id"}' --json

buymeacoffee.buymeacoffee_list_shops

Read read

List all shop items in your Buy Me a Coffee account. Returns shop item names, descriptions, prices, and availability.

Parameters
page

Generic CLI call

kosmo integrations:call buymeacoffee.buymeacoffee_list_shops '{"page":1}' --json

Provider shortcut

kosmo integrations:buymeacoffee buymeacoffee_list_shops '{"page":1}' --json

buymeacoffee.buymeacoffee_get_current_user

Read read

Get the profile of the currently authenticated Buy Me a Coffee user. Useful to verify the connection and see account details.

Parameters
none

Generic CLI call

kosmo integrations:call buymeacoffee.buymeacoffee_get_current_user '{}' --json

Provider shortcut

kosmo integrations:buymeacoffee buymeacoffee_get_current_user '{}' --json

Function Schemas

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

buymeacoffee.buymeacoffee_list_supporters

List all supporters in your Buy Me a Coffee account. Returns supporter names, emails, support amounts, and dates.

Operation
Read read
Schema command
kosmo integrations:schema buymeacoffee.buymeacoffee_list_supporters --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).

buymeacoffee.buymeacoffee_get_supporter

Get detailed information about a single Buy Me a Coffee supporter by their ID. Returns full supporter data including support history and notes.

Operation
Read read
Schema command
kosmo integrations:schema buymeacoffee.buymeacoffee_get_supporter --json
ParameterTypeRequiredDescription
supporter_id string yes The ID of the supporter to retrieve.

buymeacoffee.buymeacoffee_list_subscriptions

List all active recurring subscriptions in your Buy Me a Coffee account. Returns subscriber details, amounts, and status.

Operation
Read read
Schema command
kosmo integrations:schema buymeacoffee.buymeacoffee_list_subscriptions --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).

buymeacoffee.buymeacoffee_list_extras

List all extras (additional purchase options) in your Buy Me a Coffee account. Returns extra names, descriptions, and pricing.

Operation
Read read
Schema command
kosmo integrations:schema buymeacoffee.buymeacoffee_list_extras --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).

buymeacoffee.buymeacoffee_get_extra

Get detailed information about a single Buy Me a Coffee extra by its ID. Returns full extra data including description, pricing, and purchase count.

Operation
Read read
Schema command
kosmo integrations:schema buymeacoffee.buymeacoffee_get_extra --json
ParameterTypeRequiredDescription
extra_id string yes The ID of the extra to retrieve.

buymeacoffee.buymeacoffee_list_shops

List all shop items in your Buy Me a Coffee account. Returns shop item names, descriptions, prices, and availability.

Operation
Read read
Schema command
kosmo integrations:schema buymeacoffee.buymeacoffee_list_shops --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).

buymeacoffee.buymeacoffee_get_current_user

Get the profile of the currently authenticated Buy Me a Coffee user. Useful to verify the connection and see account details.

Operation
Read read
Schema command
kosmo integrations:schema buymeacoffee.buymeacoffee_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.