Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

fix: remove hardcoded version from CLI help text (#3456)

Sascha Buehrledc7ae0bad132
diff --git a/src/fastmcp/cli/cli.py b/src/fastmcp/cli/cli.py
index 68a4a4da0..7205c45c0 100644
--- a/src/fastmcp/cli/cli.py
+++ b/src/fastmcp/cli/cli.py
@@ -39,7 +39,7 @@ console = Console()
app = cyclopts.App(
name="fastmcp",
- help="FastMCP 2.0 - The fast, Pythonic way to build MCP servers and clients.",
+ help="FastMCP - The fast, Pythonic way to build MCP servers and clients.",
version=fastmcp.__version__,
# Disable automatic negative parameters by default
default_parameter=Parameter(negative=()),
diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.py
index f7b9e47a8..d1b152d6b 100644
--- a/tests/cli/test_cli.py
+++ b/tests/cli/test_cli.py
@@ -14,7 +14,7 @@ class TestMainCLI:
"""Test that the main app is properly configured."""
# app.name is a tuple in cyclopts
assert "fastmcp" in app.name
- assert "FastMCP 2.0" in app.help
+ assert "FastMCP" in app.help
# Just check that version exists, not the specific value
assert hasattr(app, "version")