Skip to content

Conversation

gpeal
Copy link
Collaborator

@gpeal gpeal commented Oct 15, 2025

  1. If Codex detects that a codex mcp add -url … server supports oauth, it will auto-initiate the login flow.
  2. If the TUI starts and a MCP server supports oauth but isn't logged in, it will give the user an explicit warning telling them to log in.

Some(McpAuthStatus::NotLoggedIn)
) {
format!(
"The {server_name} MCP server is not logged in. Run `codex mcp login {server_name}` to log in."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for a followup, but it would be nice if we could do /mcp login {server_name} to avoid having to quit / reopen.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed!

@gpeal gpeal merged commit 8a281cd into main Oct 15, 2025
20 checks passed
@gpeal gpeal deleted the gpeal/prompt-mcp-login branch October 15, 2025 16:27
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants