Skip to content

Parallelize fragment connections inside list_mcp_tools so all fragments are handled concurrently #301

Description

@HoaiGit

Describe the Problem

Saw some changes being made for list_mcp_tools:

From my understanding list_mcp_tools() fetches the registered MCP fragments sequentially.
That means fetch time scales with the number of such fragments.

N fragments x ~3s ( equals ~44 seconds for N=14 for example)

Propose a Solution

Parallelizing these fragment fetches could further improve performance, especially when there is no cache yet.
Fetch time would not scale with the number of MCP fragments.

Describe Alternatives

No response

Affected Development Phase

Getting Started

Impact

No Impact

Timeline

No response

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