fix: Install still runs the fastmcp command, which is now unecessary (/not installed). We can just run it with mcp.

This commit is contained in:
samefarrar 2024-12-29 15:01:25 +00:00
commit e65404aa05

View file

@ -87,7 +87,7 @@ def update_claude_config(
args = ["run"] args = ["run"]
# Collect all packages in a set to deduplicate # Collect all packages in a set to deduplicate
packages = {"fastmcp"} packages = {"mcp"}
if with_packages: if with_packages:
packages.update(pkg for pkg in with_packages if pkg) packages.update(pkg for pkg in with_packages if pkg)
@ -107,7 +107,7 @@ def update_claude_config(
file_spec = str(Path(file_spec).resolve()) file_spec = str(Path(file_spec).resolve())
# Add fastmcp run command # Add fastmcp run command
args.extend(["fastmcp", "run", file_spec]) args.extend(["mcp", "run", file_spec])
server_config = { server_config = {
"command": "uv", "command": "uv",