From eea8fa0f1fc7064e7c6a866dba03805c0099d2b8 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Sat, 12 Apr 2025 21:09:47 -0400 Subject: [PATCH] bugfix: use fastmcp CLI --- src/fastmcp/cli/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fastmcp/cli/cli.py b/src/fastmcp/cli/cli.py index 09c2bb30a..22ee73cb1 100644 --- a/src/fastmcp/cli/cli.py +++ b/src/fastmcp/cli/cli.py @@ -65,7 +65,7 @@ def _build_uv_command( """Build the uv run command that runs a MCP server through mcp run.""" cmd = ["uv"] - cmd.extend(["run", "--with", "mcp"]) + cmd.extend(["run", "--with", "fastmcp"]) if with_editable: cmd.extend(["--with-editable", str(with_editable)]) @@ -76,7 +76,7 @@ def _build_uv_command( cmd.extend(["--with", pkg]) # Add mcp run command - cmd.extend(["mcp", "run", file_spec]) + cmd.extend(["fastmcp", "run", file_spec]) return cmd