SM

sin4ch/mono-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

59 stars 12 forks 质量 66 趋势 13MIT

sin4ch/mono-mcp 是从 https://github.com/sin4ch/mono-mcp. 导入的 MCP 服务器候选。

概览

sin4ch/mono-mcp 是从 https://github.com/sin4ch/mono-mcp. 导入的 MCP 服务器候选。

概述(AI 翻译)

一个全面的**模型上下文协议(MCP)**服务器,用于尼日利亚银行业务,采用Mono开放银行API。具备集成的Webhook支持,支持实时银行事件,并在FastMCP云上实现无缝部署。

目录

  • 主要特征
  • 建筑学
  • 使用的技术
  • 项目结构
  • Webhook集成
  • 快速入门
  • 使用情况
  • 可用的银行工具
  • 贡献

主要特色

  • 完整的银行运营 - 账户管理、支付、BVN验证
  • 实时Webhooks - 用于实时银行活动的集成Webhook终端
  • AI 助手准备版 - 与 Claude、ChatGPT 及其他 AI 助手无缝集成
  • 云部署 - 准备支持FastMCP云,支持自动扩展
  • 企业安全 - HMAC 签名验证和安全 API 处理
  • 事件监控 - 内置的 webhook 事件存储和调试工具

建筑

所用技术

  • Python 3.12+ - 现代 Python 支持异步/等待
  • FastMCP 2.12+ - 简化MCP服务器,支持自定义路由
  • Starlette - 用于webhook端点的ASGI框架
  • httpx - 现代异步HTTP客户端用于API通信

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Mono Banking MCP Server

A comprehensive Model Context Protocol (MCP) server for Nigerian banking operations using the Mono Open Banking API. Features integrated webhook support for real-time banking events and seamless deployment on FastMCP Cloud.

Table of Contents

Key Features

  • Complete Banking Operations - Account management, payments, BVN verification
  • Real-time Webhooks - Integrated webhook endpoints for live banking events
  • AI Assistant Ready - Seamless integration with Claude, ChatGPT, and other AI assistants
  • Cloud Deployment - Ready for FastMCP Cloud with automatic scaling
  • Enterprise Security - HMAC signature verification and secure API handling
  • Event Monitoring - Built-in webhook event storage and debugging tools

Architecture

sequenceDiagram
    participant User as 👤 User
    participant AI as 🤖 AI Assistant(Claude/ChatGPT)
    participant MCP as ⚡ MCP Server(FastMCP + Webhooks)
    participant Client as 🔗 Mono Client(httpx)
    participant API as 🏦 Mono API(Nigerian Banks)
    participant Webhook as 📡 Webhook Events

    User->>AI: "Check my account balance"
    AI->>MCP: list_tools()
    MCP-->>AI: 12 banking tools + webhook monitoring

    AI->>MCP: get_account_balance(account_id)
    MCP->>Client: get_account_balance(account_id)
    Client->>API: GET /accounts/{id}/balance
    API-->>Client: {"balance": 50000, "currency": "NGN"}
    Client-->>MCP: Account balance data
    MCP-->>AI: {"success": true, "balance": "₦500.00"}
    AI-->>User: "Your account balance is ₦500.00"

    Note over Webhook,MCP: Real-time Events
    API->>MCP: POST /mono/webhook (account.updated)
    MCP->>MCP: Verify HMAC signature
    MCP->>MCP: Store event in database

Technologies Used

  • Python 3.12+ - Modern Python with async/await support
  • FastMCP 2.12+ - Simplified MCP server with custom route support
  • Starlette - ASGI framework for webhook endpoints
  • httpx - Modern async HTTP client for API communication
  • SQLAlchemy - Database ORM for webhook event storage
  • Mono Open Banking API v2 - Nigerian banking infrastructure
  • python-dotenv - Environment variable management
  • uv - Fast Python package manager (recommended)

Project Structure

mono-banking-mcp/
├── mono_banking_mcp/           # Main package
│   ├── server.py                 # FastMCP server with 12 tools + webhook endpoints
在 GitHub 查看完整 README

安装

npx -y @modelcontextprotocol/server-fetch https://mono-banking-mcp.fastmcp.app/mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mono-banking": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-fetch", "https://mono-banking-mcp.fastmcp.app/mcp"] } } }