Skip to content

Commit d489690

Browse files
TUI: fix MCP docs hyperlink in empty_mcp_output (#2907)
- Summary: - Updated the hardcoded hyperlink shown when no MCP servers are configured to point at the canonical docs section: - From: codex-rs/config.md#mcp_servers (moved/obsolete) - To: docs/config.md#mcp_servers (correct GitHub path) - Rationale: - The TUI link was pointing to a file that only redirects; this makes the link accurate and reduces user confusion. - Validation: - Verified that the target anchor exists at: https://github.com/openai/codex/blob/main/docs/config.md#mcp_servers - UI behavior unchanged otherwise (rendering of link text remains “MCP docs”). - Impact: - One-line change in TUI display logic; no functional behavior change. Co-authored-by: Michael Bolin <[email protected]>
1 parent 3f76220 commit d489690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codex-rs/tui/src/history_cell.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ pub(crate) fn empty_mcp_output() -> PlainHistoryCell {
10321032
" • No MCP servers configured.".italic().into(),
10331033
Line::from(vec![
10341034
" See the ".into(),
1035-
"\u{1b}]8;;https://github.com/openai/codex/blob/main/codex-rs/config.md#mcp_servers\u{7}MCP docs\u{1b}]8;;\u{7}".underlined(),
1035+
"\u{1b}]8;;https://github.com/openai/codex/blob/main/docs/config.md#mcp_servers\u{7}MCP docs\u{1b}]8;;\u{7}".underlined(),
10361036
" to configure them.".into(),
10371037
])
10381038
.style(Style::default().add_modifier(Modifier::DIM)),

0 commit comments

Comments
 (0)