From 6759c461f99e415c3ca83d062bdb680367af448b Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 11 Nov 2024 10:30:48 +0000 Subject: [PATCH 1/9] Add license and more package metadata --- LICENSE | 7 +++++++ client/package.json | 8 ++++++-- package.json | 8 ++++++-- server/package.json | 7 ++++++- 4 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..596ffee --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Copyright (c) 2024 Anthropic, PBC. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/client/package.json b/client/package.json index f353f01..ad3b850 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,11 @@ { - "name": "client", - "private": true, + "name": "@modelcontextprotocol/inspector-client", "version": "0.0.0", + "description": "Client-side application for the Model Context Protocol inspector", + "license": "MIT", + "author": "Anthropic, PBC (https://anthropic.com)", + "homepage": "https://modelcontextprotocol.github.io", + "bugs": "https://github.com/modelcontextprotocol/inspector/issues", "type": "module", "scripts": { "dev": "vite", diff --git a/package.json b/package.json index 163bc74..dbdb611 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,11 @@ { - "name": "mcp-inspector", - "private": true, + "name": "@modelcontextprotocol/inspector", "version": "0.0.1", + "description": "Model Context Protocol inspector", + "license": "MIT", + "author": "Anthropic, PBC (https://anthropic.com)", + "homepage": "https://modelcontextprotocol.github.io", + "bugs": "https://github.com/modelcontextprotocol/inspector/issues", "type": "module", "workspaces": [ "client", diff --git a/server/package.json b/server/package.json index 96ddf8e..78e82dc 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,11 @@ { - "name": "mcp-inspector", + "name": "@modelcontextprotocol/inspector-server", "version": "0.0.1", + "description": "Server-side application for the Model Context Protocol inspector", + "license": "MIT", + "author": "Anthropic, PBC (https://anthropic.com)", + "homepage": "https://modelcontextprotocol.github.io", + "bugs": "https://github.com/modelcontextprotocol/inspector/issues", "main": "build/index.js", "type": "module", "scripts": { From a0d8ec1e7eda022319ef98a0472f3bcb0d379c84 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 11 Nov 2024 10:41:07 +0000 Subject: [PATCH 2/9] Make server executable on its own --- server/package.json | 7 ++++++- server/src/index.ts | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/server/package.json b/server/package.json index 78e82dc..a503374 100644 --- a/server/package.json +++ b/server/package.json @@ -6,8 +6,13 @@ "author": "Anthropic, PBC (https://anthropic.com)", "homepage": "https://modelcontextprotocol.github.io", "bugs": "https://github.com/modelcontextprotocol/inspector/issues", - "main": "build/index.js", "type": "module", + "bin": { + "mcp-inspector-server": "build/index.js" + }, + "files": [ + "build" + ], "scripts": { "build": "tsc", "start": "node build/index.js", diff --git a/server/src/index.ts b/server/src/index.ts index 58e922b..328312b 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import cors from "cors"; import EventSource from "eventsource"; From 196f2f801d1adb9ebaeefe5898708cedecd11772 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 11 Nov 2024 11:04:42 +0000 Subject: [PATCH 3/9] Use `serve` to create npm package for the client --- client/bin/cli.js | 18 +++++++ client/package.json | 12 ++++- package-lock.json | 115 ++++++++++++++++++++++++++++++++++++++------ 3 files changed, 130 insertions(+), 15 deletions(-) create mode 100755 client/bin/cli.js diff --git a/client/bin/cli.js b/client/bin/cli.js new file mode 100755 index 0000000..685e09d --- /dev/null +++ b/client/bin/cli.js @@ -0,0 +1,18 @@ +#!/usr/bin/env node + +import { join, dirname } from "path"; +import { fileURLToPath } from "url"; +import handler from "serve-handler"; +import http from "http"; + +const __dirname = dirname(fileURLToPath(import.meta.url)); +const distPath = join(__dirname, "../dist"); + +const server = http.createServer((request, response) => { + return handler(request, response, { public: distPath }); +}); + +const port = process.env.PORT || 3000; +server.listen(port, () => { + console.log(`MCP inspector client running at http://localhost:${port}`); +}); diff --git a/client/package.json b/client/package.json index ad3b850..f4f6520 100644 --- a/client/package.json +++ b/client/package.json @@ -7,11 +7,19 @@ "homepage": "https://modelcontextprotocol.github.io", "bugs": "https://github.com/modelcontextprotocol/inspector/issues", "type": "module", + "bin": { + "mcp-inspector-client": "./bin/cli.js" + }, + "files": [ + "bin", + "dist" + ], "scripts": { "dev": "vite", "build": "tsc -b && vite build", "lint": "eslint .", - "preview": "vite preview" + "preview": "vite preview", + "prepare": "npm run build" }, "dependencies": { "@modelcontextprotocol/sdk": "*", @@ -25,6 +33,7 @@ "lucide-react": "^0.447.0", "react": "^18.3.1", "react-dom": "^18.3.1", + "serve-handler": "^6.1.6", "tailwind-merge": "^2.5.3", "tailwindcss-animate": "^1.0.7", "zod": "^3.23.8" @@ -34,6 +43,7 @@ "@types/node": "^22.7.5", "@types/react": "^18.3.10", "@types/react-dom": "^18.3.0", + "@types/serve-handler": "^6.1.4", "@vitejs/plugin-react": "^4.3.2", "autoprefixer": "^10.4.20", "eslint": "^9.11.1", diff --git a/package-lock.json b/package-lock.json index 1864170..d459fb5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,13 @@ { - "name": "mcp-inspector", + "name": "@modelcontextprotocol/inspector", "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "mcp-inspector", + "name": "@modelcontextprotocol/inspector", "version": "0.0.1", + "license": "MIT", "workspaces": [ "client", "server" @@ -17,7 +18,9 @@ } }, "client": { + "name": "@modelcontextprotocol/inspector-client", "version": "0.0.0", + "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "*", "@radix-ui/react-icons": "^1.3.0", @@ -30,15 +33,20 @@ "lucide-react": "^0.447.0", "react": "^18.3.1", "react-dom": "^18.3.1", + "serve-handler": "^6.1.6", "tailwind-merge": "^2.5.3", "tailwindcss-animate": "^1.0.7", "zod": "^3.23.8" }, + "bin": { + "mcp-inspector-client": "bin/cli.js" + }, "devDependencies": { "@eslint/js": "^9.11.1", "@types/node": "^22.7.5", "@types/react": "^18.3.10", "@types/react-dom": "^18.3.0", + "@types/serve-handler": "^6.1.4", "@vitejs/plugin-react": "^4.3.2", "autoprefixer": "^10.4.20", "eslint": "^9.11.1", @@ -840,6 +848,14 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@modelcontextprotocol/inspector-client": { + "resolved": "client", + "link": true + }, + "node_modules/@modelcontextprotocol/inspector-server": { + "resolved": "server", + "link": true + }, "node_modules/@modelcontextprotocol/sdk": { "version": "0.3.2", "resolved": "https://artifactory.infra.ant.dev:443/artifactory/api/npm/npm-internal/@modelcontextprotocol/sdk/-/@modelcontextprotocol/sdk-0.3.2.tgz", @@ -1733,6 +1749,16 @@ "@types/node": "*" } }, + "node_modules/@types/serve-handler": { + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/@types/serve-handler/-/serve-handler-6.1.4.tgz", + "integrity": "sha512-aXy58tNie0NkuSCY291xUxl0X+kGYy986l4kqW6Gi4kEXgr6Tx0fpSH7YwUSa5usPpG3s9DBeIR6hHcDtL2IvQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/serve-static": { "version": "1.15.7", "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.7.tgz", @@ -2245,7 +2271,6 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -2427,10 +2452,6 @@ "node": ">=6" } }, - "node_modules/client": { - "resolved": "client", - "link": true - }, "node_modules/cliui": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", @@ -2486,7 +2507,6 @@ "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true, "license": "MIT" }, "node_modules/concurrently": { @@ -3884,10 +3904,6 @@ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" } }, - "node_modules/mcp-inspector": { - "resolved": "server", - "link": true - }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -3974,7 +3990,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" @@ -4199,6 +4214,11 @@ "node": ">=8" } }, + "node_modules/path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==" + }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -4898,6 +4918,69 @@ "node": ">= 0.8" } }, + "node_modules/serve-handler": { + "version": "6.1.6", + "resolved": "https://registry.npmjs.org/serve-handler/-/serve-handler-6.1.6.tgz", + "integrity": "sha512-x5RL9Y2p5+Sh3D38Fh9i/iQ5ZK+e4xuXRd/pGbM4D13tgo/MGwbttUk8emytcr1YYzBYs+apnUngBDFYfpjPuQ==", + "license": "MIT", + "dependencies": { + "bytes": "3.0.0", + "content-disposition": "0.5.2", + "mime-types": "2.1.18", + "minimatch": "3.1.2", + "path-is-inside": "1.0.2", + "path-to-regexp": "3.3.0", + "range-parser": "1.2.0" + } + }, + "node_modules/serve-handler/node_modules/bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/serve-handler/node_modules/content-disposition": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", + "integrity": "sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-handler/node_modules/mime-db": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", + "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-handler/node_modules/mime-types": { + "version": "2.1.18", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", + "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "dependencies": { + "mime-db": "~1.33.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-handler/node_modules/path-to-regexp": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.3.0.tgz", + "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==" + }, + "node_modules/serve-handler/node_modules/range-parser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", + "integrity": "sha512-kA5WQoNVo4t9lNx2kQNFCxKeBl5IbbSNBl1M/tLkw9WCn+hxNBAW5Qh8gdhs63CJnhjJ2zQWFoqPJP2sK1AV5A==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/serve-static": { "version": "1.16.2", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", @@ -5779,8 +5862,9 @@ } }, "server": { - "name": "mcp-inspector", + "name": "@modelcontextprotocol/inspector-server", "version": "0.0.1", + "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "*", "cors": "^2.8.5", @@ -5789,6 +5873,9 @@ "ws": "^8.18.0", "zod": "^3.23.8" }, + "bin": { + "mcp-inspector-server": "build/index.js" + }, "devDependencies": { "@types/cors": "^2.8.17", "@types/eventsource": "^1.1.15", From bce3a7b8d6c5ac58c20f3b713cd1b750234b7e56 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 11 Nov 2024 11:10:42 +0000 Subject: [PATCH 4/9] Make root package installable/executable --- bin/cli.js | 36 ++++++++++++++++++++++++++++++++++++ package.json | 14 ++++++++++++-- 2 files changed, 48 insertions(+), 2 deletions(-) create mode 100755 bin/cli.js diff --git a/bin/cli.js b/bin/cli.js new file mode 100755 index 0000000..0de8616 --- /dev/null +++ b/bin/cli.js @@ -0,0 +1,36 @@ +#!/usr/bin/env node + +import { join, dirname } from "path"; +import { fileURLToPath } from "url"; +import concurrently from "concurrently"; + +const __dirname = dirname(fileURLToPath(import.meta.url)); + +// Paths to the server and client entry points +const serverPath = join(__dirname, "../server/build/index.js"); +const clientPath = join(__dirname, "../client/bin/cli.js"); + +console.log("Starting MCP inspector..."); + +const { result } = concurrently( + [ + { + command: `node ${serverPath}`, + name: "server", + }, + { + command: `node ${clientPath}`, + name: "client", + }, + ], + { + prefix: "name", + killOthers: ["failure", "success"], + restartTries: 3, + }, +); + +result.catch((err) => { + console.error("An error occurred:", err); + process.exit(1); +}); diff --git a/package.json b/package.json index dbdb611..d7dfb4d 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,14 @@ "homepage": "https://modelcontextprotocol.github.io", "bugs": "https://github.com/modelcontextprotocol/inspector/issues", "type": "module", + "bin": { + "mcp-inspector": "./bin/cli.js" + }, + "files": [ + "bin", + "client/dist", + "server/build" + ], "workspaces": [ "client", "server" @@ -18,11 +26,13 @@ "build": "npm run build-server && npm run build-client", "start-server": "cd server && npm run start", "start-client": "cd client && npm run preview", - "start": "concurrently \"npm run start-server\" \"npm run start-client\"", + "start": "./bin/cli.js", + "prepare": "npm run build", "prettier-fix": "prettier --write ." }, "devDependencies": { "concurrently": "^9.0.1", - "prettier": "3.3.3" + "prettier": "3.3.3", + "@types/node": "^22.7.5" } } From 3a9b08bd37aa090266b13e55b4908ce2c5c376b2 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 11 Nov 2024 11:11:27 +0000 Subject: [PATCH 5/9] Pick non-conflicting default client port --- client/bin/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/bin/cli.js b/client/bin/cli.js index 685e09d..f537e19 100755 --- a/client/bin/cli.js +++ b/client/bin/cli.js @@ -12,7 +12,7 @@ const server = http.createServer((request, response) => { return handler(request, response, { public: distPath }); }); -const port = process.env.PORT || 3000; +const port = process.env.PORT || 5173; server.listen(port, () => { console.log(`MCP inspector client running at http://localhost:${port}`); }); From 448910d98697bdcf5691f4e8a8e07d420abcf7b0 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 11 Nov 2024 11:20:53 +0000 Subject: [PATCH 6/9] Make nested packages private, just install root package --- client/package.json | 3 ++- package-lock.json | 12 ++++++++---- package.json | 3 ++- server/package.json | 3 ++- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/client/package.json b/client/package.json index f4f6520..86a8db8 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,7 @@ { "name": "@modelcontextprotocol/inspector-client", - "version": "0.0.0", + "version": "0.1.0", + "private": true, "description": "Client-side application for the Model Context Protocol inspector", "license": "MIT", "author": "Anthropic, PBC (https://anthropic.com)", diff --git a/package-lock.json b/package-lock.json index d459fb5..ed919a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,25 +1,29 @@ { "name": "@modelcontextprotocol/inspector", - "version": "0.0.1", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@modelcontextprotocol/inspector", - "version": "0.0.1", + "version": "0.1.0", "license": "MIT", "workspaces": [ "client", "server" ], + "bin": { + "mcp-inspector": "bin/cli.js" + }, "devDependencies": { + "@types/node": "^22.7.5", "concurrently": "^9.0.1", "prettier": "3.3.3" } }, "client": { "name": "@modelcontextprotocol/inspector-client", - "version": "0.0.0", + "version": "0.1.0", "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "*", @@ -5863,7 +5867,7 @@ }, "server": { "name": "@modelcontextprotocol/inspector-server", - "version": "0.0.1", + "version": "0.1.0", "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "*", diff --git a/package.json b/package.json index d7dfb4d..723e119 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@modelcontextprotocol/inspector", - "version": "0.0.1", + "version": "0.1.0", "description": "Model Context Protocol inspector", "license": "MIT", "author": "Anthropic, PBC (https://anthropic.com)", @@ -12,6 +12,7 @@ }, "files": [ "bin", + "client/bin", "client/dist", "server/build" ], diff --git a/server/package.json b/server/package.json index a503374..22e9387 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,7 @@ { "name": "@modelcontextprotocol/inspector-server", - "version": "0.0.1", + "version": "0.1.0", + "private": true, "description": "Server-side application for the Model Context Protocol inspector", "license": "MIT", "author": "Anthropic, PBC (https://anthropic.com)", From 94ddfed1ac1063bd4bf45c2daf0455cda563b7a2 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 11 Nov 2024 11:24:21 +0000 Subject: [PATCH 7/9] Add `concurrently` dependency --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 723e119..fff0fee 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,10 @@ "prepare": "npm run build", "prettier-fix": "prettier --write ." }, + "dependencies": { + "concurrently": "^9.0.1" + }, "devDependencies": { - "concurrently": "^9.0.1", "prettier": "3.3.3", "@types/node": "^22.7.5" } From 1ddd2d7aaab3c9b7e7e536e218971d5958bad091 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 11 Nov 2024 12:15:52 +0000 Subject: [PATCH 8/9] Disallow publishing root package for now --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index fff0fee..f1550fa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "@modelcontextprotocol/inspector", "version": "0.1.0", + "private": true, "description": "Model Context Protocol inspector", "license": "MIT", "author": "Anthropic, PBC (https://anthropic.com)", From 6147640656d91d112b3e722117561d8e9d26f3df Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 11 Nov 2024 12:19:14 +0000 Subject: [PATCH 9/9] Remove client prepare script --- client/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/package.json b/client/package.json index 86a8db8..893929c 100644 --- a/client/package.json +++ b/client/package.json @@ -19,8 +19,7 @@ "dev": "vite", "build": "tsc -b && vite build", "lint": "eslint .", - "preview": "vite preview", - "prepare": "npm run build" + "preview": "vite preview" }, "dependencies": { "@modelcontextprotocol/sdk": "*",