fake module

fakepy_mcp.get_return_type(method: Callable) Any[source]

Infer return type for MCP schema from method docstring or name.

fakepy_mcp.get_supported_params(sig)[source]

Return a list of (name, param) for supported parameters.

fakepy_mcp.is_supported_type(typ) bool[source]

Return True if typ is supported type, container, or Optional thereof.

fakepy_mcp.main() None[source]
fakepy_mcp.register_fakepy_tools(storage_backend=None)[source]

Dynamically register all FAKER methods as MCP tools with arg support.

fakepy_mcp.serialise_result(name: str, result: Any) Any[source]

Serialise result for MCP transport.