Skip to content

Add interactive MCP workflow app for status, overview, and control#31

Merged
SamMRoberts merged 2 commits intodev/remove-uifrom
copilot/implement-mcp-app-workflow-status
Apr 10, 2026
Merged

Add interactive MCP workflow app for status, overview, and control#31
SamMRoberts merged 2 commits intodev/remove-uifrom
copilot/implement-mcp-app-workflow-status

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 10, 2026

This updates the Specrail MCP workflow surface from a passive payload viewer to an interactive MCP App. Hosts can now render workflow state, feature/outcome overview, test readiness, delegation prompts, and guided control actions from a single ui://specrail/workflow app.

  • MCP App contract

    • Upgrades ui://specrail/workflow to an MCP Apps resource with text/html;profile=mcp-app
    • Advertises io.modelcontextprotocol/ui server capability
    • Adds UI resource metadata so hosts can treat the workflow panel as a first-class app surface
  • Workflow app UI

    • Replaces the placeholder JSON panel with a control center for:
      • current workflow status and blockers
      • feature/outcome overview board
      • outcome test review details
      • delegation payloads
      • quick workflow controls for refresh, resume, activate, implement, verify, and advance
    • Preserves delegated prompts in-app instead of dropping them on refresh
  • Tool integration

    • Attaches _meta.ui.resourceUri to the key workflow tools so hosts can render results into the workflow app consistently
    • Uses existing structured workflow actions and overview payloads as the control model rather than introducing a parallel UI-only state machine
  • Bridge hardening

    • Adds MCP app handshake/display-mode support
    • Reports dynamic size to the host
    • Tightens message handling around trusted parent/host origin tracking for iframe bridge traffic
  • Docs and contract coverage

    • Updates MCP server coverage to assert the new app MIME type, extension capability, and tool UI metadata
    • Refreshes plugin docs to describe the workflow app as an interactive MCP surface

Example of the updated MCP app wiring:

{
  "name": "specrail_status",
  "_meta": {
    "ui": {
      "resourceUri": "ui://specrail/workflow",
      "visibility": ["model", "app"]
    }
  }
}

Copilot AI and others added 2 commits April 10, 2026 02:22
Agent-Logs-Url: https://github.com/SamMRoberts/spec-rail/sessions/a2ac24c7-da8c-46ac-81e8-9857c1a062cb

Co-authored-by: SamMRoberts <34843619+SamMRoberts@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SamMRoberts/spec-rail/sessions/a2ac24c7-da8c-46ac-81e8-9857c1a062cb

Co-authored-by: SamMRoberts <34843619+SamMRoberts@users.noreply.github.com>
@SamMRoberts
Copy link
Copy Markdown
Owner

@copilot can you share screenshots of the new workflow MCP App UI?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 10, 2026

@copilot can you share screenshots of the new workflow MCP App UI?

Shared one of the workflow MCP App screenshots below from commit 3876a61.

Specrail Workflow MCP App overview

If you want, I can follow up with a second shot showing the active/delegation state as well.

Copilot AI requested a review from SamMRoberts April 10, 2026 02:38
@SamMRoberts SamMRoberts marked this pull request as ready for review April 10, 2026 02:41
@SamMRoberts SamMRoberts merged commit bf9480c into dev/remove-ui Apr 10, 2026
1 check passed
@SamMRoberts SamMRoberts deleted the copilot/implement-mcp-app-workflow-status branch April 10, 2026 03:21
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.

2 participants