Skip to content

[BUG] [v0.0.7] MCP Manager Add Stdio Server silently ignores submission with empty Name or Command #40906

@rockchris099

Description

@rockchris099

Project

cortex

Description

In src/cortex-tui/src/modal/mcp_manager/handlers.rs:193-203, when Enter is pressed with empty Name or Command fields, the handler returns ModalResult::Continue with no error message, toast, or visual feedback. The user presses Enter and nothing happens.

Error Message

Debug Logs

System Information

windows 11

Screenshots

Screencast.from.2026-03-29.17-52-46.webm

Steps to Reproduce

  1. Open MCP Manager (Ctrl+E).
  2. Press 'a' to add a new server, select stdio.
  3. Leave the Name field empty.
  4. Press Enter.

Expected Behavior

An error message should appear: "Server name is required" or the field should be highlighted in red.

Actual Behavior

Nothing happens. No feedback is provided. The form stays open with no indication of what went wrong.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingideIssues related to IDEvalidValid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions