productivity
Buy Me a Coffee MCP Integration for LangChain
Connect Buy Me a Coffee to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Buy Me a Coffee to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Buy Me a Coffee MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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 LangChain
LangChain 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. |