A way to reload MCP server
What version of Codex is running?
codex-cli 0.66.0
What subscription do you have?
business
Which model were you using?
gpt-5.1
What platform is your computer?
$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" }) ParserError: Line | 1 | $([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Env … | ~~ | Unexpected token '$(' in expression or statement..Write-Output "$([Environment]::OSVersion.VersionString) $(if ([Environment]::Is64BitOperatingSystem) { 'x64' } else { 'x86' })" Microsoft Windows NT 10.0.22631.0 x64
What issue are you seeing?
Modifying config.toml does not refresh in the current chat MCP server, nor does it work in a new chat.
What steps can reproduce the bug?
PS D:\CodeRelated\AI\MCP\mcphub-github\mcphub> codex mcp remove mcphub; codex mcp add mcphub --url http://127.0.0.1:1035/mcp
Removed global MCP server 'mcphub'.
Added global MCP server 'mcphub'.
MCP server supports login. Add experimental_use_rmcp_client = true to your config.toml and run codex mcp login mcphub to login.
PS D:\CodeRelated\AI\MCP\mcphub-github\mcphub>
This doesn't work unless restart the vscode window; if using codex in the terminal, need to restart the codex terminal.It's too much trouble.
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗