Skip to main content
Glama

Aza MCP

npm version license node

Buy airtime and data — and check your wallet — from your own Azabill account, without leaving your code editor.

Aza MCP is a Model Context Protocol server that connects your Azabill wallet to any AI coding assistant. Once connected, you just tell your assistant "send ₦200 MTN airtime to 0803…" while you code, and it runs on your wallet — no context switch, no dashboard.

Works with any MCP client: Claude Desktop, Claude Code, Cursor, VS Code (Copilot), Windsurf, and others.

What you can do: buy airtime, buy data bundles, list data plans, check your wallet balance, and view recent transactions — for any Nigerian number (MTN, Glo, Airtel, 9mobile), straight from your editor's chat.


1. Connect your account (get an API key)

Your Aza account connects to the MCP through a personal API key — no password or PIN ever leaves your machine.

  1. Open the Aza web app: app.azabill.ng and log in.

  2. Go to Profile → Developers.

  3. Click Create API key, give it a name (e.g. "Cursor on my laptop") and a daily spending cap (default ₦2,000/day).

  4. Copy the key — it looks like aza_live_xxxxxxxx. It's shown once.

The key spends only from your wallet and can never exceed the daily cap you set. Lost a laptop? Revoke the key on that same screen and it stops working instantly.

Make sure your Aza wallet is funded (fund it in the app) — purchases draw from your balance.

Related MCP server: Mono Banking MCP Server

2. Add it to your editor

Use npx so there's nothing to install or keep updated. Replace aza_live_… with your key.

Claude Desktop

Edit claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "aza": {
      "command": "npx",
      "args": ["-y", "aza-mcp"],
      "env": { "AZA_API_KEY": "aza_live_xxxxxxxx" }
    }
  }
}

Claude Code

claude mcp add aza --env AZA_API_KEY=aza_live_xxxxxxxx -- npx -y aza-mcp

Cursor

Settings → MCP → Add new server, or edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "aza": {
      "command": "npx",
      "args": ["-y", "aza-mcp"],
      "env": { "AZA_API_KEY": "aza_live_xxxxxxxx" }
    }
  }
}

VS Code (GitHub Copilot / Agent mode)

.vscode/mcp.json in your workspace:

{
  "servers": {
    "aza": {
      "command": "npx",
      "args": ["-y", "aza-mcp"],
      "env": { "AZA_API_KEY": "aza_live_xxxxxxxx" }
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json — same mcpServers block as Claude Desktop above.

Restart the editor after saving. You should see the aza tools appear.

3. Use it

Just talk to your assistant:

  • "What's my Aza balance?"

  • "List MTN data plans."

  • "Buy ₦100 Airtel airtime for 0803…."

  • "Send the 1GB MTN plan to 0810…."

  • "Show my last 5 Aza transactions."

Your editor will ask you to approve each action before it runs.


Tools

Tool

What it does

aza_wallet

Account name, wallet balance, and today's remaining spend on the key

aza_list_networks

Supported networks (MTN, Glo, Airtel, 9mobile)

aza_list_data_plans

Data bundles + plan codes + prices for a network

aza_buy_airtime

Buy airtime (naira) for a number

aza_buy_data

Buy a data bundle (by plan code) for a number

aza_transactions

Recent purchases

Configuration

Env var

Required

Default

Notes

AZA_API_KEY

yes

—

Your aza_live_… key

Safety

  • Daily cap — every key has a per-day naira limit you set; the server refuses a purchase that would exceed it.

  • Revocable — revoke a key anytime in the web app; it stops working immediately.

  • No secrets in your repo — the key lives in your MCP config, not your code. Don't commit it.

  • Idempotent — each purchase carries an idempotency key, so a network retry never charges twice.

Run locally (development)

git clone https://github.com/Abdulkereem/aza-mcp.git && cd aza-mcp
npm install
AZA_API_KEY=aza_live_xxxx node src/index.js

License

MIT — © CodeMatrix Consult LTD (Azabill)

Available Tools

6 tools
aza_buy_airtimeA

Buy airtime for a Nigerian phone number, paid from the connected Aza wallet. Amount is in naira.

Inputs: phone (required), amount (required), network (required).

aza_buy_dataA

Buy a data bundle for a Nigerian phone number, paid from the connected Aza wallet. Get a plan code from aza_list_data_plans first.

Inputs: plan (required), phone (required), network (required).

aza_list_data_plansA

List the data bundles available on a network, with their plan codes and prices. Use a plan code with aza_buy_data.

Inputs: network (required).

aza_list_networksA

List the mobile networks Aza can top up (MTN, Glo, Airtel, 9mobile).

Inputs: no named parameters.

aza_transactionsA

Show the most recent airtime/data/bill purchases on the connected account.

Inputs: limit.

aza_walletA

Show the connected Aza account: name, wallet balance, and how much spending room is left on this API key today. Call this first to confirm the key works.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a distinct purpose: buying airtime, buying data, listing data plans, listing networks, viewing transactions, and checking wallet. No overlap or ambiguity.

    Naming Consistency4/5

    All tools use the 'aza_' prefix and most follow a verb_noun pattern (e.g., aza_buy_airtime). However, 'aza_transactions' and 'aza_wallet' are noun-only, slightly breaking the pattern.

    Tool Count5/5

    With 6 tools covering the core operations for mobile airtime/data top-ups, the count is well-scoped and appropriate for the server's purpose.

    Completeness4/5

    The set covers essential functions: listing networks and plans, purchasing airtime and data, checking wallet, and viewing history. Minor gaps like bill payment are acceptable given the focused domain.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables users to manage airtime transactions through the Africa's Talking API, allowing them to check account balance, send airtime to phone numbers, view transaction history, and analyze top-up patterns across supported African countries.
      5
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to perform Nigerian banking operations including account management, payments, and identity verification through the Mono Open Banking API.
      59
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to search for and purchase gift cards, mobile topups, and digital products via Bitrefill, with tools for managing invoices, orders, and account balance.
      12
      178 npm
      2
      MIT