productivity
Buy Me a Coffee CLI for Coding Agents
Use the Buy Me a Coffee CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Buy Me a Coffee CLI for Coding Agents
Let coding agents discover schemas and execute integration functions through CLI commands or MCP.
Use this pattern when another coding agent needs exact commands and schema discovery. The Buy Me a Coffee CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Buy Me a Coffee CLI for Coding Agents
kosmokrator integrations:configure buymeacoffee --set access_token="$BUYMEACOFFEE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call buymeacoffee.buymeacoffee_list_supporters '{"page":1}' --json Discovery Before Execution
Agents and scripts can inspect Buy Me a Coffee docs and schemas 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 Useful Buy Me a Coffee CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
buymeacoffee.buymeacoffee_list_supporters | Read | page | List all supporters in your Buy Me a Coffee account. Returns supporter names, emails, support amounts, and dates. |
buymeacoffee.buymeacoffee_get_supporter | Read | supporter_id | Get detailed information about a single Buy Me a Coffee supporter by their ID. Returns full supporter data including support history and notes. |
buymeacoffee.buymeacoffee_list_subscriptions | Read | page | List all active recurring subscriptions in your Buy Me a Coffee account. Returns subscriber details, amounts, and status. |
buymeacoffee.buymeacoffee_list_extras | Read | page | List all extras (additional purchase options) in your Buy Me a Coffee account. Returns extra names, descriptions, and pricing. |
buymeacoffee.buymeacoffee_get_extra | Read | extra_id | Get detailed information about a single Buy Me a Coffee extra by its ID. Returns full extra data including description, pricing, and purchase count. |
buymeacoffee.buymeacoffee_list_shops | Read | page | List all shop items in your Buy Me a Coffee account. Returns shop item names, descriptions, prices, and availability. |
buymeacoffee.buymeacoffee_get_current_user | Read | none | Get the profile of the currently authenticated Buy Me a Coffee 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.