Skip to content

Commit ba68597

Browse files
committed
fix: resolve GitHub Actions dependency issues
- Add explicit MCP dependency installation in CI workflow - Install mcp>=1.0.0 before running version checks and tests - Update release workflow with same dependency fixes - Ensure FastMCP imports work correctly in GitHub Actions environment This fixes the ModuleNotFoundError that was causing workflow failures.
1 parent dbc64ed commit ba68597

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28+
# Install MCP dependency first
29+
pip install mcp>=1.0.0
30+
# Then install the package in development mode
2831
pip install -e .
2932
3033
- name: Lint with ruff

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
run: |
2626
python -m pip install --upgrade pip
2727
pip install build wheel twine
28+
# Install MCP dependency for version check
29+
pip install mcp>=1.0.0
2830
2931
- name: Verify version matches tag
3032
run: |

0 commit comments

Comments
 (0)