Skip to content

/mcp panel: Enter-to-expand server details #8

Description

@ssjoleary

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

Gap

Phase 7 spec (docs/roadmap.md) states as a goal: "can drill into details when one fails", and stopping criteria: "Selecting an entry expands its details" / "Panel keybindings: arrow nav, Enter to expand, Escape to close."

Currently mcp/handle-key: Enter on a requires-auth row dispatches connect; Enter on every other row (including failed) is a no-op. There is no expansion state, and stored detail fields (command, args, url, prompts, resources from MCPServerUpdatedParams) are never rendered. A failed server cannot be drilled into at all — the headline "drill into details" goal is unmet.

Scope

Acceptance

  • Enter on a failed/running row expands to show command/args/url/tool names.
  • Enter again (or Escape) collapses.
  • Regression test in test/eca_cli/mcp_test.clj.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions