feat(dash): ADR-0013 per-agent MCP clients view (#263)#300
Merged
Conversation
Closes #206 (wire MCP page to real backend) and #263. - ui/src/api/endpoints.ts: agentMcpClients (list) + agentMcpClient(name). - ui/src/api/hooks/useAgentMcpClients.ts: useAgentMcpClients with a baked-in mock fallback so the dashboard renders against #287 + pre-#293 builds without 404 noise. Mock matches ADR-0013 §2 worked example (Hermes with hal0-admin + hal0-memory + filesystem + opt-in github). - ui/src/dash/mcp.jsx: mode toggle Servers | Clients at the top of the McpView. Clients view = one card per installed agent, each showing every [mcp.servers.*] with a green/yellow/red health dot, bundled/disabled chips, the three-tier tool classification chips (allow=ok, gated=amber, blocked=err), and an auth chip surfacing bearer-from-env status without ever rendering the token value itself. - ui/tests/e2e/specs/mcp-clients-v3.spec.ts: 4 skip-marked Playwright cases (mode toggle, hermes card, chip render, no-token-leak); unskip when the v3 spec wave goes live. ADR-0013 §8: read-only in v0.3 alpha; v0.3 stable adds the editor. Verified: npm run build + npm run typecheck both clean. Depends on #293 (backend) — open. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…cp-agents # Conflicts: # ui/src/api/endpoints.ts # ui/src/api/hooks/index.ts
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.
ADR-0013 §8 dashboard surface — read-only alpha. Closes #206 + closes #263.
Summary
Test plan
npm run buildcleannpm run typecheckcleanDepends on #293 (open).
🤖 Generated with Claude Code