Banking MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Banking MCP Serverlist my accounts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Pure Banking System# Pure Banking System# Banking MCP Server - Implementation Complete! π¦
A complete banking system with both console and GUI interfaces, implemented in pure Python with no external dependencies.
Quick StartA simple, standalone banking system implementation in Python with no external dependencies.A comprehensive Banking System with full Model Context Protocol (MCP) support, providing both MCP server capabilities and REST API endpoints.
Windows Launcher Menu:
banking_mcp.bat## Quick Start## π Project Structure
Choose from:
Console Interface (Interactive CLI)
GUI Interface (Graphical)Run the system using the Windows batch file:```
Run Tests
### Direct Python Execution:
```cmdbanking_mcp.batβββ banking_mcp_server.py # Main server implementation
python banking_ui.py # GUI Interface
python banking_mcp_server.py # Console Interface```βββ requirements.txt # Python dependencies
python test_banking_system.py # Test Suite
```βββ banking_mcp.bat # Windows launch script
## FeaturesOr run directly with Python:βββ claude_desktop_config.json # Claude Desktop configuration
- **Multiple User Interfaces**: Both GUI and console modes```cmdβββ test_banking_server.py # Comprehensive test suite
- **Complete Banking Operations**: Accounts, deposits, withdrawals, transfers
- **Transaction History**: Full audit trail with detailed reportingpython banking_mcp_server.pyβββ BANKING_NewMCP_README.md # Original requirements
- **Input Validation**: Comprehensive error checking
- **Data Persistence**: JSON-based storagepython test_banking_system.py # To run testsβββ README.md # This file
- **Zero Dependencies**: Uses only Python standard library
Related MCP server: MCP Banking Server
User Interfaces
π₯οΈ GUI Interface (banking_ui.py)
Tabbed interface with dedicated sections for each operation## Features## π Quick Start
Real-time account balance updates
Transaction history viewer
System information dashboard
User-friendly forms and validation- Complete banking operations (accounts, deposits, withdrawals, transfers)### 1. Install Dependencies
π» Console Interface (banking_mcp_server.py)- Transaction history and reporting
Interactive menu-driven CLI
All banking operations available- Input validation and error handling```powershell
Formatted output with emojis and colors
Keyboard shortcuts and error handling- JSON-based data persistencepip install -r requirements.txt
For detailed documentation, see BANKING_README.md.- Comprehensive test suite```
For detailed documentation, see BANKING_README.md.### 2. Run Tests
python test_banking_server.py3. Start the Server
MCP Server Only (for Claude Desktop):
python banking_mcp_server.py --mode mcpREST API Only:
python banking_mcp_server.py --mode rest --port 3003Both MCP + REST:
python banking_mcp_server.py --mode both --port 3003Using Windows Batch File:
banking_mcp.bat --mode both --port 3003π§ Claude Desktop Integration
Copy the configuration from
claude_desktop_config.jsonAdd it to your Claude Desktop MCP settings
Restart Claude Desktop
The banking tools will be available in Claude!
π οΈ Available MCP Tools
Tool | Description | Parameters |
| Create new banking account | userName, initialDeposit, accountType, bankName |
| Get account details | accountNumber |
| Deposit money | accountNumber, amount, description |
| Withdraw money | accountNumber, amount, description |
| Transfer between accounts | fromAccountNumber, toAccountNumber, amount, description |
| List all accounts | - |
| Get transaction history | accountNumber |
| Close account (zero balance) | accountNumber |
π MCP Resources
Access system information through these resources:
banking://system/info- System information and capabilitiesbanking://accounts/summary- Accounts summary with totalsbanking://api/endpoints- Available REST API endpoints
π‘ MCP Prompts
Get help with these built-in prompts:
banking_guide- Comprehensive banking operations guidetransaction_help- Transaction-specific help (with optional transaction_type)account_setup- Account setup guide (with optional account_type)
π REST API Endpoints
When running in REST mode, these endpoints are available:
Account Management
POST /api/accounts- Create accountGET /api/accounts- List all accountsGET /api/accounts/{account_number}- Get account detailsDELETE /api/accounts/{account_number}- Close account
Transactions
POST /api/accounts/{account_number}/deposit- Deposit moneyPOST /api/accounts/{account_number}/withdraw- Withdraw moneyPOST /api/transfer- Transfer between accountsGET /api/accounts/{account_number}/transactions- Get transaction history
System
GET /api/health- Health checkGET /api/system/info- System information
π» Usage Examples
MCP Tool Usage (in Claude Desktop)
// Create a new savings account
create_account(userName="Alice Smith", initialDeposit=1500.00, accountType="savings")
// Make a deposit
deposit(accountNumber="ACC000001", amount=500.00, description="Monthly salary")
// Transfer money
transfer(fromAccountNumber="ACC000001", toAccountNumber="ACC000002", amount=250.00, description="Payment")
// Get account information
get_account(accountNumber="ACC000001")
// View transaction history
get_transactions(accountNumber="ACC000001")REST API Usage
# Create account
curl -X POST http://localhost:3003/api/accounts \
-H "Content-Type: application/json" \
-d '{"userName":"John Doe", "initialDeposit":1000, "accountType":"checking"}'
# Make deposit
curl -X POST http://localhost:3003/api/accounts/ACC000001/deposit \
-H "Content-Type: application/json" \
-d '{"amount":500, "description":"Salary deposit"}'
# Get account details
curl http://localhost:3003/api/accounts/ACC000001
# List all accounts
curl http://localhost:3003/api/accounts⨠Key Features Implemented
β MCP Protocol Support
Full MCP 2024-11-05 specification compliance
Stdio transport for MCP client communication
8 comprehensive banking tools
3 system information resources
3 interactive prompts with help
β Banking Operations
Account creation (checking, savings, business)
Deposits and withdrawals with validation
Inter-account transfers
Transaction history tracking
Account closure (with zero balance requirement)
Comprehensive error handling
β Data Validation
Amount validation (positive, reasonable limits)
Account state checking (active/closed)
Sufficient balance verification
Input sanitization and validation
β REST API Wrapper
Complete REST endpoints matching MCP tools
CORS support for web applications
JSON request/response format
Health monitoring endpoints
β Windows Integration
PowerShell-compatible batch file
Windows path handling
Claude Desktop configuration ready
π§ͺ Testing
Run the comprehensive test suite:
python test_banking_server.pyTests cover:
All banking operations
MCP tool definitions
Data validation and edge cases
Error handling scenarios
ποΈ Architecture
The system follows a clean architecture:
Core Banking System (
BankingSystemclass)Pure business logic
No external dependencies
Comprehensive validation
MCP Server Layer (
BankingMCPServerclass)MCP protocol implementation
Tool/resource/prompt handlers
Async communication
REST API Layer (Flask app)
HTTP endpoint wrapper
JSON serialization
CORS support
Data Models
AccountdataclassTransactiondataclassType safety with proper validation
π Security & Validation
Input validation on all operations
Amount range checking (prevents overflow)
Account state verification
Transaction atomicity
Error boundary handling
π Future Enhancements
Potential improvements:
Persistent data storage (SQLite/PostgreSQL)
Authentication and authorization
Interest calculation for savings accounts
Transaction limits and daily caps
Multi-currency support
Audit logging
π€ Usage Tips
For MCP Development: Use
--mode mcpfor Claude Desktop integrationFor Web Development: Use
--mode bothto test REST APIs while having MCP accessFor Testing: Run test suite before deployment
For Production: Consider adding persistent storage and authentication
β Troubleshooting
MCP Server Won't Start:
Check Python version (3.8+)
Verify MCP dependencies:
pip install mcpCheck file paths in Claude Desktop config
REST API Issues:
Install Flask:
pip install flask flask-corsCheck port availability
Verify firewall settings
Tool Not Working in Claude:
Restart Claude Desktop after config changes
Check MCP server logs in Claude Desktop
Verify file paths are absolute
π Your Banking MCP Server is ready! Start with the test suite, then try it in Claude Desktop or via REST API.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/srinivasks1974/MCP-server-python'
If you have feedback or need assistance with the MCP directory API, please join our Discord server