0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

codex cliでMCP client for `serena` failed to start: request timed outになる場合

Last updated at Posted at 2025-09-11

自分のメモです

王道

C:\Users\user\.codex\config.toml にこれを足すだけです

[mcp_servers.serena]
command = "uvx"
args = ["--from", "git+https://github.com/oraios/serena", "serena", "start-mcp-server", "--context", "codex"]

このエラーが出たら

MCP client for serena failed to start: request timed out

以下順に。

1 C:\Users\user\.codex\config.toml にこれを足す

[mcp_servers.serena]
command = "C:/Program Files/nodejs/node.exe"
args = [
  "C:/Users/user/AppData/Roaming/npm/node_modules/mcp-remote/dist/proxy.js",
  "http://localhost:9121/sse"
]

env = { APPDATA = "C:\\Users\\user\\AppData\\Roaming", LOCALAPPDATA = "C:\\Users\\user\\AppData\\Local", SystemRoot = "C:\\WINDOWS", COMSPEC = "C:\\WINDOWS\\system32\\cmd.exe" }

2 npm install -g mcp-remote 実行
3 uvx --from git+https://github.com/oraios/serena serena start-mcp-server --transport sse --port 9121 --context codex 実行

最後に

3を毎回実行するのが面倒くさい。解決策を知っている人がいれば教えてほしい

参照

context7で同じエラーが出ているという記事
https://github.com/openai/codex/issues/2555

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?