Skip to main content

fastmcp.cli.install.shared

Shared utilities for install commands.

Functions

parse_env_var

Parse environment variable string in format KEY=VALUE.

process_common_args

Process common arguments shared by all install commands. Handles both fastmcp.json config files and traditional file.py:object syntax.
Attempt to open a deeplink URL using the system’s default handler. Args:
  • url: The deeplink URL to open.
  • expected_scheme: The URL scheme to validate (e.g. “cursor”, “goose”).
Returns:
  • True if the command succeeded, False otherwise.