# BTCPay Server

BTCPay Server is a free, open-source, self-hosted Bitcoin payment processor that enables merchants to accept Bitcoin payments without intermediaries.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**BTCPay Server** authenticates with an API key. Generate the credential in your BTCPay Server account, then paste it into FlyMyAI the first time an agent uses a BTCPay Server action.

[Get your BTCPay Server credential →](https://docs.btcpayserver.org/CustomIntegration)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `BTCPay Server URL` | The base URL of your BTCPay Server instance, e.g., 'mainnet.demo.btcpayserver.org'. (Do not include protocol) _(required)_ |
| `Store ID` | The ID of the store you want to access, found under 'Settings' -&gt; 'General' in your BTCPay Server. (Optional for most endpoints, but required for store-specific calls.) |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `BTCPAY_SERVER_CREATE_PAYMENT_REQUEST` | Tool to create a new payment request for a store. use after confirming store id. | `storeId`, `title`, `amount`, `currency` |
| `BTCPAY_SERVER_CREATE_STORE` | Tool to create a new store in btcpay server. use when you need to provision a new store before processing transactions. | `name` |
| `BTCPAY_SERVER_CREATE_USER` | Tool to create a new btcpay server user. use when you need to register a new user programmatically as an administrator. | `email`, `password` |
| `BTCPAY_SERVER_CREATE_WEBHOOK` | Tool to register a new webhook. use when you need to receive store event notifications. | `storeId`, `url`, `authorizedEvents` |
| `BTCPAY_SERVER_DELETE_API_KEY` | Tool to revoke a specific api key. use when you need to remove an api key to immediately prevent its use. call after identifying the key to revoke. | `apikey` |
| `BTCPAY_SERVER_DELETE_PAYMENT_REQUEST` | Tool to delete a specific payment request. use when you need to archive/remove an existing payment request for a store. | `storeId`, `paymentRequestId` |
| `BTCPAY_SERVER_DELETE_PAYOUT` | Tool to delete a specific payout from a store. use when you need to cancel a payout no longer needed. | `storeId`, `payoutId` |
| `BTCPAY_SERVER_GET_API_KEY` | Tool to retrieve the current api key. use after authentication to get api key details. | - |
| `BTCPAY_SERVER_GET_API_KEYS` | Tool to list api keys. use when you need to retrieve all api keys associated with the authenticated user. | - |
| `BTCPAY_SERVER_GET_PAYMENT_REQUESTS` | Tool to list all payment requests for a specific store. use after confirming you have the store id. | `store_id` |
| `BTCPAY_SERVER_GET_SERVER_INFO` | Tool to retrieve information about the btcpay server instance. use when needing server version, tor address, supported payment methods, and synchronization states. | - |
| `BTCPAY_SERVER_GET_STORE` | Tool to retrieve information about a specific store. use when you need full store configuration. | `store_id` |
| `BTCPAY_SERVER_GET_USER` | Tool to retrieve information about a specific user. use when you need to fetch profile data for a given user id or email. | `id_or_email` |
| `BTCPAY_SERVER_GET_WEBHOOK` | Tool to retrieve details of a specific webhook. use when you need to verify the configuration or status of a webhook for a given store after its creation. | `storeId`, `webhookId` |
| `BTCPAY_SERVER_GET_WEBHOOKS` | Tool to list all webhooks registered for a store. use when you need to retrieve the configured webhooks for management or auditing. | `storeId` |
| `BTCPAY_SERVER_LIST_APPS` | Tool to list all apps associated with a specific store. use when retrieving basic metadata of every app in that store. | `storeId` |
| `BTCPAY_SERVER_UPDATE_USER` | Tool to update current user information. use when you need to modify your authenticated user profile on btcpay server. | - |

## Links

- [BTCPay Server website](https://btcpayserver.org/)
- [Get API key / credential](https://docs.btcpayserver.org/CustomIntegration)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
