fastmcp.utilities.mcp_server_config.v1.environments.uv
UVEnvironment
build_command
command
: Command to execute (e.g., [“fastmcp”, “run”, “server.py”])run_with_uv
command
: Command and arguments to execute (e.g., [“fastmcp”, “run”, “server.py”])needs_uv
build_uv_run_command
prepare
output_dir
: Directory where the persistent uv project will be created.
If None, creates a temporary directory for ephemeral use.