Skip to content

fix: cap mcp below 2 so uipath-dev-mcp starts on a fresh install - #144

Open
vishalhabib99 wants to merge 2 commits into
UiPath:mainfrom
vishalhabib99:fix/mcp-below-2
Open

vishalhabib99 wants to merge 2 commits into
UiPath:mainfrom
vishalhabib99:fix/mcp-below-2

Conversation

@vishalhabib99

Copy link
Copy Markdown

Problem

uipath-dev 0.0.86 on PyPI requires mcp[cli]>=1.0.0 with no upper bound, so a fresh uv add uipath-dev or pip install uipath-dev resolves mcp 2.3.0. src/uipath/dev/mcp/__init__.py imports from mcp.server.fastmcp import Context, FastMCP, and mcp 2.x removed that module, so uipath-dev-mcp fails on startup:

ModuleNotFoundError: No module named 'mcp.server.fastmcp'. This is mcp 2.x, where FastMCP was renamed to MCPServer ...

The repo's own uv.lock pins mcp 1.26.0, so development checkouts are fine. Only installs from PyPI are affected.

Change

mcp[cli]>=1.0.0,<2 in pyproject.toml, with the matching specifier in uv.lock. The locked version (1.26.0) is unchanged. Moving to the mcp 2.x API (MCPServer) can be a separate change.

Checked

uv pip compile (Python 3.12) from mcp.server.fastmcp import Context, FastMCP
uipath-dev as published mcp==2.3.0 ModuleNotFoundError
with mcp[cli]>=1.0.0,<2 mcp==1.30.0 works

The fix reaches users with the next release.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T23:15:46.266476Z 1a64068 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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.

1 participant