Skip to content

Drop dependencies parameter from FastMCP#1877

Merged
Kludex merged 1 commit intomainfrom
drop-dependencies-paramter
Jan 16, 2026
Merged

Drop dependencies parameter from FastMCP#1877
Kludex merged 1 commit intomainfrom
drop-dependencies-paramter

Conversation

@Kludex
Copy link
Copy Markdown
Member

@Kludex Kludex commented Jan 16, 2026

No description provided.

@Kludex Kludex enabled auto-merge (squash) January 16, 2026 08:57
@Kludex Kludex merged commit 2ce41a8 into main Jan 16, 2026
25 checks passed
@Kludex Kludex deleted the drop-dependencies-paramter branch January 16, 2026 08:59
maxisbey added a commit that referenced this pull request Mar 26, 2026
Restores the `dependencies` parameter that was removed in #1877. The
parameter is read by the `mcp dev` and `mcp install` CLI commands to
auto-populate `uv run --with <pkg>` flags.

Removal without a working replacement breaks high-profile consumers
(awslabs/mcp uses it in 47 servers, mindsdb, redis/mcp-redis). While
PEP 723 inline script metadata is the intended replacement, the CLI
doesn't currently parse it — `uv` only reads PEP 723 when the script
is the direct target, not when wrapped in `mcp run <file>`.

Long-term design (deprecate vs. keep vs. config file) is tracked in
the linked issue.

Github-Issue:#2354
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants