From a77b0e2d099257f6e7c530aa3a1cc4b734d98d6c Mon Sep 17 00:00:00 2001 From: Jonathan Haas Date: Tue, 4 Aug 2026 02:25:13 -0700 Subject: [PATCH] Point scaffolds and README install at the published npm package Scaffold dependencies move from github:evalops/mcp-openapi to ^0.5.0 and the README shows the npm install command first. Merge only after @evalops/mcp-openapi@0.5.0 is live on the registry. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01LqBsGC7xLvihtBxhCdWKz5 --- README.md | 7 ++++++- src/server.ts | 4 ++-- test/cli.test.ts | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 48d3d65..236fd27 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,12 @@ Turn an OpenAPI 3.x spec into an MCP server. Each operation becomes an MCP tool; tool calls are validated, proxied to the upstream REST API, and the response is validated against the spec's response schemas. -> **Package name: `@evalops/mcp-openapi`.** The unscoped `mcp-openapi` package on the npm registry is an unrelated third-party project. Install this project from GitHub (`npm install github:evalops/mcp-openapi`) or from npm under the scoped name once a tagged release has been published. +> **Package name: `@evalops/mcp-openapi`.** The unscoped `mcp-openapi` package on the npm registry is an unrelated third-party project. + +```bash +npm install @evalops/mcp-openapi # from npm +npm install github:evalops/mcp-openapi # from source +``` ## Quickstart diff --git a/src/server.ts b/src/server.ts index 6469e0b..e78bcf8 100644 --- a/src/server.ts +++ b/src/server.ts @@ -765,7 +765,7 @@ async function scaffoldProject(targetDir: string): Promise { }, dependencies: { // The npm package named "mcp-openapi" is an unrelated third-party project; this package is @evalops/mcp-openapi. - "@evalops/mcp-openapi": "github:evalops/mcp-openapi" + "@evalops/mcp-openapi": "^0.5.0" }, devDependencies: { "@types/node": "^22.13.4", @@ -931,7 +931,7 @@ async function generateProjectFromSpec(targetDir: string, specPath: string, oper build: "tsc -p tsconfig.json", start: "node dist/server.js" }, - dependencies: { "@evalops/mcp-openapi": "github:evalops/mcp-openapi" }, + dependencies: { "@evalops/mcp-openapi": "^0.5.0" }, devDependencies: { typescript: "^5.7.3", tsx: "^4.20.3", "@types/node": "^22.13.4" } }, null, diff --git a/test/cli.test.ts b/test/cli.test.ts index d75b659..329a411 100644 --- a/test/cli.test.ts +++ b/test/cli.test.ts @@ -97,5 +97,5 @@ test("scaffolds depend on the GitHub source, not the unrelated npm package", asy const packageJson = JSON.parse(await readFile(resolve(outDir, "package.json"), "utf8")) as { dependencies: Record; }; - assert.equal(packageJson.dependencies["@evalops/mcp-openapi"], "github:evalops/mcp-openapi"); + assert.equal(packageJson.dependencies["@evalops/mcp-openapi"], "^0.5.0"); });