diff --git a/client/package.json b/client/package.json index 69021c86a..e3445da72 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "@modelcontextprotocol/inspector-client", - "version": "0.4.0", + "version": "0.4.1", "description": "Client-side application for the Model Context Protocol inspector", "license": "MIT", "author": "Anthropic, PBC (https://anthropic.com)", diff --git a/package.json b/package.json index cf06f708d..0989aa9be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@modelcontextprotocol/inspector", - "version": "0.4.0", + "version": "0.4.1", "description": "Model Context Protocol inspector", "license": "MIT", "author": "Anthropic, PBC (https://anthropic.com)", @@ -33,8 +33,8 @@ "publish-all": "npm publish --workspaces --access public && npm publish --access public" }, "dependencies": { - "@modelcontextprotocol/inspector-client": "0.3.0", - "@modelcontextprotocol/inspector-server": "0.3.0", + "@modelcontextprotocol/inspector-client": "0.4.1", + "@modelcontextprotocol/inspector-server": "0.4.1", "concurrently": "^9.0.1", "shell-quote": "^1.8.2", "spawn-rx": "^5.1.0", diff --git a/server/package.json b/server/package.json index eb711f56c..f2e4ddd35 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,6 @@ { "name": "@modelcontextprotocol/inspector-server", - "version": "0.4.0", + "version": "0.4.1", "description": "Server-side application for the Model Context Protocol inspector", "license": "MIT", "author": "Anthropic, PBC (https://anthropic.com)", diff --git a/server/src/index.ts b/server/src/index.ts index 96027a92e..2874b4550 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -184,14 +184,13 @@ const PORT = process.env.PORT || 3000; try { const server = app.listen(PORT); - - server.on('listening', () => { + + server.on("listening", () => { const addr = server.address(); - const port = typeof addr === 'string' ? addr : addr?.port; + const port = typeof addr === "string" ? addr : addr?.port; console.log(`Proxy server listening on port ${port}`); }); - } catch (error) { - console.error('Failed to start server:', error); + console.error("Failed to start server:", error); process.exit(1); }