bitrefill-mcp-server

bitrefill-mcp-server

4

The Bitrefill MCP Server is a TypeScript-based Model Context Protocol server that integrates Bitrefill services for AI assistants. It enables users to search and manage gift cards, mobile topups, and more, through structured JSON responses. A key feature is its seamless communication using the MCP standard with AI.

Bitrefill MCP Server

A TypeScript-based MCP server that provides access to Bitrefill services, allowing you to search for gift cards, mobile topups, and more. This server implements the Model Context Protocol to expose Bitrefill functionality to AI assistants.

Features

Resources

  • bitrefill://product-types - List of available product types on Bitrefill
  • bitrefill://categories/{type} - List of available categories for a specific product type

Tools

  • search - Search for gift cards, esims, mobile topups and more
  • detail - Get detailed information about a product
  • categories - Get the full product type/categories map
  • create_invoice - Create a new invoice for purchasing products
  • get_invoices - Retrieve a list of invoices with optional filtering
  • get_invoice - Retrieve details for a specific invoice by ID
  • pay_invoice - Pay an unpaid invoice
  • get_orders - Retrieve a list of orders with optional filtering
  • get_order - Retrieve details for a specific order by ID
  • unseal_order - Reveal codes and PINs for a specific order
  • get_account_balance - Retrieve your account balance
  • ping - Check if the Bitrefill API is available

Configuration

To use all the tools except for search, categories, and detail, set up Bitrefill API credentials in a .env file. Use the credentials to utilize tools like create_invoice.