Files
EvoScientist/EvoScientist/mcp/__init__.py
T
Jan Piotrowski 81316ffb2d chore: resolve all ruff linting and static analysis errors in EvoScientist/
- Fix RUF006: Implement background task tracking in Discord, iMessage, WeChat, and TUI to prevent premature GC of fire-and-forget tasks.
- Fix B904: Add explicit exception chaining (raise ... from) across all exception handlers.
- Fix RUF012: Annotate mutable class attributes with ClassVar for command arguments and media maps.
- Fix B008: Refactor Typer commands in cli/commands.py to use Annotated for argument and option defaults.
- Fix B023/B018: Resolve late-binding issues in lambdas and remove useless expressions.
- Fix syntax errors in retry.py docstrings and models.py lambda parameter ordering.
2026-03-19 17:04:03 +01:00

49 lines
1.0 KiB
Python

"""MCP (Model Context Protocol) integration — external tool support.
See mcp/README.md for usage details.
"""
from .client import (
VALID_TRANSPORTS,
add_mcp_server,
aload_mcp_tools,
build_mcp_add_kwargs,
build_mcp_edit_fields,
edit_mcp_server,
load_mcp_config,
load_mcp_tools,
parse_mcp_add_args,
parse_mcp_edit_args,
remove_mcp_server,
)
from .registry import (
MCPServerEntry,
fetch_marketplace_index,
find_server_by_name,
get_all_tags,
get_installed_names,
install_mcp_server,
install_mcp_servers,
)
__all__ = [
"VALID_TRANSPORTS",
"MCPServerEntry",
"add_mcp_server",
"aload_mcp_tools",
"build_mcp_add_kwargs",
"build_mcp_edit_fields",
"edit_mcp_server",
"fetch_marketplace_index",
"find_server_by_name",
"get_all_tags",
"get_installed_names",
"install_mcp_server",
"install_mcp_servers",
"load_mcp_config",
"load_mcp_tools",
"parse_mcp_add_args",
"parse_mcp_edit_args",
"remove_mcp_server",
]