Skip to content

Execution failed: Failed to refresh MCP tools for server github-mcp-server; the last catalog is stale #4077

Description

@cqhmjb

Using the GitHub copilot app in the past week, most of the time when a session tries to use the "github-mcp-server-web_search" tool, it fails, and the tool gives the following error response:

"MCP tool catalog changed before tool "github-mcp-server-web_search" could be invoked: Failed to verify cached MCP tools: MCP request failed: Transport send error: Transport [mcp::client::ToolListRevisionTransport<rmcp::transport::worker::WorkerTransport<rmcp::transport::streamable_http_client::StreamableHttpClientWorker<mcp::client::DiscoverFallbackHttpClient<mcp::dynamic_headers::HeaderRefreshHttpClientmcp::client::RawCapturingReqwestClient>>>>] error: unexpected server response: dynamic header provider failed: GitHub credential registration is no longer available for this session"

Then, the agent will give the following message:

Execution failed: Failed to refresh MCP tools for server github-mcp-server; the last catalog is stale.

This does not happen EVERY time... just most of the time. This just started happening about a week ago. The copilot CLI never has this problem. It works every time.

I have tried refreshing my GitHub auth, restarting the app, reinstalling the app. Nothing works.

Has anyone else experienced this?


Field Value
App version 1.1.22
OS Windows 10.0.26200
Theme GitHub
Path /chat
Tenure Week 16

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions