feat(mcp-consent): render inventory stats as an MCP App dashboard - #447
Conversation
Hosts that support MCP Apps get cookie and data-flow triage counts as KPI cards and progress bars; other hosts still receive the same JSON payload.
@transcend-io/airgap.js-types
@transcend-io/cli
@transcend-io/design-tokens
@transcend-io/internationalization
@transcend-io/privacy-types
@transcend-io/sdk
@transcend-io/type-utils
@transcend-io/utils
@transcend-io/mcp
@transcend-io/mcp-server-admin
@transcend-io/mcp-server-assessment
@transcend-io/mcp-server-base
@transcend-io/mcp-server-consent
@transcend-io/mcp-server-discovery
@transcend-io/mcp-server-docs
@transcend-io/mcp-server-dsr
@transcend-io/mcp-server-inventory
@transcend-io/mcp-server-preferences
@transcend-io/mcp-server-workflows
commit: |
|
Drafting to explore another angle for this tool |
dawson-turechek-transcend
left a comment
There was a problem hiding this comment.
Looks great!
| * | ||
| * columns: 1 with vertical gap is the implicit page stack. | ||
| */ | ||
| export function Grid({ columns, children }: GridProps) { |
There was a problem hiding this comment.
Do you think these UI components are generically usable enough to warrant moving them to a shared package?
There was a problem hiding this comment.
Yeah sorry, I asked agent to create the PR but forgot to draft it. It should go to shared components!
| @@ -0,0 +1,2 @@ | |||
| # Vite-built MCP App views, rebuilt by `pnpm prebuild` | |||
| src/ui/generated/ | |||
There was a problem hiding this comment.
Should we put this for all mcp packages?
There was a problem hiding this comment.
It only needs then when packages have MCP apps
There was a problem hiding this comment.
Should have worded that one better. I was thinking of adding it to the root .gitignore with packages/mcp/**/ui/generated.
There was a problem hiding this comment.
That would work! I will put it in separate PR so that lakitu team can review it without blocking this
Closes ZEL-8213
Summary
consent_get_inventory_statswith an MCP App variant that renders cookie and data-flow triage counts (live / needs review / junk) as KPI cards and progress bars.Test plan
pnpm --filter @transcend-io/mcp-server-consent build:uithenbuild/typecheck/typecheck:ui/testpnpm mcp:inspect consent— callconsent_get_inventory_statson an Apps-capable host and confirm_meta.uiplus the dashboardconsent_get_inventory_stats_refresh{ cookies, dataFlows }text/JSONMade with Cursor