mirror of
https://github.com/andrewyng/openworker.git
synced 2026-09-11 14:50:14 +00:00
Imported from andrewyng/aisuite@1b4bbf303e (contents of its platform/ directory, hoisted to the repo root). Development history prior to this commit lives in that repository. Co-authored-by: Devika <devikaverma11@gmail.com>
30 lines
641 B
Python
30 lines
641 B
Python
"""MCP integration — our own async client on the official `mcp` SDK.
|
|
|
|
Public API: config loading/mutation, the connection manager, and tool wrapping.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .client import MCPManager
|
|
from .config import (
|
|
MCPServerDef,
|
|
delete_global_server,
|
|
load_mcp_servers,
|
|
patch_global_server,
|
|
put_global_server,
|
|
read_global,
|
|
)
|
|
from .tools import build_callables, tool_name
|
|
|
|
__all__ = [
|
|
"MCPManager",
|
|
"MCPServerDef",
|
|
"load_mcp_servers",
|
|
"read_global",
|
|
"put_global_server",
|
|
"patch_global_server",
|
|
"delete_global_server",
|
|
"build_callables",
|
|
"tool_name",
|
|
]
|