feat(homepage): add a Connect AI Tools module for the MCP server

NW
2d ago
+883-35

Stack. Part of the series that adds a built-in MCP server to DataHub Core. Based on na--mcp-settings-enforcement (#21590); review only its own commits.

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.
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. ← this PR
71–74. #21623, the ingestion tools.

What this does

A Connect AI Tools home page module for the MCP server. It combines what would have been stack PRs 69–70, one commit each.

  • Module type: a new MCP page module type, seeded on new home pages. The page-modules bootstrap step goes from v10 to v13, the version DataHub Cloud already uses, so Cloud's merge keeps its version.
  • The module: setup buttons for Claude, Cursor, Claude Code and Other. Each opens the same setup as the settings page's Connect card.
  • Footer: admins get "Manage MCP server", and everyone else gets the setup guide.
  • When MCP is off: the template hides the module and its row, and admins editing the org default see a placeholder they can remove. The add-module menu offers it only while MCP is on.

Testing

  • Frontend: vitest on homeV3, settingsV2 and context/agents: 758 tests. tsc --noEmit is clean once GraphQL types are regenerated.
  • Java: AppConfigResolverTest and PropertiesCollectorConfigurationTest.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly PR Title Format)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). Covered by the MCP docs in #21589.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Breaking Changes. Not applicable: off by default.

🤖 Generated with Claude Code