Issues configuring MCP server in Codex VS Code extension

Resolved 💬 6 comments Opened Dec 15, 2025 by xunxiing Closed Dec 16, 2025

What version of the VS Code extension are you using?

1.107.0

What subscription do you have?

personal

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

I am unable to get an MCP server working in the Codex VS Code extension.

The MCP server does not start or does not expose tools in Codex,
even though the same MCP server works correctly in other environments.

There are no clear or actionable error messages shown in the Codex UI or log.

Result:

  • The MCP server does not function as expected in Codex

(tools are not available and the server does not start).

check

  • i do check my code on curosr,roocode,cline and trae it works well on those platform ,

What steps can reproduce the bug?

[mcp_servers.astrbot-mcp]
command = "uvx"
args = [
"--from",
"astrbotmcp",
"astrbot-mcp.exe"
]
type = "stdio"

[mcp_servers.astrbot-mcp.env]
ASTRBOT_BASE_URL = "http://127.0.0.1:6185"
ASTRBOT_TIMEOUT = "30"
ASTRBOT_USERNAME = "username"
ASTRBOT_PASSWORD = "password"#astrbot running or not won‘t influence the running of mcp so it doesn't matter to install astrbot,this test is availiable.

What is the expected behavior?

Expected:

  • The MCP server should start and expose tools, as it does in:
  • Local terminal
  • GitHub Actions CI
  • show tools to codex

Additional information

https://github.com/xunxiing/astrbotmcp this is the mcp package i am sure that ci do pass and it works on both linux and windows

<img width="2482" height="898" alt="Image" src="https://github.com/user-attachments/assets/33bfc230-96e2-4af6-b3a2-5d9f8dc0991d" />

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗