bank-postgres-mcp
bank-postgres-mcp
HTTP-MCP-Server, der aus einer PostgreSQL-Datenbank (bankdb) liest und in diese schreibt.
Bereitgestellt und erreichbar unter: https://armored-backspace-angles.ngrok-free.dev/mcp
Endpunkte
Pfad | Methode | Zweck |
| POST | MCP Streamable HTTP-Endpunkt |
| GET | Lebendigkeitsprüfung |
Related MCP server: db-mcp
Tools
Lese-Tools (direkte Abfrage von bankdb)
Tool | Beschreibung |
| Alle Kunden in der Datenbank auflisten |
| Kundenprofil + alle Konten anhand der customer_id abrufen |
| Kunden + Konto anhand der Kontonummer (z. B. |
| Aktuelle Transaktionen anhand der account_id oder account_number abrufen |
Schreib-Tools (Upsert in MCP-Dump-Tabellen)
Tool | Aktion |
| Upsert eines abgerufenen Kundendatensatzes in |
| Einfügen eines neu erstellten Kunden in |
| Upsert eines Bankfilialdatensatzes in |
Tabellen werden bei der ersten Nutzung automatisch erstellt.
Einrichtung
1. Voraussetzungen
Node.js ≥ 18
PostgreSQL läuft lokal
2. Installieren und erstellen
cd bank-postgres-mcp
npm install
npm run build3. Umgebung konfigurieren
cp env.example .env
# .env is gitignored — edit credentials thereBereitgestellte Anmeldedaten:
DATABASE_URL=postgresql://bankuser:bankpassword@localhost:5432/bankdb
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=bankdb
POSTGRES_USER=bankuser
POSTGRES_PASSWORD=bankpassword4. Server starten
# 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.jsDer Server startet standardmäßig auf http://localhost:3100. Überschreiben mit PORT=XXXX.
5. Überprüfen
curl http://localhost:3100/health
# → {"status":"ok","server":"bank-postgres-mcp","version":"1.0.0"}Registrierung in watsonx Orchestrate
Fügen Sie in Orchestrate eine neue MCP-Server-Tool-Integration hinzu:
Feld | Wert |
Transport | Streamable HTTP |
URL |
|
Wenn Orchestrate remote (nicht auf Ihrem Laptop) ausgeführt wird, machen Sie den Server über einen Tunnel zugänglich:
npx localtunnel --port 3100 # Use the returned https URL instead of localhost
Registrierung in Bob (.bob/mcp.json)
{
"mcpServers": {
"bank-postgres-mcp": {
"url": "http://localhost:3100/mcp"
}
}
}Datenbankschema
customers
Spalte | Typ | Hinweise |
| 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 | automatisch |
| TIMESTAMPTZ | automatisch |
bank_branches
Spalte | Typ | Hinweise |
| TEXT PK | |
| TEXT | |
| TEXT | |
| TEXT | |
| TEXT | |
| TEXT[] | |
| TIMESTAMPTZ | automatisch |
| TIMESTAMPTZ | automatisch |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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 the vaulink iPhone finance app: read accounts, queue changes you confirm on the phone
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.71MIT
- 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.365 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.MIT