Skip to content

feat(mcp): add MCP server settings: model, GraphQL API and settings page - #21587

Open
nwadams wants to merge 11 commits into
na--mcp-tagsfrom
na--mcp-settings
Open

nwadams wants to merge 11 commits into
na--mcp-tagsfrom
na--mcp-settings

Conversation

@nwadams

@nwadams nwadams commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Stack. Part of the series that adds a built-in MCP server to DataHub Core. Based on na--mcp-tags (#21501, the write tools); review only its own commits. Everything user-facing is behind MCP_SERVER_ENABLED, off by default.

Stack so far:

1–22. Merged to master as #21332.
23–34. #21435, the read tools.
35–46. #21501, the write tools (PRs 36–46 merged into it).
47–55. #21587, MCP settings: model, API and UI. ← this PR
56–60. #21588, telemetry, metrics, usage events and the stdio server.
61–64. #21589, docs, release notes and smoke tests.
65–68. #21590, settings enforcement and the tool catalog.
69–70. #21591, the home page module.
71–74. #21623, the ingestion tools.

What this does

Adds the MCP server settings: a model, a GraphQL API and a settings page. It combines what would have been stack PRs 47–55, one commit each.

Model and API

  • Settings model: mcpSettings in GlobalSettingsInfo. It holds the master switch, scoped servers and default-server overrides. The records match DataHub Cloud's, including ToolRefType's PLUGIN value, which DataHub Core doesn't use. Cloud's later merge is a schema no-op. It also adds the createMcpServersEnabled flag, off by default.
  • mcpSettings query: in a new mcp.graphql, so Cloud can keep an identical copy and add its own fields with extend. Any signed-in user can read it, because datahub-ai-service enforces the switch and the default server's overrides with each MCP caller's own token. Scoped servers are returned only to users who can manage platform settings; others get an empty list.
  • updateMcpSettings mutation: requires Manage Platform Settings. It upserts scoped servers by slug, validates slugs and View URNs, and refuses new scoped servers unless createMcpServersEnabled is on.

Settings UI

  • A Platform › AI settings page with an MCP Servers tab. Deployments can add their own tabs.
  • A tool picker backed by the tool catalog.
  • A server form for name, instructions and tools.
  • A Connect card with setups for Claude Code, Cursor, Claude Desktop (through mcp-remote), VS Code, other clients, and a Claude connector for public HTTPS URLs.
  • Core has a single server, so the page shows one server card with a single switch.

Testing

  • Java: McpSettingsResolverTest, UpdateMcpSettingsResolverTest, AppConfigResolverTest, the schema wiring and aspect-mapping tests, and PropertiesCollectorConfigurationTest.
  • Frontend: vitest on settingsV2, context/agents and homeV3: 743 tests. tsc --noEmit is clean once GraphQL types are regenerated.

Checklist

🤖 Generated with Claude Code

@github-actions github-actions Bot added product PR or Issue related to the DataHub UI/UX devops PR or Issue related to DataHub backend & deployment labels Nov 24, 2026
@cursor

cursor Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

PR Summary

Overview
Adds end-to-end MCP server configuration: a dedicated mcp.graphql schema, mcpSettings query and updateMcpSettings mutation on global settings, plus a Platform › AI settings area in the React app.

The GraphQL layer maps GlobalSettingsInfo.mcpSettings (master switch, observation toggles, scoped servers, default-server overrides) with read logic where any authenticated user gets policy fields but scoped server lists are hidden unless the caller can manage platform settings. Updates require Manage Platform Settings, upsert servers by slug with validation, and block new scoped servers unless createMcpServersEnabled is on (also exposed in app config).

The UI adds ToolSelector / ViewSelector backed by a cached /ai/catalog/tools fetch, an MCP Servers tab (single-server vs multi-server layouts), create/edit modals (instructions, tools, optional View scope), and a Connect card with per-client setup snippets (Claude, Cursor, ChatGPT, etc.). Java and Vitest coverage accompanies resolvers, mappers, and the new components.

Reviewed by Cursor Bugbot for commit eef657a. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@meticulous

meticulous Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🔴 Meticulous spotted visual differences in 1 of 802 screens tested: view and approve differences detected.

Meticulous evaluated ~18 hours of user flows which tested 29/2644 of the executable lines edited in your PR1.

1. These 2615 untested lines will likely automatically gain test coverage over the coming days, however if you wish to increase coverage immediately you can do so by interacting with your feature on localhost.

Last updated for commit eef657a fix(ui): find any View in the MCP server scope picker. This comment will update as new commits are pushed.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Smart test selection

pytest smoke tests

Mode: shadow. The selection below is computed but not applied; this PR still runs the default matrix (p0).

  • Selection: smart: tests for the tagged features, plus always-run modules, this PR's changed tests, and the plumbing sample if the PR changes the pytest harness
  • Size: 296 of 845 tests in 2 batches, predicted longest batch ~5 min
  • Tags: entity-scope: corpuser-corpgroup; feature-dev: aspect-validation, feature-flags, patch-semantics; feature-user: authorization, home-page, ownership, settings, views; technical-layer: graphql, react-frontend, spring-config
  • Confidence: MEDIUM (73 changed files)
  • Classifier reasoning: Adds a global MCP settings feature (GraphQL schema, resolvers, PDL models, validator, React settings and agent tool-picker UI) plus a createMcpServersEnabled feature flag; the views and authorization tags come from the Manage Platform Settings gating and View references, and no CI, build, or test-i…

Medium confidence: a wrong tag means tests are skipped, so check the tags above against what this PR touches.

Selected scopes (32 files or classes, 296 tests)
  • tests/e2e/authorization/test_aspect_write_auth.py
  • tests/e2e/authorization/test_container_view_auth.py
  • tests/e2e/authorization/test_credential_aspect_read_auth.py
  • tests/e2e/authorization/test_domain_scoped_create_entity_auth.py
  • tests/e2e/authorization/test_domain_scoped_create_entity_auth.py::TestDomainScopedCreateEntityAuth
  • tests/e2e/authorization/test_privilege_constraints_writes.py
  • tests/e2e/authorization/test_privilege_grant_auth.py
  • tests/e2e/authorization/test_query_entity_read_auth.py
  • tests/e2e/authorization/test_self_entity_auth.py
  • tests/e2e/authorization/test_view_entity_queries_privilege.py
  • tests/e2e/dataproduct/test_dataproduct_hierarchy_delete.py
  • tests/e2e/dev_tooling/test_dev_tooling.py
  • tests/e2e/domains/domains_test.py
  • tests/e2e/forms/forms_test.py
  • tests/e2e/frontend/test_static_asset_encodings.py
  • tests/e2e/mcp/mcp_test.py
  • tests/e2e/patch/test_datajob_patches.py
  • tests/e2e/patch/test_dataset_patches.py
  • tests/e2e/patch/test_domain_patches.py
  • tests/e2e/policies/test_policies.py
  • tests/e2e/policies/test_policy_eval_perf.py
  • tests/e2e/privileges/test_privileges.py
  • tests/e2e/read_only/test_policies.py
  • tests/e2e/read_only/test_services_up.py
  • tests/e2e/search/test_search_projection.py::TestSearchProjection
  • tests/e2e/structured_properties/test_structured_properties.py
  • tests/e2e/structured_properties/test_validator_error_messages.py
  • tests/e2e/test_authentication_e2e.py
  • tests/e2e/test_e2e.py
  • tests/e2e/test_system_info.py
  • tests/e2e/timeline/timeline_change_history_auth_test.py
  • tests/e2e/views/views_test.py

Add the run-all-tests:pytest label to run the full pytest suite on this PR.

Playwright E2E tests

This run: p0

  • Selection: p0: P0 tests plus the tests the change affects
  • Smart selection (shadow, not run): smart, 22 spec files (~12 min predicted on 2 shard(s)): specs tagged aspect-validation, authorization, feature-flags, home-page, ownership, patch-semantics, settings, views plus the tests the change affects
  • Size: 144 tests in 78 spec files, ~32 min predicted on 5 shard(s)
  • Baseline: 78 spec files run for every PR (@p0)
  • No spec was selected because of this PR's changes.

Add the run-all-tests:playwright label to run the full Playwright suite on this PR.

commit eef657a · workflow run

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Initial JS bundle size ➡️

Base (99f89b4) This PR Diff
index.html (/login) 249 KB 250 KB +0 KB (+0.0%)
Logged-in shell 1.07 MB 1.07 MB +0 KB (+0.0%)
/search 1.25 MB 1.25 MB +0 KB (+0.0%)
/ (home) 1.26 MB 1.26 MB +0 KB (+0.0%)

index.html is the login page; logged-in pages add the shell. Gzip of the JS loaded before first paint. Codecov reports total bundle including lazy chunks — these intentionally differ.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Boot web vitals (no backend)

Unauthenticated /login against the two dist/ trees from this job. No GMS — this is eager JS, not search/dataset payload. Lantern, desktop, 1x CPU. Does not forecast fleet p75; do not gate on LCP.

Web-vitals A/B — base (99f89b4) (A) vs pr (eef657a) (B)

Lighthouse 12.8.2, throttling simulate (cpu 1x, rtt 40 ms, 10240 kbps). Form factor: desktop. Cache: cold (fresh incognito context per run). target n=3/build, 1 warm-up discarded, alternating A,B.

Boot-only (no GMS). Unauthenticated login route — eager JS/CSS/font transfer and parse, not search/dataset payload. Do not treat as a fleet p75.

boot

Measured runs in the table: A 3/3, B 3/3.

metric A p50 B p50 Δ p50 Δ% A p95 B p95
fcp 763 ms 854 ms 91 ms +11.9% 857 ms 855 ms
lcp 1315 ms 1313 ms -2 ms -0.2% 1317 ms 1340 ms
cls 0.0000 0.0000 0.0000 — 0.0000 0.0000
tbt 15 ms 17 ms 3 ms +17.2% 18 ms 21 ms
tti 1316 ms 1314 ms -2 ms -0.2% 1318 ms 1341 ms
ttfb 1 ms 1 ms 0 ms -4.0% 1 ms 1 ms
transferredBytes 1076.6 KB 1076.7 KB 0.1 KB +0.0% 1076.6 KB 1076.7 KB
mainThread 301 ms 300 ms 0 ms -0.1% 301 ms 368 ms
bootup 164 ms 161 ms -3 ms -1.8% 167 ms 184 ms

Resource transfer by type (p50):

type A bytes B bytes Δ bytes A requests B requests
document 1.3 KB 1.3 KB 0.0 KB 1 1
script 644.8 KB 644.9 KB 0.1 KB 8 8
stylesheet 3.0 KB 3.0 KB 0.0 KB 2 2
image 48.7 KB 48.7 KB 0.0 KB 1 1
media 257.3 KB 257.3 KB 0.0 KB 1 1
font 106.6 KB 106.6 KB 0.0 KB 3 3
other 0.0 KB 0.0 KB 0.0 KB 0 0

LCP element A: div > div.sc-fpAkvV > div.sc-pRPz > p.sc-pNWdM — Welcome to DataHub
LCP element B: div > div.sc-fpAkvV > div.sc-pRPz > p.sc-pNWdM — Welcome to DataHub

These numbers rank changes and gate regressions against the measured origin(s). They do not sum across PRs and do not forecast any fleet-wide production number.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@lakshay-nasa lakshay-nasa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just the two backend tests to fix before merge

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

nwadams and others added 11 commits November 25, 2026 10:23
…bled flag

Adds the metadata model for configuring DataHub-hosted MCP servers, stored
in the existing GlobalSettingsInfo aspect (urn:li:globalSettings:0) as a new
optional mcpSettings field:

- McpSettings: master switch, observation telemetry/tool switches, scoped
  servers (exposed at /mcp/:slug) and overrides for the default /mcp server.
- McpServerConfig and McpInstructionSize: per-server name, instructions,
  instruction size, tool selection, scoping View and audit stamps.
- AIAgentToolRef and ToolRefType: the tool-selection reference a server's
  tools list is made of.

The records are copied from DataHub Cloud with identical field names and
types, so Cloud's later merge of this change is a schema no-op. The only
edit is dropping a comment that referred to Cloud-internal tracking.

Also adds the createMcpServersEnabled feature flag (CREATE_MCP_SERVERS_ENABLED,
off by default), named as in DataHub Cloud. When off, only the default
server and servers already stored can be changed; the GraphQL API that
follows enforces it. The flag is exposed in FeatureFlagsConfig through
AppConfigResolver and classified as non-sensitive for system info.

Tested: metadata-models build, datahub-graphql-core compile,
AppConfigResolverTest (flag mapped into appConfig) and
PropertiesCollectorConfigurationTest (the new flag is classified).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Exposes the MCP server settings stored in GlobalSettingsInfo.mcpSettings
through a dedicated query, following the per-feature settings pattern used
by globalViewsSettings and docPropagationSettings:

- Query mcpSettings: McpSettings, readable by any authenticated user like
  globalViewsSettings. When nothing is stored it returns the model defaults
  (everything enabled, no scoped servers, no default-server overrides).
- Types McpSettings, McpServerConfig, McpInstructionSize, AgentToolRef and
  ToolRefType, copied from DataHub Cloud's definitions so its UI queries keep
  working. McpServerConfig.view resolves viewUrn to the DataHubView.
- McpSettingsMapper maps the stored record to GraphQL; it is the MCP part of
  Cloud's SettingsMapper, and AgentToolRefMapper is ported from Cloud at the
  same path.

Left out on purpose because they rely on Cloud-only features: the domain
scoping fields (domainUrn/domain, which manage system Views), skills (the
agentSkill entity), and the built-in Ask DataHub default server that Cloud
returns when no override is stored. The stored fields stay in the model.

The types live in a new schema file, mcp.graphql, instead of app.graphql.
DataHub Cloud has the same types, so keeping them in a file of their own lets
Cloud hold an identical copy and add its own fields with `extend`. For that
reason the file is complete here, including the update inputs
(UpdateMcpSettingsInput, McpServerConfigInput, AgentToolRefInput); the
updateMcpSettings mutation that uses them follows in the next change.

Tested: McpSettingsResolverTest (defaults, non-admin read with full field
mapping, service failure) and the schema-wide wiring tests
(GmsGraphQLEngineWiringTest, GraphQLEngineTest, ResolverSourceReadGuardTest,
aspect-mapping tests). ResolverSourceReadGuardTest gets an allowlist entry
for McpServerConfig.view reading viewUrn, as in Cloud.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds updateMcpSettings(input: UpdateMcpSettingsInput!): Boolean!, which
read-modify-writes GlobalSettingsInfo.mcpSettings through SettingsService,
like updateGlobalViewsSettings. It requires the Manage Platform Settings
(MANAGE_GLOBAL_SETTINGS) privilege; OpenAPI and Rest.li writes of the
globalSettings entity already require the same privilege.

Behaviour, ported from the MCP part of DataHub Cloud's
UpdateGlobalSettingsResolver:

- Top-level switches change only when provided.
- Scoped servers are upserted by slug; servers not in the input are kept.
  Slugs must match [a-z0-9][a-z0-9-]* and must not be reserved (default,
  datahub-default, datahub, mcp). A slug that is not stored yet is rejected
  unless createMcpServersEnabled is on, so by default only the default
  server and existing servers can be changed.
- viewUrn must be a dataHubView URN; bad input is a client error.
- The created stamp is kept on update, lastModified is the caller.
- A default-server override that changes nothing is removed, so blanking
  it out reverts the default server to its built-in behaviour.

Differences from Cloud: no domain scoping (it manages Cloud system Views)
and no skills input, but stored skills are kept on update; the default
server's overrides never store a slug; scoped servers keep their order.
The input types it takes (UpdateMcpSettingsInput, McpServerConfigInput,
AgentToolRefInput) were added to mcp.graphql with the query, copied from
Cloud's definitions without those fields.

Tested: UpdateMcpSettingsResolverTest covers a new server written and read
back through McpSettingsMapper, the denied caller, the flag rejecting a new
slug, an existing server edited with the flag off, invalid slugs, a
non-View viewUrn, setting and clearing default-server overrides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds a Platform group with an AI item to the settings nav (admins with
Manage Platform Settings only) and a /settings/ai page whose tabs come
from a list: DataHub ships MCP Servers, and deployments add their own
tabs through additionalAiSettingsTabs. /settings/ai lands on the first
tab.

The MCP Servers tab has the master switch (turning it off asks first)
and the server list with each server's connection URL, which keeps the
base path DataHub is served under, and its on/off switch. Strings live
in a new settings.ai namespace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds the tool picker MCP server settings use to choose which tools a
server exposes, with the selection helpers it shares with the server
form. Tools are grouped by capability group; a group, a single tool or
everything can be switched on or off, and an empty selection means all
tools.

The picker reads the tool catalog from <base path>/ai/catalog/tools
(useMcpToolCatalog, response type McpToolCatalog) with the session's
auth. While the catalog loads or when it is unavailable, the picker
says so and offers a retry. The Agents tab and the opt-in groups only
appear when the catalog lists them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds the server form (name, description, base and custom instructions,
tools) and opens it from a server's name or edit button. The list gains
a Tools column showing what each server exposes, resolved against the
tool catalog, or the stored selection by name when the catalog is
unavailable; saving without a catalog keeps the stored selection.

Scoped servers stay behind createMcpServersEnabled. With it off (the
default) there is no Create button, slug, View scope picker, Scope
column or deleted-View alert, and a View stored on the default server
is kept on save. With it on, admins can create scoped servers and
limit a server to a View.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds a "Connect a client" card under the server list with a copyable
setup for Claude Code, Cursor, Claude Desktop (through the local
mcp-remote bridge), VS Code and other Streamable HTTP clients. The
connection URL keeps the base path DataHub is served under.

Authentication follows DataHub's token auth setting. When it is on, the
card links to the Access Tokens page and every setup sends an
Authorization header. When it is off, the setups send no token and the
card warns that MCP calls run as DataHub's system user with metadata
writes on, and how to turn them off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DataHub Core has a single MCP server, so with scoped servers off the settings
page no longer shows a one-row table with a second enable switch. It shows one
card with the on/off switch (same disable confirmation), the connection URL
with copy, the selected tools and an Edit button, then the Connect card.

The switch reads as on only when both the master setting and the default
server's own override are on. Turning it on also re-enables an override that
was off, so a hidden switch can't keep /mcp at 404; turning it off sets the
master setting off. The page uses singular wording ("MCP Server").

With scoped servers on (DataHub Cloud) the table, per-row switches and plural
wording are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude's custom connectors take a request header, so the Connect card gains
a "Claude (connector)" tab: Customize → Connectors → Add custom connector, the
connection URL, "No sign-in", and an `authorization` header of
`Bearer <token>` when DataHub token auth is on (no header when it's off, with
the system-user warning).

Connectors are called from Anthropic's cloud. The tab recommends them only for
a public HTTPS URL; for http, localhost, private or link-local addresses,
single-label hosts and internal names (.local, .localhost, .internal, .lan,
.home.arpa) it says Claude can't reach the URL and links to the local Claude
Desktop (mcp-remote) tab. It also notes that request headers are in beta for
some organizations and that on Team / Enterprise an owner's header is shared
by every member. ChatGPT's developer-mode connectors offer only OAuth or no
auth, so there is no ChatGPT tab.

The card is now built from a shared McpConnectSetup component, which the home
page module reuses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add McpSettingsValidator, an AspectPayloadValidator on globalSettingsInfo
  registered in SpringStandardPluginConfiguration, so slug format, reserved
  slugs, unique slugs and dataHubView-only viewUrns hold for every write
  path. A write that keeps a problem already stored is allowed. The
  updateMcpSettings resolver reuses its slug and View checks for its errors.
- updateMcpSettings now starts from the stored server config, so fields the
  input does not carry (domainUrn, skills) survive an update.
- A default-server override with only a name is kept instead of being
  treated as empty; a stored domain scope also keeps it.
- Tool refs whose type the GraphQL enum lacks (PLUGIN, or a value from a
  newer schema) are left out of reads instead of shown as TOOL, and
  updateMcpSettings keeps them, so a load and save no longer retypes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ViewSelector sends its search text to listMyViews and listGlobalViews
  (debounced) instead of filtering only the first page client-side, so a
  View past the first page can still be found and picked.
- When the saved View is not in the listed results, it is looked up with
  getView so the picker keeps showing its name rather than an empty value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nwadams

nwadams commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator Author

@lakshay-nasa both backend tests are fixed:

  • UnsafeEnumValueOfLintTest: McpSettingsMapper maps the instruction size through PdlEnumMapper.
  • GraphQLResolverAuthorizationSweepTest: mcpSettings now checks the caller. Any signed-in user still reads the switch and the default server's overrides, which datahub-ai-service enforces with each caller's token, but scoped servers come back only to users who can manage platform settings.

The open Cursor findings on this PR are fixed too, including a new McpSettingsValidator so the slug and View checks cover every write path.

🤖 Addressed by Claude Code

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit eef657a. Configure here.

const isDefault = editing?.isDefault ?? false;

const [slug, setSlug] = useState(editing?.slug ?? '');
const [name, setName] = useState(editing?.name ?? '');

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default server name always persisted

Medium Severity

The default-server row uses the display label Default when no override name exists, and the edit form initializes name from that row. Saving or toggling therefore sends a non-blank name, so isEffectivelyEmptyOverride never treats the payload as empty. Admins cannot revert the default server to built-in behaviour from the UI, and a no-op save writes a real override.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit eef657a. Configure here.

: new AIAgentToolRefArray();
tools.addAll(kept);
return tools;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All-tools save drops built-in tools

Medium Severity

When the client omits tools (empty selection means all tools) and stored refs include unrepresentable types such as PLUGIN, mergeTools writes only those hidden refs. That list is a restriction, not “all tools”, so built-in tools are dropped on save.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit eef657a. Configure here.

private boolean browserWebVitalsEnabled = false;
// Lets admins create scoped MCP servers (/mcp/:slug) next to the default one. Off: only servers
// already stored in mcpSettings, and the default server's overrides, can be changed.
private boolean createMcpServersEnabled = false;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-through gap

Medium Severity

FeatureFlags gained createMcpServersEnabled, but scripts/generated/flag-classification.json was not refreshed via scripts/dev/datahub-dev.sh sync-flags. Flag classification and any CI that diffs that manifest stay stale for the new flag.

Fix in Cursor Fix in Web

Triggered by project rule: DataHub Bugbot rules

Reviewed by Cursor Bugbot for commit eef657a. Configure here.

This branch was successfully deployed

2 active deployments
Preview — eef657a5 Deployed Nov 25, 2026 by vercel[bot]
datahub-project-web-react (Preview) — eef657a5 Deployed Nov 25, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops PR or Issue related to DataHub backend & deployment product PR or Issue related to the DataHub UI/UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants