Skip to content

fix(mcp): stop saying 'Not started' on tray rows while the tray says they connect on send - #51172

Merged
AmoabaKelvin merged 1 commit into
mainfrom
mcp-tray-quiet-at-rest
Nov 27, 2026
Merged

AmoabaKelvin merged 1 commit into
mainfrom
mcp-tray-quiet-at-rest

Conversation

@AmoabaKelvin

@AmoabaKelvin AmoabaKelvin commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

Before a chat's first message, the MCP tray already says its servers "Connect when you send your next message". Each row then repeated "Not started", which read like something was broken that you had to fix. Those rows now show just the server name.

Files Added Deleted Net
Test 0 0 0 0
Prod 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​12 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​9

What Changed

  • Before: in the /mcp tray before a chat's first message (desktop and phone), each server waiting for that message read "Not started" under a header that already said they connect on send.
  • After: those rows show the name and a grey dot only. Rows that need something from you are unchanged: "Needs sign-in", "Disabled", failures.
  • Mechanism: the row hides the not-started status text only while the tray's answer is not-running. The same status elsewhere, such as Codex's cold list, keeps its text.

Why

Kelvin asked what "Not started" meant and how to start a server. Nothing needs starting: the agent starts its servers with the chat on the first message. The header already says that, so the per-row text added only doubt. This doesn't change which strings are used, only where they show.

Linked Issue

N/A, internal follow-up to the MCP servers work (#50908).

Visual Proof

Before: each waiting row read "Not started" (the at-rest tray from #50908). After:

Dark Light

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below
  • Every added test fails without this change and avoids the test anti-patterns

Rendered the NativeChatMcpTray:orcaServersAtRest fixture in dark and light (shots above) on macOS. pnpm check:changed passed. No test: this is copy and visibility in a view.

Performance

None, because this only changes which text a tray row renders.

Risk

Low. The worst case is a row with no status text where one would help. Only the not-running tray is affected, and that tray already shows the hint. Plain revert.

Level: Low

AI Disclosure

Review

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

The phone row reads the same tray answer, so desktop and phone match. The at-rest rows only exist behind the MCP servers switch until turn-on (#48972).

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The mobile panel and renderer tray now hide the status line for a server with not-started status when the panel result is not-running. Other status formatting remains unchanged. In the renderer, sign-in text retains precedence.

Merge Risk: Minimal · up to 11bee

The MCP tray and mobile panel no longer show "Not started" on idle rows that connect when the next message is sent. Rows needing user action are unchanged. No merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: MCP tray rows stop showing 'Not started' while the tray says they connect on send. The raw summary and objectives show the same change, so the title is related to the main …
Description check Passed The description follows the repository template and fills in the main sections: ELI5, What Changed (before/after and mechanism), Why, Visual Proof with dark and light images, Testing, Performance, Ris…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: MCP tray rows stop showing 'Not started' while the tray says they connect on send. The raw summary and objectives show the same change, so the title is related to the main change. It is specific and conventional, with a fix(mcp) prefix.

Full details: Description check

Explanation

The description follows the repository template and fills in the main sections: ELI5, What Changed (before/after and mechanism), Why, Visual Proof with dark and light images, Testing, Performance, Risk with level, and a checklist. The Linked Issue section says N/A and gives an internal follow-up reference, not an actual issue link. The template says outside contributors need a linked issue, but this author is an internal contributor, so that gap does not block the check. The AI Disclosure section is empty, which the template allows for internal team members. The final lint/typecheck/test/build checkbox is unchecked, with a note that CI will cover it. The Testing section says manual testing was done and no automated test was added, with a reason.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 16ef8feb-16b8-4dc6-b076-0f67ca0fcaf2
Commits

Reviewing files that changed from the base of the PR and between 0e27443 and 11bee7a.

Files selected for processing: 3

  • mobile/src/session/native-chat/mcp/MobileNativeChatMcpPanel.tsx
  • src/renderer/src/components/native-chat/mcp/NativeChatMcpServerRow.tsx
  • src/renderer/src/components/native-chat/mcp/NativeChatMcpTray.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.

@AmoabaKelvin
AmoabaKelvin merged commit 5f27429 into main Nov 27, 2026
57 checks passed
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.

1 participant