productivity
Buy Me a Coffee MCP Integration for Claude Agent SDK
Connect Buy Me a Coffee to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Buy Me a Coffee to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Buy Me a Coffee MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"mcpServers": {
"kosmokrator-buymeacoffee": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=buymeacoffee",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=buymeacoffee --write=deny Why Use KosmoKrator Here
Expose only Buy Me a Coffee instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Buy Me a Coffee Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the Buy Me a Coffee integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__buymeacoffee__buymeacoffee_list_supporters | buymeacoffee.buymeacoffee_list_supporters | Read | List all supporters in your Buy Me a Coffee account. Returns supporter names, emails, support amounts, and dates. |
integration__buymeacoffee__buymeacoffee_get_supporter | buymeacoffee.buymeacoffee_get_supporter | Read | Get detailed information about a single Buy Me a Coffee supporter by their ID. Returns full supporter data including support history and notes. |
integration__buymeacoffee__buymeacoffee_list_subscriptions | buymeacoffee.buymeacoffee_list_subscriptions | Read | List all active recurring subscriptions in your Buy Me a Coffee account. Returns subscriber details, amounts, and status. |
integration__buymeacoffee__buymeacoffee_list_extras | buymeacoffee.buymeacoffee_list_extras | Read | List all extras (additional purchase options) in your Buy Me a Coffee account. Returns extra names, descriptions, and pricing. |
integration__buymeacoffee__buymeacoffee_get_extra | buymeacoffee.buymeacoffee_get_extra | 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. |
integration__buymeacoffee__buymeacoffee_list_shops | buymeacoffee.buymeacoffee_list_shops | Read | List all shop items in your Buy Me a Coffee account. Returns shop item names, descriptions, prices, and availability. |
integration__buymeacoffee__buymeacoffee_get_current_user | buymeacoffee.buymeacoffee_get_current_user | Read | Get the profile of the currently authenticated Buy Me a Coffee user. Useful to verify the connection and see account details. |