Skip to content

fix(mcp): migrate to MCP SDK 2.x so 2026-07-28 clients can connect #1735

fix(mcp): migrate to MCP SDK 2.x so 2026-07-28 clients can connect

fix(mcp): migrate to MCP SDK 2.x so 2026-07-28 clients can connect #1735

Workflow file for this run

name: tests
on: [pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: |
3.10
3.11
3.12
- name: Install Hatch
run: pipx install hatch
- name: Run tests
run: cd packages/markitdown; hatch test
mcp-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: |
3.10
3.11
3.12
- name: Install packages
# Install markitdown from the monorepo rather than PyPI, so the MCP
# server is exercised against the sibling package in this PR.
run: pip install "./packages/markitdown[all]" ./packages/markitdown-mcp pytest
- name: Run tests
run: cd packages/markitdown-mcp; pytest