What does the Mpesa Daraja MCP Server do?
It generates OAuth access tokens for the Safaricom Mpesa Daraja API, handling authentication so you can make further API calls.
@jameskanyiri
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mpesa_mcp_server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A Python-based server that implements the Mpesa Daraja API functionality using FastMCP. It provides a simple interface to interact with Safaricom's Mpesa Daraja API, starting with OAuth access token generation.
pip install -r requirements.txt. 2. Create a .env file with your Mpesa Daraja credentials: MPESA_CONSUMER_KEY, MPESA_CONSUMER_SECRET, PASSKEY, BUSINESS_SHORTCODE, and CALLBACK_URL. 3. Start the server by running python server.py. The server then listens for FastMCP client requests.It generates OAuth access tokens for the Safaricom Mpesa Daraja API, handling authentication so you can make further API calls.
Python 3.7 or higher, Mpesa Daraja API credentials (Consumer Key and Secret), and pip.
`MPESA_CONSUMER_KEY`, `MPESA_CONSUMER_SECRET`, `PASSKEY`, `BUSINESS_SHORTCODE`, and `CALLBACK_URL`.
It uses the FastMCP protocol. You start `python server.py` and interact via a FastMCP client.
Credentials are read from a `.env` file in the project root, which is excluded from version control. All API communications use HTTPS.
A curated list of references for MLOps
🚀 The fast, Pythonic way to build MCP servers and clients.
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
不止于 CSS
评论