# Ko-fi — how to use (mcp.ai)

Connect your Ko-fi account and use 1 tools for fundraising straight from your AI agent. Connect with your own API key. Ko-fi is a platform that enables creators to receive support from their audience through donations, memberships, and sales.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_ko_fi?ms=1787295900000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `ko_fi_payment_webhook_post`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/ko_fi`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/ko_fi/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/ko_fi/payment/webhook/post` — Receives and validates Ko-fi payment webhook events. Use this to process real-time notifications for donations, subscriptions, commissions, and shop orders from Ko-fi. The webhook includes payment det
  - body: { data: object }

## Example prompts
- "What can I do in Ko-fi?"
- "Show me a summary of my Ko-fi account"

## More
- Page: https://mcp.ai/ko_fi
- Agent spec (llms.txt): https://mcp.ai/ko_fi/llms.txt
- Postman collection: https://mcp.ai/ko_fi/postman.json
