/mcp
The slash command to list MCP tools and log in to MCP servers; /mcp login since 0.161.0.
Specs
Verified:
- Kind
- Slash command (inside TUI session)
- Syntax
- /mcp [verbose | login <name> [--environment <id>]]
- First seen
- —unverified
- Inline args
- Supported
The official description of /mcp is "list MCP tools; /mcp verbose or /mcp login <name> [--environment <id>]". 0.161.0 (2026-10-07) added /mcp login — initiate login to a configured MCP server inside the active terminal session (#49290), complementing 0.158.0's `codex mcp add --oauth-client-secret` for pre-registered-secret auth paths. The command's own first-seen version is unverified.
Timeline
- 0.161.0: /mcp login — start an MCP server login inside the active session (#49290)
Key features
- List connected MCP tools (/mcp verbose for detail)
- /mcp login <name> to start a server login in-session
- --environment flag for multi-environment registrations
Use cases
When MCP tools don't show up, check /mcp for connection state; use /mcp login for OAuth-gated servers in place.
Install
`/mcp` lists tools; `/mcp verbose` shows detail; `/mcp login <server>` starts login.
Caveats
Servers live in the config.toml mcp_servers section — a misconfigured server won't show up in /mcp at all.
Added
Updated
Verified