mcp/bitrefill

Verified Publisher

By mcp

Updated 6 months ago

A Model Context Protocol Server connector for Bitrefill public API, to enable AI agents to search...

Image
Machine learning & AI
0

10K+

mcp/bitrefill repository overview

Bitrefill MCP Server

A Model Context Protocol Server connector for Bitrefill public API, to enable AI agents to search and shop on Bitrefill.

What is an MCP Server?

MCP Info

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/bitrefill/bitrefill-mcp-server/blob/3bc6123a829f1dae2f62bbf76dd2ee68a5546a50/Dockerfile
Commit3bc6123a829f1dae2f62bbf76dd2ee68a5546a50
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/bitrefill --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

Available Tools (12)

Tools provided by this ServerShort Description
categoriesGet the full product type/categories map.
create_invoiceCreate a new invoice for purchasing products with various payment methods
detailGet detailed information about a product
get_account_balanceRetrieve your account balance
get_invoiceRetrieve details for a specific invoice by ID
get_invoicesRetrieve a list of invoices with optional filtering
get_orderRetrieve details for a specific order by ID
get_ordersRetrieve a list of orders with optional filtering
pay_invoicePay an unpaid invoice (only works with 'balance' payment method)
pingCheck if the Bitrefill API is available
searchSearch for gift cards, esims, mobile topups and more.
unseal_orderReveal codes and PINs for a specific order by ID

Tools Details

Tool: categories

Get the full product type/categories map. It's suggested to use this tool to get the categories and then use the search tool to search for products in a specific category.

Tool: create_invoice

Create a new invoice for purchasing products with various payment methods

ParametersTypeDescription
payment_methodstringRequired payment method. Available methods: balance, lightning, bitcoin, eth_base, usdc_base
productsarrayArray of products to include in the invoice
auto_payboolean optionalOptional: Automatically pay with balance
webhook_urlstring optionalOptional: URL for webhook notifications

Tool: detail

Get detailed information about a product

ParametersTypeDescription
idstringUnique identifier of the product

Tool: get_account_balance

Retrieve your account balance

Tool: get_invoice

Retrieve details for a specific invoice by ID

ParametersTypeDescription
idstringUnique invoice identifier

Tool: get_invoices

Retrieve a list of invoices with optional filtering

ParametersTypeDescription
afterstring optionalStart date for limiting results (Inclusive). Format: YYYY-MM-DD HH:MM:SS
beforestring optionalEnd date for limiting results (Non-Inclusive). Format: YYYY-MM-DD HH:MM:SS
limitinteger optionalMaximum number of records. Maximum/Default: 50
startinteger optionalStart index. Default: 0

Tool: get_order

Retrieve details for a specific order by ID

ParametersTypeDescription
idstringUnique order identifier

Tool: get_orders

Retrieve a list of orders with optional filtering

ParametersTypeDescription
afterstring optionalStart date for limiting results (Inclusive). Format: YYYY-MM-DD HH:MM:SS
beforestring optionalEnd date for limiting results (Non-Inclusive). Format: YYYY-MM-DD HH:MM:SS
limitinteger optionalMaximum number of records. Maximum/Default: 50
startinteger optionalStart index. Default: 0

Tool: pay_invoice

Pay an unpaid invoice (only works with 'balance' payment method)

ParametersTypeDescription
idstringUnique invoice identifier

Tool: ping

Check if the Bitrefill API is available

Search for gift cards, esims, mobile topups and more. It's suggested to use the categories tool before searching for products, to have a better understanding of what's available.

ParametersTypeDescription
querystringSearch query (e.g., 'Amazon', 'Netflix', 'AT&T' or '*' for all the available products)
beta_flagsstring optionalBeta feature flags
cartstring optionalCart identifier
categorystring optionalFilter by category (e.g., 'gaming', 'entertainment')
colnumber optionalColumn layout parameter
countrystring optionalCountry code (e.g., 'US', 'IT', 'GB')
do_recommendnumber optionalEnable recommendations
languagestring optionalLanguage code for results (e.g., 'en')
limitnumber optionalMaximum number of results to return
prefccnumber optionalPreferred country code parameter
recnumber optionalRecommendation parameter
secnumber optionalSecurity parameter
skipnumber optionalNumber of results to skip (for pagination)
srcstring optionalSource of the request

Tool: unseal_order

Reveal codes and PINs for a specific order by ID

ParametersTypeDescription
idstringUnique order identifier

Use this MCP Server

{
  "mcpServers": {
    "bitrefill": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BITREFILL_API_ID",
        "-e",
        "BITREFILL_API_SECRET",
        "mcp/bitrefill"
      ],
      "env": {
        "BITREFILL_API_ID": "your_api_id_here",
        "BITREFILL_API_SECRET": "your_api_key_here"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:7ff5cc499

Size

79.5 MB

Last updated

6 months ago

docker pull mcp/bitrefill

This week's pulls

Pulls:

922

Jul 6 to Jul 12