You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows (PowerShell), profile-scoped MCP server enablement does not appear to take effect. MCP servers only load when enabled at the top level or when forced via CLI override.
changed the title [-]Profiles: profile-scoped MCP enable not applied on Windows (v0.84.0)[/-][+]Profiles: profile-scoped MCP configuration[/+]on Jan 16, 2026
This is a key feature for proper subagent support as well. I don't want my main agent using playwrite, context7, etc I want to force it to delegate to subagents.
I love codex, but this feature (along with WIP subagents) is currently forcing me to use OpenCode instead. Which is a bummer because the codex app is so nice.
Reacted by Alexey Dubinin, Kaden Wilkinson, Aleksy Rudy, Alex Yessipovskiy, Michal Bradáč, Rodion and Kien Tran
On Windows (PowerShell), profile-scoped MCP server enablement does not appear to take effect. MCP servers only load when enabled at the top level or when forced via CLI override.
[profiles.ha.mcp_servers.github]
enabled = false
[profiles.ha.mcp_servers.n8n]
enabled = false
[profiles.ha.mcp_servers.home-assistant]
enabled = true $env:HA_AGENT_KEY is present in the same shell before launching Codex.
Steps to Reproduce
Run codex --profile ha
Run /mcp in the Codex REPL
Actual
/mcp shows No MCP tools available.
Expected
Home Assistant MCP server should be loaded because profiles.ha.mcp_servers.home-assistant.enabled = true.
Workarounds that work
Enable the MCP server at the top level ([mcp_servers.home-assistant] enabled = true), or
Force enable via CLI override: codex --profile ha -c 'mcp_servers.home-assistant.enabled=true'
Notes
This looks like profile-scoped MCP enablement is not being applied (or is being overridden) in v0.84.0 on Windows.
I operate a digital agency and manage several separate n8n accounts for different clients and internal projects.
Codex needs to support multiple named n8n MCP connections simultaneously, with a separate URL, authentication state, credentials and permissions for each connection.
Each Codex project should be able to select its authorised n8n connection without overwriting another connection or requiring repeated authentication.
Separate Codex agents and projects should also be able to work with different n8n accounts concurrently, while maintaining strict isolation between client environments.
Activity
etraut-openai commentedon Jan 16, 2026
Yes, profiles don't currently support MCP configurations.
I'll change this to a feature request, and we can see if other Codex users upvote it.
[-]Profiles: profile-scoped MCP enable not applied on Windows (v0.84.0)[/-][+]Profiles: profile-scoped MCP configuration[/+]maheshrijal commentedon Jan 16, 2026
I use the Grafana MCP for work, but it always takes up so much context. I'd love to see this implemented.
[-]Profiles: profile-scoped MCP configuration[/-][+]Enable MCP Settings Per Profile[/+][-]Enable MCP Settings Per Profile[/-][+]👍Enable MCP Settings Per Profile[/+]CodyDunlap commentedon Jan 17, 2026
This is also true on Mac/Linux. This would be a super helpful feature.
altnp commentedon Feb 10, 2026
This is a key feature for proper subagent support as well. I don't want my main agent using playwrite, context7, etc I want to force it to delegate to subagents.
I love codex, but this feature (along with WIP subagents) is currently forcing me to use OpenCode instead. Which is a bummer because the codex app is so nice.
[-]👍Enable MCP Settings Per Profile[/-][+]Enable MCP Settings Per Profile[/+]WilliamGetsAI commentedon Aug 1, 2026
I operate a digital agency and manage several separate n8n accounts for different clients and internal projects.
Codex needs to support multiple named n8n MCP connections simultaneously, with a separate URL, authentication state, credentials and permissions for each connection.
Each Codex project should be able to select its authorised n8n connection without overwriting another connection or requiring repeated authentication.
Separate Codex agents and projects should also be able to work with different n8n accounts concurrently, while maintaining strict isolation between client environments.
etraut-openai commentedon Aug 5, 2026
Profile v2 full-config files support profile-specific MCP definitions.