Mpesa Daraja MCP Server implements the Mpesa Daraja API functionality using FastMCP, providing a simple interface to interact with Safaricom's Mpesa Daraja API. It supports OAuth token generation and secure credential management.
Mpesa Daraja MCP Server implements the Mpesa Daraja API functionality using FastMCP, providing a simple interface to interact with Safaricom's Mpesa Daraja API. It supports OAuth token generation and secure credential management.
Clone the repository, set up a virtual environment and install dependencies.Add this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"mpesa-daraja-mcp-server": {
"command": "npx",
"args": [
"-y",
"Clone the repository, set up a virtual environment and install dependencies."
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from Mpesa Daraja MCP Server?"
No configuration required. This server works out of the box.
"What resources are available in Mpesa Daraja MCP Server?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in Mpesa Daraja MCP Server"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in Mpesa Daraja MCP Server with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.