Skip to content

MCP server extremely slow when analyzing project — hangs for minutes with no response #11015

Closed as not planned

Description

@jsuusugsysys-bit

Description

When using codex mcp-server as an MCP tool in Claude Code (VSCode extension), the server takes an extremely long time to respond when asked to analyze a project. It hangs for several minutes with no output, eventually timing out or requiring manual cancellation.

Configuration

{
  "mcpServers": {
    "codex": {
      "type": "stdio",
      "command": "codex",
      "args": [
        "mcp-server",
        "-c", "model=gpt-5.3-codex",
        "-c", "reasoning_effort=high"
      ]
    }
  }
}

Environment

  • OS: Windows 11
  • Client: Claude Code (VSCode extension)
  • Codex version: latest (installed via npm)
  • Project size: ~200+ tracked files (Go board game engine, mixed C++/Java/C# codebase)

Steps to Reproduce

  1. Configure codex mcp-server as an MCP tool in Claude Code (.mcp.json)
  2. Ask Claude Code to use the Codex tool to analyze the project
  3. Codex MCP server starts but produces no response for several minutes
  4. Eventually times out or must be manually stopped

Expected Behavior

The MCP server should:

  • Respond within a reasonable time (< 30 seconds for initial analysis)
  • Provide progress feedback if the operation takes longer
  • Have a configurable timeout to prevent indefinite hangs

Actual Behavior

The MCP server hangs indefinitely with no output, no progress indication, and no error message. The Claude Code UI shows "Wandering..." status while waiting.

Additional Context

  • The same project can be analyzed quickly by Claude Code's built-in tools
  • The issue may be related to the MCP server attempting to read the entire project context before responding
  • Lowering reasoning_effort does not seem to help significantly

Activity

  1. added
    bug
    CLI
    mcp
    mcp-server
    windows-os
    on Feb 7, 2026
  2. removed
    mcp
    CLI
    on Feb 7, 2026
  3. etraut-openai commented on Aug 26, 2026

    @etraut-openai
    Contributor

    Note: We've announced that the mcp-server is deprecated and will be removed in a future release. We recommend using the app server interface instead. We won't be prioritizing any bug fixes in the mcp-server, so I'm going to close this issue.

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

    bugmcp-serverwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions