Banking Model Context Protocol Server
Manages environment variables for storing sensitive credentials like API keys and endpoints for the Azure OpenAI service.
Uses Flask to provide the web application framework for the banking chatbot interface, serving the chat UI to users at http://localhost:5000.
Facilitates version control and collaboration for the banking chatbot project, with instructions for cloning the repository.
Supports rich text formatting in chatbot responses, allowing for better presentation of banking information and instructions.
Connects to Azure OpenAI to power the banking chatbot with intelligent responses to customer queries about banking information, services, and support.
Serves as the foundation programming language for the banking chatbot application, with requirements for Python 3.8 or higher.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Banking Chatbot with MCP Integration
A sophisticated banking chatbot application that uses Azure OpenAI and Model Context Protocol (MCP) for secure and efficient message handling.
Features
AI-Powered Banking Assistant: Uses Azure OpenAI to provide intelligent responses to banking queries
Model Context Protocol (MCP): Implements a secure message communication protocol
Real-time Chat Interface: Modern, responsive UI for seamless user interaction
Comprehensive Logging: Detailed logging system for monitoring and debugging
Bank Information Integration: Dynamic display of bank details and services
Markdown Support: Rich text formatting for responses
Related MCP server: agentbox
Project Structure
.
├── app.py # Main Flask application
├── mcp_server.py # MCP server implementation
├── mcp_client.py # MCP client implementation
├── requirements.txt # Python dependencies
├── .env # Environment variables
├── templates/ # HTML templates
│ └── index.html # Chat interface
└── logs/ # Log files
├── client_messages.log
├── mcp_client.log
└── mcp_server.logPrerequisites
Python 3.8 or higher
Azure OpenAI API access
Required Python packages (see requirements.txt)
Installation
Clone the repository:
git clone <repository-url> cd banking-chatbotCreate and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtCreate a
.envfile with your credentials:ENDPOINT_URL=your_azure_endpoint AZURE_OPENAI_API_KEY=your_api_key DEPLOYMENT_NAME=your_deployment_name
Usage
Start the MCP server:
python mcp_server.pyIn a new terminal, start the Flask application:
python app.pyAccess the chatbot interface at
http://localhost:5000
MCP Protocol
The Model Context Protocol (MCP) is implemented to handle message communication between the chatbot and the server. It provides:
Secure message transmission
Message queuing and reliability
Detailed logging
Real-time message handling
Message Types
Chat Messages: User queries and AI responses
System Messages: Administrative and control messages
Logging
The application maintains detailed logs in the logs directory:
client_messages.log: Chat message historymcp_client.log: Client connection and operation logsmcp_server.log: Server operation logs
Bank Information
The chatbot is configured with comprehensive bank information including:
Business hours
Branch locations
Available services
Contact information
Support channels
Development
Adding New Features
Update the
BANK_INFOdictionary inapp.pyfor new bank informationModify the
SYSTEM_MESSAGEfor updated AI behaviorAdd new message handlers in
mcp_client.pyfor additional functionality
Testing
Run the test client to verify MCP functionality:
python test_client.pyClear logs for testing:
python clear_logs.pySecurity
API keys and sensitive information are stored in
.envMCP provides secure message transmission
Input validation and error handling are implemented
Contributing
Fork the repository
Create a feature branch
Commit your changes
Push to the branch
Create a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
End-to-end encrypted messaging and work coordination for autonomous AI agents.
Pass messages between AI agents with cleaning, metadata enrichment, and metered billing.
Relay for messages and schema-checked tasks between AI agents.
Reliable async execution for agent tool calls: schema gating, retries, idempotency, audit trail.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables asynchronous messaging between AI agents, including sending messages, proposals, and managing threaded conversations using the Model Context Protocol.1MIT
- AlicenseNot gradedqualityAmaintenanceA threaded message relay for ChatGPT and local coding agents, enabling message exchange and file sharing via MCP and REST APIs.4 npm2Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables bidirectional messaging between Claude Code and Codex Desktop through a SQLite-backed bus, so messages sent from either side appear in the other's chat pane, with acknowledgement and redelivery semantics.62 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables clients to interact with an OpenAI-compatible chat backend through a proxy that adds input validation, session-based memory, sliding-window context management, and resilient async agent calls.-