mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 05:54:19 +02:00
bugfix: use fastmcp CLI
This commit is contained in:
parent
ea684ed343
commit
eea8fa0f1f
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue