fastmcp.utilities.fastmcp_config.v1.sources.filesystem

Classes

FileSystemSource

Source for local Python files. Methods:

parse_path_with_object

parse_path_with_object(cls, v: str) -> str
Parse path:object syntax and extract the object name. This validator runs before the model is created, allowing us to handle the “file.py:object” syntax at the model boundary.

load_server

load_server(self) -> Any
Load server from filesystem.