Mcpixir.ServerManager (Mcpixir v0.1.0)

View Source

Manages server connections and tool availability.

Summary

Functions

Returns a specification to start this module under a supervisor.

Gets a list of servers that provide the requested tools.

Lists available servers.

Registers a new server with the manager.

Registers available tools for a server.

Starts the server manager.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_servers_for_tools(tools)

Gets a list of servers that provide the requested tools.

list_servers()

Lists available servers.

register_server(name, config)

Registers a new server with the manager.

register_tools(server_name, tools)

Registers available tools for a server.

start_link(opts)

Starts the server manager.