本文へスキップ
Kitbay
スキル公式

mongodb-mcp-v3-migration

Apache-2.02026年11月17日 更新1,162GitHubスタースクリプトあり

A skill from the MongoDB MCP Server repository for developers who embed or extend that server as a library in their own code.

スキルの内容

A skill from the MongoDB MCP Server repository for developers who embed or extend that server as a library in their own code. Version 3 split the old single npm package into scoped @mongodb-js/mcp-* packages and made mongodb-mcp-server a binary only, so code written against v1 or v2 breaks. The agent runs the bundled inventory script in the consumer project, sorts the code into custom CLI, HTTP host or config cases, rewrites imports and constructors to the new packages, and then builds and tests. It does not touch MongoDB data and is only useful to people building on the MCP server's code.

できること

  • Inventory code that imports mongodb-mcp-server v1 or v2
  • Move custom CLIs and HTTP hosts to the v3 scoped packages
  • Rename and replace symbols removed from the v1 public API
  • Verify the migrated project builds and its tests pass