Skip to content

[Bug]: MCP tools become unavailable when multiple servers are enabled together #16417

Description

@cfs603

What happened?

When multiple MCP servers are enabled together for a single conversation,
one server's tools become completely unavailable to the model, even though
that same server works correctly when enabled alone. The model reports the
tool as "not available" / "not in the provided list of tools" and never
attempts to call it, despite the server being connected and healthy
(confirmed via server logs showing successful tool discovery at the exact
time of the failed request).

Reproduced consistently across multiple fresh conversations, fresh browser
sessions, and after full container recreation (docker compose up -d
--force-recreate), ruling out session or cache staleness as the cause.

Version Information

LibreChat version: v0.8.8-rc1
Commit: eaef87f
Branch: main
Build date: 2026-08-14 07:28:58 UTC
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36

Steps to Reproduce

  1. Configure two MCP servers in librechat.yaml (streamable-http transport,
    requiresOAuth: false): a small server exposing 3 tools, and a larger
    one (github MCP server) exposing 26 tools
  2. Start a new chat using a custom Ollama endpoint model (tested with
    qwen3-vl:8b-instruct)
  3. In the MCP Servers selector, enable ONLY the small server
  4. Prompt the model to use one of that server's tools -> works correctly,
    tool is called and returns results
  5. Start a new chat, enable BOTH the small server and the github server
    together in the MCP Servers selector
  6. Send the identical prompt -> model reports the small server's tool is
    "not available" and does not attempt to call it

What browsers are you seeing the problem on?

Chrome

Relevant log output

Both servers confirmed healthy via container logs at time of testing:

[MCP][drive] Tools: list_files, read_file, search_files
[MCP][drive] Initialized in: 44ms
[MCP][github] Tool list changed; refreshed 26 tools
[MCP] Initialized with 3 configured servers and 40 tools.
Server readiness checks passing.

No errors logged at the time of the failed request with both servers
enabled; the model simply reports the tool as unavailable.

Environment: Docker Compose, self-hosted. Model: qwen3-vl:8b-instruct via
custom Ollama endpoint (baseURL: http://host.docker.internal:11434/v1/).
drive: self-hosted MCP server, 3 tools. github: official github MCP
server, 26 tools, Bearer token auth.

Screenshots

Image Image

Code of Conduct

  • I agree to follow this project's Code of Conduct

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

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions