fastmcp.cli.install.claude_code
Claude Code integration for FastMCP install using Cyclopts.
Functions
find_claude_command
check_claude_code_available
install_claude_code
file: Path to the server fileserver_object: Optional server object name (for :object suffix)name: Name for the server in Claude Codewith_editable: Optional list of directories to install in editable modewith_packages: Optional list of additional packages to installenv_vars: Optional dictionary of environment variablespython_version: Optional Python version to usewith_requirements: Optional requirements file to install fromproject: Optional project directory to run within
- True if installation was successful, False otherwise
claude_code_command
server_spec: Python file to install, optionally with :object suffix

