Skip to content

refactor(mcp-ui): remove the list views and replace the mock host with MCP Inspector - #568

Merged
Rodriguespn merged 4 commits into
mainfrom
Rodriguespn/mcp-ui-host-vs-inspector
Nov 17, 2026
Merged

Rodriguespn merged 4 commits into
mainfrom
Rodriguespn/mcp-ui-host-vs-inspector

Conversation

@Rodriguespn

@Rodriguespn Rodriguespn commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Removes the list_projects and list_tables POC views so the create_project view can land on its own, and replaces the mcp-ui mock host with MCP Inspector.

Context: team-ai Slack thread. The flag-gated MCP Apps plumbing from #551 stays.

How to review this PR

  1. 73895ef fix(mcp-ui): vite build --app succeeds with zero views. Otherwise Vite tries to build a root index.html that doesn't exist.
  2. 3425dfb fix(dev): pnpm dev:http stays up with zero views. Otherwise the view watcher exits and stops every watcher.
  3. 555298d refactor(mcp-apps): removes the two views and their tool links. server.apps.test.ts now derives the view URIs from getAppResources(), so it covers whichever views exist.
  4. 057e481 refactor(mcp-ui): deletes packages/mcp-ui/dev/ and adds pnpm inspector, which opens Inspector against pnpm dev:http with ?experimental_apps=true, the token header and the modern protocol.

The zero-view guards come first, so every commit builds on its own. Adding the Inspector also lifts the shared hono in the lockfile from 4.13.5 to 4.13.19, and most of the lockfile diff is the Inspector itself.

Verified that every commit passes the mcp-ui build and the server typecheck, that server.apps.test.ts passes, that pnpm dev:http stays up with no views, and that pnpm inspector connects on the 2026-07-28 protocol.

Rodriguespn and others added 4 commits November 17, 2026 14:59
The flag-gated MCP Apps plumbing stays, so the create_project view can land on its own.

Co-Authored-By: Claude <[email protected]>
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 44113800053

Warning

No base build found for commit 0dbacba on main.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 97.729%

Details

  • Patch coverage: 1 of 1 lines across 1 file are fully covered (100%).

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 6299
Covered Lines: 6175
Line Coverage: 98.03%
Relevant Branches: 1362
Covered Branches: 1312
Branch Coverage: 96.33%
Branches in Coverage %: Yes
Coverage Strength: 293.41 hits per line

💛 - Coveralls

@Rodriguespn
Rodriguespn marked this pull request as ready for review November 17, 2026 16:06
@Rodriguespn
Rodriguespn requested a review from a team as a code owner November 17, 2026 16:06
@Rodriguespn
Rodriguespn merged commit 6da8584 into main Nov 17, 2026
5 checks passed
claude Bot pushed a commit that referenced this pull request Nov 17, 2026
Main (#568) removed the list views and LIST_PROJECTS_UI_URI, so the
skills x apps matrix test now checks whatever views getAppResources
returns, matching server.apps.test.ts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01REAnGWxMnmwfehoF4c4VKS
Rodriguespn added a commit that referenced this pull request Nov 17, 2026
…ode-server to 2.1.8 (#571)

`@hono/[email protected]` (pulled in by the MCP Inspector dev dependency
from #568) was published hours before the lockfile was regenerated. The
DepthFirst dependency firewall returns a 451 for it, so `pnpm install`
fails in `publish-preview.yml` and would also fail in `release.yml`,
which blocks the release PR (#567).

- Moves the inspector's `@hono/node-server` in the lockfile from 2.1.9
to 2.1.8 (the lockfile diff only touches the 2.1.9 entries).
- Adds `minimumReleaseAge: 10080` (7 days) to `pnpm-workspace.yaml` so
pnpm doesn't resolve versions that fresh again. This replaces the
override and the need to remove it later.

The setting only applies when pnpm resolves versions. Frozen installs
(CI, release) are unaffected, but a non-frozen `pnpm install`/`pnpm
update` can refuse a few already-locked versions published in the last 7
days (e.g. `[email protected]`, `[email protected]`) until they age out.

The `publish-preview` label is applied so the preview job runs its
install through the firewall.

Closes AI-1512

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants