Buy Me a Coffee (read-only)
v0.1.2Read your own Buy Me a Coffee supporters, Extras purchases, memberships and totals.
Values you need
| Variable | What it is | |
|---|---|---|
BMAC_TOKEN | required secret | Buy Me a Coffee personal access token (read-only API). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add buymeacoffee-mcp -e 'BMAC_TOKEN=<BMAC_TOKEN>' -- npx -y buymeacoffee-mcp@0.1.2Add to
claude_desktop_config.json{
"mcpServers": {
"buymeacoffee-mcp": {
"args": [
"-y",
"buymeacoffee-mcp@0.1.2"
],
"command": "npx",
"env": {
"BMAC_TOKEN": "<BMAC_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"buymeacoffee-mcp": {
"args": [
"-y",
"buymeacoffee-mcp@0.1.2"
],
"command": "npx",
"env": {
"BMAC_TOKEN": "<BMAC_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "BMAC_TOKEN",
"id": "bmac-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"buymeacoffee-mcp": {
"args": [
"-y",
"buymeacoffee-mcp@0.1.2"
],
"command": "npx",
"env": {
"BMAC_TOKEN": "${input:bmac-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.buymeacoffee-mcp]
command = "npx"
args = ["-y", "buymeacoffee-mcp@0.1.2"]
env = { "BMAC_TOKEN" = "<BMAC_TOKEN>" }For AI agents
- Ask the user for: BMAC_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_supporters, list_extra_purchases, list_subscriptions, summary.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json