Bitrefill

by bitrefill

3 stars
519 downloads
Not rated
GitHub Website

About

Integrates with Bitrefill's platform to search and retrieve information about gift cards, mobile refills, eSIMs, and digital services available for cryptocurrency purchases.

Details

Author
bitrefill
Repository
bitrefill/bitrefill-mcp-server
GitHub stars
3
Downloads
519
License
MIT License
Categories
Other, AI, Design, Developer Tools, Search, Infrastructure, API, Knowledge Base

- Wraps 18 Bitrefill v2 API endpoints as MCP tools
- Input validation via Zod schemas
- Includes resources for allowed payment methods, categories, and product types
- Supports self-hosting for private or air‑gapped environments
- Sample implementation for learning and customization

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Bitrefill
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 bitrefill-mcp-server
    Environment
    • BITREFILL_API_KEY your_api_key_here

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Create an API key: Bitrefill account → Developers.
2. Set in the environment (or .env for local runs):

BITREFILL_API_KEY=your_api_key_here

If BITREFILL_API_KEY is missing, no tools are registered (v2 requires authentication even for ping).

search-products

Search for products using a query. Parameters: q (string)

product-details

Retrieve details of a specific product by its ID. Parameters: id (string)

buy-products

Create an invoice to buy products. Parameters: product details in the request body

get-invoice-by-id

Retrieve a specific invoice by its ID. Parameters: id (string)

get-order-by-id

Retrieve a specific order by its ID. Parameters: id (string)

list-invoices

List all invoices associated with the account.

list-orders

List all orders associated with the account.

pay-invoice

Pay a specific invoice by its ID. Parameters: id (string)

get-account-balance

Retrieve the current balance of the account.

check-phone-number

Check the validity of a phone number. Parameters: phone number (string)

ping

Check the server's availability.

list-esim-products

List all available eSIM products.

get-esim-product

Retrieve details of a specific eSIM product by its ID. Parameters: id (string)

create-esim-invoice

Create an invoice for an eSIM product. Parameters: eSIM product details in the request body

get-esim-invoice

Retrieve a specific eSIM invoice by its ID. Parameters: id (string)

pay-esim-invoice

Pay a specific eSIM invoice by its ID. Parameters: id (string)

list-esims

List all eSIMs associated with the account.

get-esim

Retrieve details of a specific eSIM by its ID. Parameters: id (string)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "bitrefill": {
            "env": {
                "BITREFILL_API_KEY": "your_api_key_here"
            },
            "args": [
                "-y",
                "bitrefill-mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": {
        "BITREFILL_API_KEY": "your_api_key_here"
    },
    "args": [
        "-y",
        "bitrefill-mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": {
        "BITREFILL_API_KEY": "your_api_key_here"
    },
    "args": [
        "-y",
        "bitrefill-mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": {
        "BITREFILL_API_KEY": "your_api_key_here"
    },
    "args": [
        "/c",
        "npx",
        "-y",
        "bitrefill-mcp-server"
    ],
    "command": "cmd"
}

Bitrefill MCP Server (Sample Implementation)

This is a sample / reference implementation.For production use, connect to theofficial hosted Bitrefill eCommerce MCPathttps://api.bitrefill.com/mcpinstead. It is maintained by Bitrefill, supports OAuth, and exposes the same tools without you having to run, deploy, or update anything.

Use this repository if you want tolearn how a Bitrefill MCP can be built,fork it,extend it, orself-host a customized varianton top of theBitrefill API v2.

This server wraps the[Bitrefill API v2(https://api.bitrefill.com/v2) usingAuthorization: Bearer ${BITREFILL_API_KEY}. Onlyrequestparameters are validated with Zod; API responses are returned as JSON text unchanged.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.