bank-postgres-mcp
bank-postgres-mcp
Servidor HTTP MCP que lee y escribe en una base de datos PostgreSQL (bankdb).
Desplegado y accesible en: https://armored-backspace-angles.ngrok-free.dev/mcp
Endpoints
Ruta | Método | Propósito |
| POST | Punto de enlace HTTP MCP transmisible |
| GET | Verificación de actividad |
Related MCP server: db-mcp
Herramientas
Herramientas de lectura (consultan bankdb directamente)
Herramienta | Descripción |
| Lista todos los clientes en la base de datos |
| Obtiene perfil del cliente + todas las cuentas por customer_id |
| Busca cliente + cuenta por número de cuenta (ej. |
| Obtiene transacciones recientes por account_id o account_number |
Herramientas de escritura (insertan o actualizan en tablas de volcado MCP)
Herramienta | Acción |
| Inserta o actualiza un registro de cliente obtenido en |
| Inserta un cliente recién creado en |
| Inserta o actualiza un registro de sucursal bancaria en |
Las tablas se crean automáticamente en el primer uso.
Configuración
1. Prerrequisitos
Node.js ≥ 18
PostgreSQL ejecutándose localmente
2. Instalar y compilar
cd bank-postgres-mcp
npm install
npm run build3. Configurar el entorno
cp env.example .env
# .env is gitignored — edit credentials thereCredenciales proporcionadas:
DATABASE_URL=postgresql://bankuser:bankpassword@localhost:5432/bankdb
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=bankdb
POSTGRES_USER=bankuser
POSTGRES_PASSWORD=bankpassword4. Iniciar el servidor
# 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.jsEl servidor se inicia en http://localhost:3100 por defecto. Sobrescribir con PORT=XXXX.
5. Verificar
curl http://localhost:3100/health
# → {"status":"ok","server":"bank-postgres-mcp","version":"1.0.0"}Registro en watsonx Orchestrate
En Orchestrate, añade una nueva integración de herramienta Servidor MCP:
Campo | Valor |
Transporte | HTTP Streamable |
URL |
|
Si Orchestrate se ejecuta de forma remota (no en tu portátil), expón el servidor con un túnel:
npx localtunnel --port 3100 # Use the returned https URL instead of localhost
Registro en Bob (.bob/mcp.json)
{
"mcpServers": {
"bank-postgres-mcp": {
"url": "http://localhost:3100/mcp"
}
}
}Esquema de la base de datos
customers
Columna | Tipo | Notas |
| 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 | automático |
| TIMESTAMPTZ | automático |
bank_branches
Columna | Tipo | Notas |
| TEXT PK | |
| TEXT | |
| TEXT | |
| TEXT | |
| TEXT | |
| TEXT[] | |
| TIMESTAMPTZ | automático |
| TIMESTAMPTZ | automático |
This server cannot be deployed
Maintenance
Related MCP Connectors
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.
- SupabaseOAuthcom.supabase
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.-
- AlicenseAqualityDmaintenanceA lightweight MCP server for relational databases, enabling dynamic connections to PostgreSQL and MySQL, SQL execution, and transaction control.752 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.368 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,293 npmMIT