xsecuremcp / src /fastmcp /cli /install /__init__.py
Jeremiah Lowin
Fix `mcp-json` output format to include server name (#1185)
23b21a0 unverified
Raw
History Blame Contribute Delete
695 Bytes
"""Install subcommands for FastMCP CLI using Cyclopts."""
import cyclopts
from .claude_code import claude_code_command
from .claude_desktop import claude_desktop_command
from .cursor import cursor_command
from .mcp_json import mcp_json_command
# Create a cyclopts app for install subcommands
install_app = cyclopts.App(
name="install",
help="Install MCP servers in various clients and formats.",
)
# Register each command from its respective module
install_app.command(claude_code_command, name="claude-code")
install_app.command(claude_desktop_command, name="claude-desktop")
install_app.command(cursor_command, name="cursor")
install_app.command(mcp_json_command, name="mcp-json")