Skip to content

Desktop Codex does not refresh MCP tools after notifications/tools/list_changed #35583

Open

Description

@Run-Nathan

Summary

Codex Desktop does not expose MCP tools added at runtime after the server sends a valid notifications/tools/list_changed notification.

Environment

  • Codex Desktop: Microsoft Store package 26.721.4979.0
  • Codex CLI: 0.145.0
  • OS: Windows 11
  • MCP transport: stdio
  • Server: Konnect 0.2.0

Reproduction

  1. Start a new Codex Desktop task with the Konnect MCP server configured over stdio.
  2. Confirm the initial tool list contains only the server's starter tools.
  3. Call load_toolset({ name: "pcb_board" }).
  4. The server reports success and its active tool count increases from 13 to 24.
  5. Attempt to use newly added tools such as get_board_info, get_layer_list, or set_board_size.

Expected behavior

After receiving notifications/tools/list_changed, Codex should refresh tools/list and make the newly returned tools available to the current task.

Actual behavior

The dynamic tools are not added to Codex's callable tool registry. They remain unavailable even after restarting the Codex Desktop application and creating a new task.

Independent protocol verification

Using the same installed Konnect stdio binary directly:

  1. initialize returns capabilities.tools.listChanged: true.
  2. Initial tools/list does not contain the PCB tools.
  3. tools/call for load_toolset("pcb_board") succeeds.
  4. The server emits exactly:
{"jsonrpc":"2.0","method":"notifications/tools/list_changed"}
  1. A subsequent tools/list request returns get_board_info, get_layer_list, and the other PCB tools.

This matches the MCP tool-list change flow described in the MCP specification:
https://modelcontextprotocol.io/specification/2024-11-05/server/tools

Could you confirm whether dynamic MCP tool-list refresh is supported in Codex Desktop? If it is intended to be supported, please treat this as a client-side refresh/registration defect.

Activity

  1. added
    bug
    app
    windows-os
    mcp
    tool-calls
    on Jul 27, 2026
  2. ehababdo commented on Sep 21, 2026

    @ehababdo

    I can reproduce this issue in a newer Codex version:

    • Codex CLI: 0.154.0-alpha.6.1
    • Codex VS Code extension: 26.5908.31748
    • OS: Windows 10 x64
    • MCP transport: Streamable HTTP

    My MCP server initially exposes a single bootstrap tool. After that tool binds the session to a project and role, the server expands the session-scoped tool catalog and sends:

    {"jsonrpc":"2.0","method":"notifications/tools/list_changed"}
    A direct tools/list request using the same Mcp-Session-Id returns the expanded catalog correctly, but subsequent Codex turns still expose only the bootstrap tool.
    I also inspected tag rust-v0.154.0-alpha.6.1. In:
    codex-rs/rmcp-client/src/logging_client_handler.rs
    the handler only logs the notification:
    async fn on_tool_list_changed(&self, _context: NotificationContext<RoleClient>) {
        info!("MCP server tool list changed");
    }
    It does not invalidate or refresh the client tool catalog.
    config/mcpServer/reload is not a viable workaround for session-scoped servers because it creates a new MCP session and loses the role binding.
    This confirms the issue affects the IDE/CLI App Server path, Streamable HTTP, and newer versions—not only Codex Desktop with stdio.
  3. adampotency commented on Oct 20, 2026

    @adampotency

    Related macOS desktop reproduction and workflow impact: newly deployed remote MCP tools remain unavailable in an existing chat, and restarting the entire desktop app is a disruptive workaround when other tasks are running.

    Environment

    • Codex desktop experience, installed bundle ChatGPT.app, bundle identifier com.openai.codex
    • App version 26.1013.40934, build 20770
    • macOS 15.6.1, Apple Silicon (arm64)
    • Existing OAuth-authenticated remote HTTP MCP connection

    Reproduction observed on 2026-10-20

    1. Keep an existing desktop chat connected to a working remote MCP server.
    2. Add a new read-only tool to the server and deploy it at the same production endpoint, retaining the existing OAuth configuration and connection.
    3. Verify production deployment completion.
    4. Call an existing onboarding/session tool through that same connection. It succeeds and returns the updated server guide, which names the newly deployed tool. This confirms the existing connection is authenticated and reaches the updated deployment.
    5. Inspect the callable MCP tool inventory in the existing desktop chat across subsequent turns. Existing tools are present, but the new tool is absent and cannot be invoked.

    The new tool in this reproduction is onto_read_browser_fact_log. The existing onto_start_session call succeeds and returns instructions to use it, while the client's callable tool inventory has no matching entry.

    Expected behavior

    Provide a supported way to refresh one MCP server's tool inventory in an existing chat, without quitting the whole desktop app or interrupting unrelated tasks. Automatic discovery of changed tool lists would also resolve the workflow problem.

    Actual behavior and impact

    The active chat retains the old callable tool inventory even though successful calls to existing tools receive the updated server response. The user has repeatedly encountered full quit/restart as a workaround when setting up new MCP connections. They have other tasks/processes running, so restarting the entire app disrupts their workflow and is not an acceptable routine step for discovering a new tool.

    Evidence boundaries

    This report does not establish whether this deployment emitted notifications/tools/list_changed, nor does it include an independent raw tools/list capture. It reports an observed desktop tool-discovery/refresh problem related to this issue, not proof of an identical root cause. We have not restarted the app for this latest occurrence, specifically to avoid disrupting other running tasks.

    No credentials, private project data, or session transcripts are included.

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

    appbugmcptool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions