Africa's Talking Airtime MCP

by nasoma
MIT License

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
api_keyYesYour Africa's Talking API key
countryYesYour country (e.g. kenya, uganda, dr congo, rwanda, south africa)
usernameYesYour Africa's Talking username
currency_codeYesCurrency code (e.g. KES, UGX, NGN)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
check_balance

Check the airtime balance for your Africa's Talking account.

load_airtime
Load airtime to a specified telephone number and save the transaction. Args: phone_number: The phone number to send airtime to amount: The amount of airtime to send currency_code: The currency code Returns: A message indicating success or failure
get_last_topups

Get the last N top-up transactions

sum_last_n_topups

Calculate the sum of the last n successful top-ups, defaulting to 3.

count_topups_by_number

Count the number of successful top-ups to a specific phone number.

ID: h39f9933k8