Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ All notable changes to this bundle. Versions follow the mpak v0.x.y convention
(see `mcp-servers/VERSIONING.md`): minor bumps may include breaking changes
during the unstable channel.

## 0.4.3

### Fixed

- **`database_url` set via Configure now reaches the bundle.** The manifest
was missing the `mcp_config.env` mapping that bridges the `user_config`
field to the `DATABASE_URL` env var the Python code reads. Setting the
URL via the UI was a silent no-op; only the host-env passthrough
(`allowedEnv: ["DATABASE_URL"]` + a process-env `DATABASE_URL`) worked.
Configure-UI is now the canonical path.

### Changed (breaking for misconfigured installs)

- **`database_url` is now `required: true` in `user_config`.** Existing
workspaces with the field unset will fail `prepareServer` at next spawn
with a clear "missing required configuration" error and the
`nb config set` hint. Operators who relied solely on the host-env
passthrough should now set the credential via Configure UI (or the
CLI). Workspaces that already have the credential saved are unaffected.

## 0.4.0

### Removed (breaking)
Expand Down
11 changes: 7 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": "0.4",
"name": "@nimblebraininc/synapse-db-query",
"version": "0.4.2",
"version": "0.4.3",
"description": "Natural-language Postgres query app with dynamic Vega-Lite visualizations",
"author": {
"name": "NimbleBrain Inc",
Expand All @@ -22,7 +22,10 @@
"args": [
"-m",
"synapse_db_query.server"
]
],
"env": {
"DATABASE_URL": "${user_config.database_url}"
}
}
},
"tools": [
Expand All @@ -47,9 +50,9 @@
"database_url": {
"type": "string",
"title": "Database URL",
"description": "Postgres connection string for a read-only role (postgresql://user:pass@host:port/db). Optional — you may instead provide DATABASE_URL via the host environment and add `allowedEnv: [\"DATABASE_URL\"]` to the bundle entry in workspace.json.",
"description": "Postgres connection string for a read-only role (postgresql://user:pass@host:port/db). Resolved into the bundle's `DATABASE_URL` env var at spawn time via `mcp_config.env` substitution.",
"sensitive": true,
"required": false
"required": true
}
},
"_meta": {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "synapse-db-query"
version = "0.4.2"
version = "0.4.3"
description = "Natural-language Postgres query app with dynamic Vega-Lite visualizations"
readme = "README.md"
license = {text = "MIT"}
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.