bank-postgres-mcp
Provides tools for querying and managing a PostgreSQL database (bankdb), including listing customers, retrieving customer details and transactions, and upserting customer or branch records into dedicated tables.
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.
bank-postgres-mcp
HTTP MCP server that reads from and writes to a PostgreSQL database (bankdb).
Deployed and accessible at: https://armored-backspace-angles.ngrok-free.dev/mcp
Endpoints
Path | Method | Purpose |
| POST | MCP Streamable HTTP endpoint |
| GET | Liveness check |
Related MCP server: db-mcp
Tools
Read tools (query bankdb directly)
Tool | Description |
| List all customers in the database |
| Get customer profile + all accounts by customer_id |
| Look up customer + account by account number (e.g. |
| Get recent transactions by account_id or account_number |
Write tools (upsert into MCP dump tables)
Tool | Action |
| Upsert a fetched customer record into |
| Insert a newly created customer into |
| Upsert a bank branch record into |
Tables are auto-created on first use.
Setup
1. Prerequisites
Node.js ≥ 18
PostgreSQL running locally
2. Install & build
cd bank-postgres-mcp
npm install
npm run build3. Configure environment
cp env.example .env
# .env is gitignored — edit credentials thereProvided credentials:
DATABASE_URL=postgresql://bankuser:bankpassword@localhost:5432/bankdb
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=bankdb
POSTGRES_USER=bankuser
POSTGRES_PASSWORD=bankpassword4. Start the server
# Export env vars, then start
export DATABASE_URL=postgresql://bankuser:bankpassword@localhost:5432/bankdb
node build/index.js
# Or with all vars:
export POSTGRES_HOST=localhost POSTGRES_PORT=5432 POSTGRES_DB=bankdb \
POSTGRES_USER=bankuser POSTGRES_PASSWORD=bankpassword
node build/index.jsServer starts on http://localhost:3100 by default. Override with PORT=XXXX.
5. Verify
curl http://localhost:3100/health
# → {"status":"ok","server":"bank-postgres-mcp","version":"1.0.0"}Registering in watsonx Orchestrate
In Orchestrate, add a new MCP Server tool integration:
Field | Value |
Transport | Streamable HTTP |
URL |
|
If Orchestrate is running remotely (not on your laptop), expose the server with a tunnel:
npx localtunnel --port 3100 # Use the returned https URL instead of localhost
Registering in Bob (.bob/mcp.json)
{
"mcpServers": {
"bank-postgres-mcp": {
"url": "http://localhost:3100/mcp"
}
}
}Database schema
customers
Column | Type | Notes |
| TEXT PK | |
| TEXT | |
| TEXT | |
| TEXT | |
| TEXT | |
| TEXT | PII |
| TEXT | PII |
| TEXT | PII |
| TEXT | |
| TEXT | line1, line2, city, state, postal_code, country |
| TEXT | |
| TEXT | |
| NUMERIC | |
| INT | |
| TEXT | |
| TEXT |
|
| TIMESTAMPTZ | auto |
| TIMESTAMPTZ | auto |
bank_branches
Column | Type | Notes |
| TEXT PK | |
| TEXT | |
| TEXT | |
| TEXT | |
| TEXT | |
| TEXT[] | |
| TIMESTAMPTZ | auto |
| TIMESTAMPTZ | auto |
This server cannot be deployed
Maintenance
Related MCP Connectors
Demo banking MCP server: accounts, transactions and payments. OAuth 2.1 with DPoP.
MCP server for Modern Treasury — payment orders, transactions, counterparties and ledgers.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
MCP server for interacting with the Supabase platform
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA minimal banking system MCP server that allows account management, deposits, withdrawals, balance inquiries, and transaction history via REST endpoints.-
- AlicenseAqualityCmaintenanceA lightweight MCP server for relational databases, enabling dynamic connections to PostgreSQL and MySQL, SQL execution, and transaction control.7101 npm1MIT
- AlicenseAqualityCmaintenanceFull-featured MCP server that exposes 36 tools for interacting with PostgreSQL databases, covering schema introspection, query execution, data exploration, performance monitoring, security auditing, and maintenance.367 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for PostgreSQL that enables Cursor and other MCP clients to execute SQL queries, list tables, and explore database schemas via HTTP.1,195 npmMIT