A way to reload MCP server

Resolved 💬 3 comments Opened Dec 9, 2025 by cheezmil Closed Jan 31, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 8 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #7318

Powered by Codex Action

etraut-openai contributor · 6 months ago

This feature request has not received any upvotes in the past two months, so I'm going to close it.

0x80O0oOverfl0w · 3 months ago

Well consider this an upvote, because having to close vscode and reopen it, reconnect to codex, wait for your previous session to load every time you load a different binary into IDA Pro (which forces an MCP server restart) is a major pain. There absolutely needs to be an /mcp refresh, doesn't need to be as verbose at what Claude Code does, but a simple reconnect would save a lot of time. I know that Codex CLI is an option, but the major reason I don't use CLI is because copy and pasting multi-line terminal commands generated by Codex doesn't paste properly in terminals.