Skip to main content
View the source code for this module on GitHub: https://github.com/mcp-use/mcp-use/blob/main/mcp_use/managers/base.py

BaseServerManager

from mcp_use.managers.base import BaseServerManager

method has_tool_changes

Check if the available tools have changed.Parameters
current_tool_names
set[str]
required
Set of currently known tool names
Returns
returns
bool
True if tools have changed, False otherwise
Signature
def has_tool_changes(current_tool_names: set[str]):

method initialize

Initialize the server manager.Signature
def initialize():

property tools

Get all server management tools and tools from the active server.Returns
returns
list[langchain_core.tools.base.BaseTool]
Signature
def tools():
I