Skip to content

Commit

Permalink
Merge pull request #146 from modelcontextprotocol/justin/fix-versions
Browse files Browse the repository at this point in the history
Bump all versions to 0.4.1
  • Loading branch information
jspahrsummers authored Feb 12, 2025
2 parents 6d930ec + 410a6f3 commit fa723ab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -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)",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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)",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -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)",
Expand Down
9 changes: 4 additions & 5 deletions server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit fa723ab

Please sign in to comment.