Add Keycloak-gated catalog search (mdb Stage 2) - #89
Open
kirillmitrofanov wants to merge 2 commits into
Open
Conversation
added 2 commits
August 28, 2026 11:42
Stage 2 exposes keyword search, statistics, lookup, and browse in the UI and MCP without publishing mdb or putting tokens in the frontend.
…mdb contract. Pin neuro-workflow_workflow so mdb-mindsdb can attach as a hostname. Add the HTTP contract and deploy runbook with env placeholders only — tokens stay in gitignored .env files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/api/catalog/{statistics,search,lookup,datasets}/proxy to private mdb (keyword search only; search token never in the browser)./catalogplus four MCP tools on the same surface.neuro-workflow_workflow, HTTP contract (deployment/MDB_CLIENT_CONTRACT.md), and deploy runbook (deployment/DEPLOY_MDB_CATALOG.md).MDB_API_TOKENstays in gitignoredgui/workflow_backend/.env(neverVITE_*, never committed)./mdb, no catalog copy into Postgres, no sync/chat/agent routes, noMDB_ADMIN_TOKENin NeuroWorkflow.Test plan
cd gui/workflow_backend && poetry run pytest django-project/tests/test_catalog.py -qcd gui/workflow_frontend && npm test && npx tsc -bsrc/has no8004/VITE_MDBdeployment/DEPLOY_MDB_CATALOG.md: mdb joinsneuro-workflow_workflowasmdb-mindsdb; backendcurl http://mdb-mindsdb:8004/→ 200MDB_BASE_URL+MDB_API_TOKENin backend.envonly, SIGHUP gunicorn, rebuild frontend only, then login → Catalog → searchmouse→ open a DANDI row