mpesa_stk_push

Initiate M-Pesa STK Push (Paybill/Till number payment). Sends payment prompt to customer phone.

Server Africa Payments MCP kenyaclaw/africa-payments-mcp
Category Financial
Risk class Critical
Parameters 00 required

What mpesa_stk_push does on Africa Payments MCP

AI agents use mpesa_stk_push to commit financial operations through Africa Payments MCP — usually the final step of a payment, billing, or trading workflow. A call moves real money.

Why mpesa_stk_push needs a policy

This tool directly initiates a mobile money payment request via M-Pesa's STK Push mechanism, which triggers a real financial transaction prompt on a customer's phone. It involves moving money and committing financial obligations, placing it firmly in the Financial category. Misuse could result in unauthorized payment requests being sent to customers, making it critical severity.

From the tool's definition Initiate M-Pesa STK Push (Paybill/Till number payment). Sends payment prompt to customer phone.

Questions about mpesa_stk_push

What does the mpesa_stk_push tool do? +

Initiate M-Pesa STK Push (Paybill/Till number payment). Sends payment prompt to customer phone. It is categorised as a Financial tool in the Africa Payments MCP MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

How do I enforce a policy on mpesa_stk_push? +

Register the Africa Payments MCP server in PolicyLayer and add a rule for mpesa_stk_push: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Africa Payments MCP. Nothing to install.

What risk level is mpesa_stk_push? +

mpesa_stk_push is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit mpesa_stk_push? +

Yes. Add a rate_limit block to the mpesa_stk_push rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block mpesa_stk_push completely? +

Set action: deny in the PolicyLayer policy for mpesa_stk_push. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides mpesa_stk_push? +

mpesa_stk_push is provided by the Africa Payments MCP server (kenyaclaw/africa-payments-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.