fastmcp.cli.claude
get_claude_config_path
update_claude_config
file_spec
: Path to the server file, optionally with :object suffixserver_name
: Name for the server in Claude’s configwith_editable
: Optional directory to install in editable modewith_packages
: Optional list of additional packages to installenv_vars
: Optional dictionary of environment variables. These are merged with
any existing variables, with new values taking precedence.RuntimeError
: If Claude Desktop’s config directory is not found, indicating
Claude Desktop may not be installed or properly set up.