Merge branch 'modelcontextprotocol:main' into feature/completions

This commit is contained in:
Gavin Aboulhosn
2025-02-12 19:10:06 -05:00
committed by GitHub
4 changed files with 9 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/inspector-client", "name": "@modelcontextprotocol/inspector-client",
"version": "0.4.0", "version": "0.4.1",
"description": "Client-side application for the Model Context Protocol inspector", "description": "Client-side application for the Model Context Protocol inspector",
"license": "MIT", "license": "MIT",
"author": "Anthropic, PBC (https://anthropic.com)", "author": "Anthropic, PBC (https://anthropic.com)",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/inspector", "name": "@modelcontextprotocol/inspector",
"version": "0.4.0", "version": "0.4.1",
"description": "Model Context Protocol inspector", "description": "Model Context Protocol inspector",
"license": "MIT", "license": "MIT",
"author": "Anthropic, PBC (https://anthropic.com)", "author": "Anthropic, PBC (https://anthropic.com)",
@@ -33,8 +33,8 @@
"publish-all": "npm publish --workspaces --access public && npm publish --access public" "publish-all": "npm publish --workspaces --access public && npm publish --access public"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/inspector-client": "0.3.0", "@modelcontextprotocol/inspector-client": "0.4.1",
"@modelcontextprotocol/inspector-server": "0.3.0", "@modelcontextprotocol/inspector-server": "0.4.1",
"concurrently": "^9.0.1", "concurrently": "^9.0.1",
"shell-quote": "^1.8.2", "shell-quote": "^1.8.2",
"spawn-rx": "^5.1.0", "spawn-rx": "^5.1.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/inspector-server", "name": "@modelcontextprotocol/inspector-server",
"version": "0.4.0", "version": "0.4.1",
"description": "Server-side application for the Model Context Protocol inspector", "description": "Server-side application for the Model Context Protocol inspector",
"license": "MIT", "license": "MIT",
"author": "Anthropic, PBC (https://anthropic.com)", "author": "Anthropic, PBC (https://anthropic.com)",

View File

@@ -185,13 +185,12 @@ const PORT = process.env.PORT || 3000;
try { try {
const server = app.listen(PORT); const server = app.listen(PORT);
server.on('listening', () => { server.on("listening", () => {
const addr = server.address(); 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}`); console.log(`Proxy server listening on port ${port}`);
}); });
} catch (error) { } catch (error) {
console.error('Failed to start server:', error); console.error("Failed to start server:", error);
process.exit(1); process.exit(1);
} }