Skip to content

/mcp panel: surface failed-MCP error message (blocked on protocol) #10

Description

@ssjoleary

Follow-up from the Phase 7 (PR #2) merge review.

Gap

Phase 7 spec: "last error message if failed" / stopping criterion "Failed MCPs surface their error message in the panel."

Currently failed rows render a generic " (check ~/.cache/eca/eca-cli.log)" hint instead of the actual error.

Why deferred (blocked)

Verified against the ECA protocol: MCPServerUpdatedParams (../eca/docs/protocol.md:2747-2799) has fields command, args, url, status, disabled, hasAuth, tools, prompts, resourcesno error field. The generic hint is the best available client-side. Surfacing the real error requires an upstream ECA protocol change to include an error/detail field on tool/serverUpdated.

Acceptance

  • Upstream: tool/serverUpdated carries a failure detail/error field.
  • Client: failed rows render that error in the panel (and/or on Enter-to-expand, see the expand ticket).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions