Skip to content

feat(dash): ADR-0013 per-agent MCP clients view (#263)#300

Merged
thinmintdev merged 2 commits into
mainfrom
feat/0013-dashboard-mcp-agents
May 23, 2026
Merged

feat(dash): ADR-0013 per-agent MCP clients view (#263)#300
thinmintdev merged 2 commits into
mainfrom
feat/0013-dashboard-mcp-agents

Conversation

@thinmintdev
Copy link
Copy Markdown
Contributor

ADR-0013 §8 dashboard surface — read-only alpha. Closes #206 + closes #263.

Summary

Test plan

Depends on #293 (open).

🤖 Generated with Claude Code

thinmintdev and others added 2 commits May 23, 2026 19:35
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
@thinmintdev thinmintdev merged commit 8c57ccf into main May 23, 2026
2 of 4 checks passed
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.

ADR-0013: dashboard — /agents/mcp per-agent view (read-only alpha; editable stable) v3: wire MCP page (/agents/mcp) to real backend

1 participant