Skip to content

[Windows] VS Code extension enabled in a Remote-SSH session to Ubuntu is having issues using MCP servers #8260

Closed

Description

@TheStormN

What version of Codex is running?

0.60.1

What subscription do you have?

Company provided Enterprise plan

Which model were you using?

GPT-5.1-Codex

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

I'm on Windows and I remotely connect to a Ubuntu 22.04 machine using the Remote-SSH extension. The Codex extension is also installed and available on the remote session. It is able to read and edit the code.

Recently I've added a few MCP servers to the config.toml file. I used the plugin settings icon to open it to make sure I'm editing the correct file. I've added the servers, saved it, restarted VS Code(even restarted the remote Ubuntu box). However, Codex is not using the MCP servers at all and when I asked what MCP servers it currently can use it said that there are no server configured.

I've asked it to list the contents of the config.toml file which is currently using with the absolute file path to it. It showed the correct file. I even opened an external SSH session to check it and the file is there, having the correct contents. When I used it to print the contents of the file I also see the correct result.

After that, it started seeing, listing and using the MCP servers correctly. However, the problem is I have to "convince" it to re-read the file for each new session which is really inconvenient.

What steps can reproduce the bug?

  • Install VS Code on Windows with Codex and Remote-SSH extension and any other language tools you want to use for remote development.
  • Connect to a remote Linux(I'm using Ubuntu 22.04).
  • Add MCP servers using the extension GUI menus to make sure you are editing the correct file.
  • Restart IDE, sessions, etc.
  • Codex is unable to find the MCP servers until I convince it to reread the file manually.

What is the expected behavior?

The MCP Servers should be usable out of the box when configured correctly.

Additional information

No response

Activity

  1. added
    extensionIssues related to the VS Code extension
    windows-osIssues related to Codex on Windows systems
    mcpIssues related to the use of model context protocol (MCP) servers
    on Dec 18, 2025
  2. etraut-openai commented on Mar 29, 2026

    @etraut-openai
    Contributor

    This bug report hasn't received any upvotes or additional posts in three months. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensionmcpIssues related to the use of model context protocol (MCP) serverswindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions