version-compat-mcp
v0.2.0Version-Aware Setup & Migration MCP Server for JS/TS & Python ecosystems (Antigravity, Codex, Claude Code, Cursor)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
detect_project_environment
Detects Node.js & Python runtime, package manager (npm/pnpm/yarn/bun/uv/poetry/pip), locked dependency versions, and config paradigms (ESLint flat config, Tailwind v4 CSS-first, Next.js App/Pages router, tsconfig, pyproject.toml PEP 621) from local project files without network calls.
| Parameter | Type | Description |
|---|---|---|
project_path * | string | Absolute path to the project or workspace package root directory (containing package.json or pyproject.toml / uv.lock / requirements.txt) |
check_dependency_compatibility
Verifies engines.node, peerDependencies cross-compatibility, and deprecation notices deterministically using npm registry abbreviated metadata.
| Parameter | Type | Description |
|---|---|---|
dependencies * | object | Map of production dependencies and their version or range (e.g. {"next": "15.0.3", "react": "18.2.0"} or {"pydantic": "2.10.6", "fastapi": "0.115.6"}) |
devDependencies | object | Optional map of devDependencies and their version or range (e.g. {"eslint": "9.14.0", "typescript": "5.7.2"} or {"pytest": "8.3.0", "ruff": "0.8.0"}) |
ecosystem | string | Target package registry ecosystem ("npm" or "pypi"). Auto-detected if omitted based on dependencies and runtime. |
runtime_version | string | Target runtime version (e.g. Node.js "20.11.0" or Python "3.12.0"). If omitted, runtime checks are reported as unverified. |
get_versioned_setup_guide
Returns citation-backed installation commands (formatted for the project's package manager), initial configuration file examples, and obsolete patterns to avoid for a specific library version.
| Parameter | Type | Description |
|---|---|---|
library * | string | Target library name (supported: node, typescript, react, nextjs, vite, tailwindcss, eslint, python, pydantic, fastapi, sqlalchemy, langchain, uv) |
package_manager * | string | Project package manager detected from detect_project_environment |
target_version * | string | Target version to set up (e.g. "4.0.0", "15.0.3", "9.14.0", "2.10.6", "0.115.6"). Do NOT pass "latest" without checking project versions. |
framework_context | string | Optional host framework context (e.g. setting up tailwindcss v4 inside vite vs nextjs, or pydantic v2 inside fastapi) |
runtime_version | string | Optional runtime version (e.g. Node "20.11.0" or Python "3.12.0") |
get_upgrade_steps
Retrieves step-by-step migration guides, breaking changes, and official codemod commands between two versions of a library (e.g. Tailwind v3 -> v4, ESLint v8 -> v9, Next.js v14 -> v15) with GitHub tag source URLs.
| Parameter | Type | Description |
|---|---|---|
from_version * | string | Current version before upgrade (e.g. "3.4.1", "8.57.0", "14.2.0", "1.10.19") |
library * | string | Target library name (supported: node, typescript, react, nextjs, vite, tailwindcss, eslint, python, pydantic, fastapi, sqlalchemy, langchain, uv) |
to_version * | string | Target version after upgrade (e.g. "4.0.0", "9.14.0", "15.0.3", "2.10.6") |
focus_area | string | Optional keyword or section filter (e.g. "flat config", "caching", "async request", "model_dump", "lifespan", "select") |
package_manager | string | Optional package manager to format codemod and upgrade commands accurately |
search_versioned_docs
Searches tag-pinned migration guides, release notes, and deprecation notices for a specific library version using SQLite FTS5 (BM25). Resolves version from project_path lockfile if version is omitted.
| Parameter | Type | Description |
|---|---|---|
library * | string | Target library name (supported: node, typescript, react, nextjs, vite, tailwindcss, eslint, python, pydantic, fastapi, sqlalchemy, langchain, uv) |
query * | string | Search query: config key, API symbol, error message, or migration topic |
doc_types | array | Optional filter by document type |
project_path | string | Optional path to the project root so the tool can resolve the installed version from lockfile/package.json when version is omitted. |
top_k | integer | Maximum number of chunks to return (default: 5) |
version | string | Target library version (e.g. "15.0.3", "4.0.0", "2.10.6"). If omitted, project_path must be provided to resolve version from lockfile/config. |