Feedback

Bitrefill MCP Server (bitrefill/bitrefill-mcp-server) Verified

@bitrefill Claim

Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
bitrefill
Submitted by
Community
Quality
40
Stars
7

About Bitrefill MCP Server

Explore Bitrefill to buy gift cards, mobile refills, eSIMs, and digital services instantly with cryptocurrency.

Bitrefill is a MCP server in the Finance category listed in the AddMCP.net directory, published by bitrefill. It exposes 4 tools, including search, detail, categories, ping. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 7 GitHub stars. Source code is hosted on github.com. Related topics: agent, ai, claude, finance, mcp.

Setup

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

Bitrefill MCP Server (bitrefill/bitrefill-mcp-server) config

Add this server to your MCP-compatible client using the configuration below.

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

Bitrefill MCP Server (bitrefill/bitrefill-mcp-server) tools

  • search — 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.
    query:string*, country:string, language:string, limit:number, skip:number, category:string, beta_flags:string, cart:string, do_recommend:number, rec:number, sec:number, col:number, …
  • detail — Get detailed information about a product
    id:string*
  • 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.
    (no parameters)
  • ping — Check if the Bitrefill API is available
    (no parameters)

Overview

What is Bitrefill?

The Bitrefill MCP Server is a sample/reference implementation that wraps the Bitrefill API v2 using a Bearer token. It is intended for developers who want to study, fork, extend, or self-host a customized MCP server on top of the Bitrefill API. For production use, a hosted remote MCP server is recommended instead.

How to use Bitrefill?

Set the BITREFILL_API_KEY environment variable with an API key from the Bitrefill Developers page. The server exposes 18 tools that map to Bitrefill v2 endpoints. For production, connect to the hosted remote MCP at https://api.bitrefill.com/mcp (with OAuth or an API key in the URL).

Key features of Bitrefill

  • 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

Use cases of Bitrefill

  • Study a working reference implementation of a Bitrefill MCP server
  • Fork and add custom tools, prompts, or validation logic
  • Self‑host inside a private network or air‑gapped environment
  • Experiment with a wider set of v2 endpoints than the curated production server

Frequently asked questions

1 How does this sample differ from the official hosted MCP?

The official hosted MCP (at https://api.bitrefill.com/mcp) is maintained by Bitrefill, supports OAuth, and exposes a curated set of 7 tools. This sample exposes 18 tools and is meant for learning, forking, or self‑hosting.

2 What authentication does the sample use?

The sample requires a BITREFILL_API_KEY environment variable. Requests are authenticated with Authorization: Bearer ${BITREFILL_API_KEY}.

3 What dependencies are needed to run the sample locally?

Node.js, pnpm (pnpm install, pnpm run build), and a valid Bitrefill API key from the Developers page.

4 What tools are available in the sample?

The 18 tools cover products, invoices, orders, account balance, phone number checks, ping, and a full eSIM workflow (list, get, create‑invoice, pay‑invoice, list, get).

5 How do I test the sample locally?

Run pnpm run build && pnpm run smoke for in‑process MCP client tests, or use the MCP Inspector with pnpm run inspector. Smoke tests only target the built server, not the remote hosted MCP.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬