mcp-spec-migrator

mcp-spec-migrator

mcp-spec-migrator-2511•bystudiomeyer-io

A read-only tool and 6-tool MCP server that migrates MCP server repositories across spec versions by detecting, diffing, planning, and verifying migrations.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Detects which MCP spec version a repository targets, returning confidence, evidence, SDK version, and candidates.
  • •Computes a compatibility matrix between two spec versions, listing breaking changes, soft deprecations, new features, experimental items, and unchanged areas.
  • •Generates a migration plan in Markdown, including files to touch, estimated diff size, and unscanned files.
  • •Checks whether a migration is complete and reports missing steps and warnings, exiting with code 1 when incomplete.

BEST FOR

  • •Developers migrating an MCP server repository from an older spec version to a newer one.
  • •Teams wanting a pre-commit gate that blocks when a target spec migration is incomplete.
  • •Users who need to diff two MCP spec versions.

ABOUT MCP-SPEC-MIGRATOR-2511

mcp-spec-migrator is cataloged as an MCP server attributed to studiomeyer-io. A read-only tool and 6-tool MCP server that migrates MCP server repositories across spec versions by detecting, diffing, planning, and verifying migrations. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for mcp-spec-migrator are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which MCP spec versions can the migrator detect and plan for?

It can detect and plan across 2024-11-05, 2025-03-26, 2025-06-18, and 2025-11-25.

Does the migrator modify my repository?

No, its tools are read-only and it never writes patches into your repo.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7eee05a92dd8 · 采集于 2026-11-13 13:35:50 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Part of the StudioMeyer MCP Stack — Built in Mallorca 🌴 · ⭐ if you use it

mcp-spec-migrator

npm version npm downloads License Last commit GitHub stars

Codemod and compatibility-matrix tool for migrating MCP server repos across spec versions.

Detects which MCP spec a repo targets, computes the diff to a target version, generates a MIGRATION.md plan, and verifies completion. Read-only — never writes patches into your repo.

A note from us

We have been building tools and systems for ourselves for the past two years. The fact that this repo is small and has few stars is not because it is new. It is because we only just decided to share what we have built. It is not a fresh experiment, it is a long story with a recent commit.

We love building things and sharing them. We do not love social media tactics, growth hacks, or chasing stars and followers. So this repo is small. The code is real, it gets used, issues get answered. Judge for yourself.

If it helps you, sharing, testing, and feedback help us. If it could be better, an issue is more useful. If you build something with it, tell us at hello@studiomeyer.io. That genuinely makes our day.

From a small studio in Palma de Mallorca.

Install

npm install -g mcp-spec-migrator
# or one-shot
npx mcp-spec-migrator detect /path/to/your-mcp-server

Library:

npm install mcp-spec-migrator
import { detect, computeMatrix, generatePlan } from "mcp-spec-migrator";

const result = await detect("/path/to/repo");
console.log(result.detected, result.confidence);

Requires Node 20+.

Package contents and maintenance

Version 0.1.2 includes the dependency bundle described below.

The package ships ts-morph through bundledDependencies. A root-only npm override does not constrain an installed package's dependency tree; the included closure carries the checked versions to consumers. The bundle preparation checks @ts-morph/common 0.29.0 and minimatch 11.0.3, then changes only that upstream manifest dependency range from minimatch ^10.0.1 to ^11.0.3. Third-party source files and package version numbers are unchanged.

The measured archive is approximately 2.76 MB compressed and 15.72 MB unpacked (decimal MB). Bundling increases download and disk use; a security update to an included dependency requires an updated package archive.

For maintenance, run npm ci and npm run test:consumer from the repository checkout. npm pack runs prepack automatically: it builds the package and prepares the declared bundle. The consumer check packs twice, verifies identical bytes, installs the actual archive in a fresh project, checks npm ls and both dependency audits, and exercises the installed CLI or runtime. Review dependency updates together with the locked bundle and license proofs before distributing a new archive. The archive's dist/bundled-dependencies.json records the bundle and manifest adjustments.

Supported spec versions

VersionStatusReleased
2024-11-05legacy2024-11-05
2025-03-26legacy2025-03-26
2025-06-18reference2025-06-18
2025-11-25current2025-11-25

Migrator itself runs on 2025-06-18. It is intentionally not on 2025-11-25 until Inspector + Claude Desktop adopt the new spec — keeping the migrator backwards-compatible with older clients.

CLI

mcp-spec-migrator versions
mcp-spec-migrator detect <repo>          [--json]
mcp-spec-migrator plan <repo>            --target <version>  [--json]
mcp-spec-migrator check <repo>           --target <version>  [--json]
mcp-spec-migrator diff <v1> <v2>         [--format markdown|json]

Examples:

mcp-spec-migrator detect ./my-mcp-server
mcp-spec-migrator plan ./my-mcp-server --target 2025-11-25 > MIGRATION.md
mcp-spec-migrator check ./my-mcp-server --target 2025-11-25
mcp-spec-migrator diff 2025-06-18 2025-11-25

check exits with code 1 if migration is incomplete — useful as a pre-commit gate.

MCP server

The same logic is exposed as a 6-tool MCP server over stdio. All tools are readOnlyHint: true and destructiveHint: false.

ToolArgsReturns
detect_spec_version{ repo_path }{ detected, confidence, evidence[], sdkVersion, candidates[] }
compatibility_matrix{ from, to }{ breaking[], soft_deprecations[], new_features[], experimental[], unchanged_areas[] }
generate_migration_plan{ repo_path, target_version }{ plan_markdown, files_to_touch[], estimated_diff_kb, unscanned_files[] }
check_migration_complete{ repo_path, target_version }{ complete, missing_steps[], warnings[] }
list_supported_versions{}{ versions[], current_reference, latest, detail[] }
diff_spec_versions{ v1, v2, format? }{ diff, summary }

Wire it up in Claude Desktop / VS Code MCP / Inspector:

{
  "mcpServers": {
    "spec-migrator": {
      "command": "npx",
      "args": ["-y", "mcp-spec-migrator"]
    }
  }
}

Compatibility matrix

Migrator versionMCP SDKNodeSpec it runs onSpecs it can detect & plan
0.1.x^1.29.020+2025-06-182024-11-05, 2025-03-26, 2025-06-18, 2025-11-25

Detection strategy

Confidence is in [0, 1]. The migrator returns unknown below 0.50 rather than guessing.

  1. 1.00 — Explicit meta.specVersion in the server constructor.
  2. 0.85 — @modelcontextprotocol/sdk semver range maps unambiguously to one spec.
  3. 0.60 — AST fingerprint pattern (request handler names, annotation field names).
  4. <0.50 → unknown with full evidence list.

Source files outside src/, lib/, server/ are not scanned. Files larger than 256 KB are skipped. ts-morph parse failures are caught per-file so one bad source file does not halt detection.

  1. Memory (56 tools, highest surface)
  2. CRM (33 tools)
  3. GEO (24 tools)
  4. Crew (10 tools)
EventToolUse case
Stopdetect_spec_versionAuto-detect at session end. Warns on stale spec.
UserPromptSubmitlist_supported_versionsTrigger on phrase "spec version?" — direct answer.
PreCompactgenerate_migration_planPersist plan to memory before context compaction.
Stopcheck_migration_completePre-commit gate: block when target spec incomplete.
UserPromptSubmitdiff_spec_versionsTrigger on phrase "diff 2025-X 2025-Y".

All tools are read-only, deterministic, and run in <10s on typical repos. No network calls. No telemetry.

Out of scope

  • --apply flag (auto-applying patches). Separate build, intentionally deferred.
  • Python-SDK MCP servers. v2.
  • Live spec fetch at runtime. Spec data is committed as code.
  • Hosted SaaS wrapper. CLI + library only.

License

MIT — Copyright (c) 2026 Matthias Meyer (StudioMeyer).

Bundled dependencies retain their complete upstream license texts in the archive. The package license applies to this project's own code; bundled third-party packages retain their respective terms. The consumer check verifies each approved package version's full license file, or its complete README license section, against pinned content hashes from integrity-verified official npm artifacts. Whitespace and line-ending differences are accepted; missing, empty or partial legal text is rejected.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for mcp-spec-migrator from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-spec-migrator-2511)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools