Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
de6aafb
1
Parent(s): 0e450c5
bugfix: use fastmcp CLI
Browse files- src/fastmcp/cli/cli.py +2 -2
src/fastmcp/cli/cli.py
CHANGED
|
@@ -65,7 +65,7 @@ def _build_uv_command(
|
|
| 65 |
"""Build the uv run command that runs a MCP server through mcp run."""
|
| 66 |
cmd = ["uv"]
|
| 67 |
|
| 68 |
-
cmd.extend(["run", "--with", "
|
| 69 |
|
| 70 |
if with_editable:
|
| 71 |
cmd.extend(["--with-editable", str(with_editable)])
|
|
@@ -76,7 +76,7 @@ def _build_uv_command(
|
|
| 76 |
cmd.extend(["--with", pkg])
|
| 77 |
|
| 78 |
# Add mcp run command
|
| 79 |
-
cmd.extend(["
|
| 80 |
return cmd
|
| 81 |
|
| 82 |
|
|
|
|
| 65 |
"""Build the uv run command that runs a MCP server through mcp run."""
|
| 66 |
cmd = ["uv"]
|
| 67 |
|
| 68 |
+
cmd.extend(["run", "--with", "fastmcp"])
|
| 69 |
|
| 70 |
if with_editable:
|
| 71 |
cmd.extend(["--with-editable", str(with_editable)])
|
|
|
|
| 76 |
cmd.extend(["--with", pkg])
|
| 77 |
|
| 78 |
# Add mcp run command
|
| 79 |
+
cmd.extend(["fastmcp", "run", file_spec])
|
| 80 |
return cmd
|
| 81 |
|
| 82 |
|