Skip to content

vllm.entrypoints.mcp.tool_server

Classes:

ToolServer

Bases: ABC

Methods:

get_tool_description(tool_name, allowed_tools=None) abstractmethod

Return the tool description for the given tool name. If the tool is not supported, return None.

has_tool(tool_name) abstractmethod

Return True if the tool is supported, False otherwise.

new_session(tool_name, session_id, headers=None) abstractmethod

Create a session for the tool.