Repository navigation
Releases: RifkyR3/mcp_database
Releases · RifkyR3/mcp_database
Release list
Release v1.0.2
Added
- Strict Scope Enforcement for
ALLOWED_DATABASES:db_list_connections: Only lists permitted databases and host servers that contain permitted databases. SanitizesdefaultDatabaseand active connection pools so unallowed databases are never exposed. AddsfilteredModeandallowedDatabasesmetadata to tool responses.db_discover_databases: Filters discovered physical databases from host servers to strictly return permitted databases only.db_sync_databases&npm run sync: Crawler strictly syncs and adds allowed databases; non-allowed database entries on disk are preserved safely to prevent accidental configuration data loss.resolveTarget: Immediately rejects queries or connection attempts against restricted databases (Access denied). Sanitizes error messages so unallowed sub-connections are never leaked.db_register_sub_connection: Prevents dynamic runtime registration of restricted databases when running in filtered mode.- Flexible
ALLOWED_DATABASESparsing: Supports CLI flags (--databases,--database,--dbs,--db,--filter), environment variable formats (comma, semicolon, whitespace, JSON array["db1", "db2"]), and handles quoted values cleanly.
- Auto-Populate Bare Main Connections:
- If a main connection has no pre-configured sub-connections, permitted databases are automatically mapped to that host.
- Dedicated CLI Runner for
db_list_connections:- Added
npm run list(tsx src/list.ts) script to inspect connections and testALLOWED_DATABASESfilter rules from the terminal with human-friendly and--jsonoutputs.
- Added
Changed
- Sanitized Parameter Descriptions & Tests:
- Replaced internal/local database names with generic placeholders (
app_db,postgres_main,mysql_main) across tool schema parameter descriptions and unit test fixtures.
- Replaced internal/local database names with generic placeholders (
Full Changelog: v1.0.1...v1.0.2
Release v1.0.1
Added
- Release Packaging Assets:
- Included configuration templates (
connections.example.json,.env.example) directly inside GitHub release archive packages (.tar.gzand.zip). - Added example configuration templates to the
filesarray inpackage.jsonfor npm package distributions.
- Included configuration templates (
Changed
- Installation Guide:
- Updated both
README.mdandREADME.id.mdto highlight Pre-built GitHub Release as the primary/recommended installation method. - Restructured Install from Source as Method 2 for developers and contributors.
- Added MCP client configuration example for globally linked CLI (
mcp-database).
- Updated both
Full Changelog: v1.0.0...v1.0.1
Release v1.0.0
Full Changelog: https://github.com/RifkyR3/mcp_database/commits/v1.0.0