fastmcp.cli.install.cursor
Cursor integration for FastMCP install using Cyclopts.
Functions
generate_cursor_deeplink
server_name: Name of the serverserver_config: Server configuration
- Deeplink URL that can be clicked to install the server
open_deeplink
deeplink: The deeplink URL to open
- True if the command succeeded, False otherwise
install_cursor_workspace
file: Path to the server fileserver_object: Optional server object name (for :object suffix)name: Name for the server in Cursorworkspace_path: Path to the workspace directorywith_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
install_cursor
file: Path to the server fileserver_object: Optional server object name (for :object suffix)name: Name for the server in Cursorwith_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 withinworkspace: Optional workspace directory for project-specific installation
- True if installation was successful, False otherwise
cursor_command
server_spec: Python file to install, optionally with :object suffix

