fastmcp.cli.install.mcp_config
install_mcp_config
file
: Path to the server fileserver_object
: Optional server object name (for :object suffix)name
: Name for the server in MCP configwith_editable
: Optional directory to install in editable modewith_packages
: Optional list of additional packages to installenv_vars
: Optional dictionary of environment variablescopy
: If True, copy to clipboard instead of printing to stdoutmcp_config_command
server_spec
: Python file to install, optionally with :object suffix