
sin4ch/mono-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
sin4ch/mono-mcp - кандидат на сервер MCP, импортированный из https://github.com/sin4ch/mono-mcp.
Обзор
sin4ch/mono-mcp - кандидат на сервер MCP, импортированный из https://github.com/sin4ch/mono-mcp.
Обзор (машинный перевод)
Комплексный сервер Model Context Protocol (MCP) для банковских операций в Нигерии с использованием API Mono Open Banking. Функции интегрированной поддержки webhook для банковских событий в реальном времени и бесшовного развертывания в FastMCP Cloud.
Таблица содержимого
- Ключевые особенности
- Архитектура
- Используемые технологии Структура проекта Интеграция Webhook Быстрый старт
- Использование Доступные банковские инструменты
- Вклад
Ключевые особенности
Комплексные банковские операции - Управление счетами, платежи, проверка BVN Realtime Webhooks - Интегрированные конечные точки webhook для живых банковских событий AI Assistant Ready - бесшовная интеграция с Claude, ChatGPT и другими помощниками ИИ Развертывание облачных вычислений - готово для FastMCP Облако с автоматическим масштабированием Enterprise Security - проверка подписи HMAC и безопасная обработка API ** Мониторинг событий** - встроенные инструменты хранения и отладки веб-хуков
Архитектура
Используемые технологии
Python 3.12+** Современный Python с поддержкой async/await FastMCP 2.12+ - Упрощенный MCP-сервер с поддержкой пользовательского маршрута Starlette - ASGI фреймворк для конечных точек webhook httpx - Современный асинхронный HTTP-клиент для связи с API
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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
- Architecture
- Technologies Used
- Project Structure
- Webhook Integration
- Quick Start
- Usage
- Available Banking Tools
- Contributing
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
Установка
npx -y @modelcontextprotocol/server-fetch https://mono-banking-mcp.fastmcp.app/mcpКонфигурация
{
"mcpServers": {
"mono-banking": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-fetch", "https://mono-banking-mcp.fastmcp.app/mcp"]
}
}
}