satif_ai.utils.openai_mcp
OpenAICompatibleMCP Objects
class OpenAICompatibleMCP(MCPServer)
connect
async def connect()
Connect to the server. For FastMCP, connection is managed externally when the server is run. This method marks the wrapper as connected.
name
@property
def name() -> str
A readable name for the server.
cleanup
async def cleanup()
Cleanup the server. For FastMCP, cleanup is managed externally. This method marks the wrapper as disconnected.
list_tools
async def list_tools() -> list[MCPTool]
List the tools available on the server.
call_tool
async def call_tool(tool_name: str,
arguments: dict[str, Any] | None) -> CallToolResult
Invoke a tool on the server.