Skip to content

fontlab_remopy.mcp · declarations 001

Back to fontlab_remopy.mcp

bridge_parameters

bridge_parameters(command: str) -> StdioServerParameters

Use one SDK relay for all callers, including external coding agents.

call_tool async

call_tool(name: str, arguments: dict[str, Any] | None = None, command: str | None = None, timeout: float = 30, *, check_arguments: bool = True) -> CallToolResult

Return the actual SDK result; never retry a mutation after timeout.

Unknown argument names raise ValueError before anything is sent, because FontLab silently drops them. This costs one catalogue request per call.

execute_script async

execute_script(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 async

probe_tools(command: str | None = None, timeout: float = 8) -> list[Tool]

Discover every page; initialization alone does not prove host reachability.

run_python async

run_python(code: str, command: str | None = None, timeout: float = 30) -> dict[str, Any]

Require both transport success and a native execution success payload.