@modelcontextprotocol/inspector 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +2 -2
- package/package.json +4 -22
package/bin/cli.js
CHANGED
|
@@ -7,7 +7,7 @@ import concurrently from "concurrently";
|
|
|
7
7
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
8
8
|
|
|
9
9
|
// Get command line arguments
|
|
10
|
-
const [, ,
|
|
10
|
+
const [, , command, ...mcpServerArgs] = process.argv;
|
|
11
11
|
|
|
12
12
|
const inspectorServerPath = join(__dirname, "../server/build/index.js");
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ console.log("Starting MCP inspector...");
|
|
|
19
19
|
const { result } = concurrently(
|
|
20
20
|
[
|
|
21
21
|
{
|
|
22
|
-
command: `node ${inspectorServerPath}${
|
|
22
|
+
command: `node ${inspectorServerPath}${command ? ` --env ${command}` : ""}${mcpServerArgs.length ? ` --args "${mcpServerArgs.join(" ")}"` : ""}`,
|
|
23
23
|
name: "server",
|
|
24
24
|
},
|
|
25
25
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modelcontextprotocol/inspector",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Model Context Protocol inspector",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Anthropic, PBC (https://anthropic.com)",
|
|
@@ -32,27 +32,9 @@
|
|
|
32
32
|
"prettier-fix": "prettier --write ."
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@modelcontextprotocol/
|
|
36
|
-
"@
|
|
37
|
-
"
|
|
38
|
-
"@radix-ui/react-select": "^2.1.2",
|
|
39
|
-
"@radix-ui/react-slot": "^1.1.0",
|
|
40
|
-
"@radix-ui/react-tabs": "^1.1.1",
|
|
41
|
-
"class-variance-authority": "^0.7.0",
|
|
42
|
-
"clsx": "^2.1.1",
|
|
43
|
-
"lucide-react": "^0.447.0",
|
|
44
|
-
"react": "^18.3.1",
|
|
45
|
-
"react-dom": "^18.3.1",
|
|
46
|
-
"react-toastify": "^10.0.6",
|
|
47
|
-
"serve-handler": "^6.1.6",
|
|
48
|
-
"tailwind-merge": "^2.5.3",
|
|
49
|
-
"tailwindcss-animate": "^1.0.7",
|
|
50
|
-
"concurrently": "^9.0.1",
|
|
51
|
-
"cors": "^2.8.5",
|
|
52
|
-
"eventsource": "^2.0.2",
|
|
53
|
-
"express": "^4.21.0",
|
|
54
|
-
"ws": "^8.18.0",
|
|
55
|
-
"zod": "^3.23.8"
|
|
35
|
+
"@modelcontextprotocol/inspector-client": "0.1.0",
|
|
36
|
+
"@modelcontextprotocol/inspector-server": "0.1.0",
|
|
37
|
+
"concurrently": "^9.0.1"
|
|
56
38
|
},
|
|
57
39
|
"devDependencies": {
|
|
58
40
|
"prettier": "3.3.3",
|