Spaces:
Running
Running
File size: 695 Bytes
98262e8 6090024 98262e8 6090024 9adbb54 23b21a0 9adbb54 98262e8 9adbb54 98262e8 9adbb54 98262e8 23b21a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | """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")
|