Skip to content

Support named database connections in TypeScript - #10

Merged
JaviMaligno merged 1 commit into
mainfrom
feat/multi-database-typescript
Jul 30, 2026
Merged

Support named database connections in TypeScript#10
JaviMaligno merged 1 commit into
mainfrom
feat/multi-database-typescript

Conversation

@JaviMaligno

Copy link
Copy Markdown
Owner

Summary

  • add POSTGRES_CONNECTIONS with named aliases, one lazy pool per alias, and a backwards-compatible default connection
  • add list_databases plus an optional database argument to every existing database tool
  • enforce per-alias write permissions and keep credentials out of tool schemas and responses
  • document configuration and reject duplicate aliases or multiple defaults

Verification

  • npm run lint
  • npm run typecheck
  • npm run build
  • npm test: 42/42 passed against a live Railway PostgreSQL
  • integration suite: 6/6 passed against a live Azure PostgreSQL Flexible Server
  • cross-provider smoke: one MCP process selected distinct Railway and Azure pools by alias
  • legacy SDK v1 client test remains green

Part of #5. Python parity follows in a separate PR so this reviewed TypeScript contract can be ported mechanically.

@gitguardian

gitguardian Bot commented Jul 29, 2026

Copy link
Copy Markdown

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@JaviMaligno
JaviMaligno force-pushed the feat/multi-database-typescript branch from 69d00ce to 91fb0d2 Compare July 29, 2026 19:24
@JaviMaligno
JaviMaligno merged commit 8f88b95 into main Jul 30, 2026
8 checks passed
@JaviMaligno
JaviMaligno deleted the feat/multi-database-typescript branch July 30, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant