The server description to add.
The server description with a unique resolveId if a resolve function is provided or the given description if no resolve function is provided.
Removes server descriptions that are no longer present in the MCPServerManager.
The current list of server names from the MCPServerManager.
Retrieves the resolve function for a given server name.
The name of the server to retrieve the resolve function for.
The resolve function if found, or undefined if not found.
Resolves the server description by calling the resolve function if it exists.
The server description to resolve.
The resolved server description.
Adds a server description to the client. If the description contains a resolve function, a unique resolveId is generated and only the name and resolve function are stored.