Notify Africa
API GuidesVoice API

MCP Server

Configure the Notify Africa Voice MCP server for agent-accessible Voice tools.

The Voice MCP server wraps the same Developer API routes used by direct HTTP integrations.

Package

@notifyafrica/voice-mcp-server

Run it directly:

NOTIFY_API_KEY="ntfy_your_api_key" \
npx -y @notifyafrica/voice-mcp-server

Or install it globally:

npm install -g @notifyafrica/voice-mcp-server
NOTIFY_API_KEY="ntfy_your_api_key" notify-voice-mcp-server

Environment

export NOTIFY_API_KEY="ntfy_your_api_key"
export NOTIFY_VOICE_API_BASE_URL="https://api.notify.africa/api/v1"

NOTIFY_VOICE_API_BASE_URL defaults to https://api.notify.africa/api/v1. For local service development, point it at the local Voice API base URL.

MCP Client Config

{
  "mcpServers": {
    "notify-voice": {
      "command": "npx",
      "args": ["-y", "@notifyafrica/voice-mcp-server"],
      "env": {
        "NOTIFY_API_KEY": "ntfy_your_api_key",
        "NOTIFY_VOICE_API_BASE_URL": "https://api.notify.africa/api/v1"
      }
    }
  }
}

Tools

ToolAPI routePurpose
notify_voice_start_callPOST /voice-api/callsStart an outbound click-to-call attempt
notify_voice_list_callsGET /voice-api/callsList owned Voice calls
notify_voice_get_callGET /voice-api/calls/:callSessionIdRetrieve one owned Voice call

notify_voice_start_call

InputTypeRequiredNotes
customer_numberstringYesE.164 phone number, for example +255700000001
response_formatmarkdown or jsonNoDefaults to markdown

notify_voice_list_calls

InputTypeRequiredNotes
qstringNoSearch session ID, caller number, or destination number
current_pagenumberNoDefaults to 1
page_sizenumberNoDefaults to 20; max 100
sort_bystringNoSort field, such as startedAt or createdAt
sort_orderASC or DESCNoDefaults to DESC
response_formatmarkdown or jsonNoDefaults to markdown

notify_voice_get_call

InputTypeRequiredNotes
call_session_idstringYesVoice call session row ID or backend call attempt ID; max 128 characters
response_formatmarkdown or jsonNoDefaults to markdown

Authentication Boundary

The MCP server reads NOTIFY_API_KEY from its environment. Use a server-side key with the Voice service grant and avoid embedding keys in prompts, source control, browser code, or mobile application code.

On this page