Skip to content

fontlab_remopy.mcp

mcp

Authenticated native MCP calls through the MCP SDK (v1 or v2) and relay.

Modules

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
bridge_parameters function (command: str) -> StdioServerParameters Use one SDK relay for all callers, including external coding agents.
call_tool function (name: str, arguments: dict[str, Any] | None=None, command: str | None=None, timeout: float=30, *, check_argu… Return the actual SDK result; never retry a mutation after timeout.
execute_script function (path: str | Path, command: str | None=None, timeout: float=30) -> dict[str, Any] Execute .flpy/.vfpy text via native MCP and preserve script filename context.
probe_tools function (command: str | None=None, timeout: float=8) -> list[Tool] Discover every page; initialization alone does not prove host reachability.
run_python function (code: str, command: str | None=None, timeout: float=30) -> dict[str, Any] Require both transport success and a native execution success payload.