Skip to content

Commit 29b465f

Browse files
Merge branch 'main' into sampling-form
2 parents c65b5f8 + 6ab7ac3 commit 29b465f

33 files changed

+1236
-4042
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
# - run: npm ci
5959
- run: npm install --no-package-lock
6060

61+
- run: npm run build
62+
6163
# TODO: Add --provenance once the repo is public
6264
- run: npm run publish-all
6365
env:

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
.DS_Store
2+
.vscode
3+
.idea
24
node_modules/
35
*-workspace/
46
server/build
57
client/dist
68
client/tsconfig.app.tsbuildinfo
79
client/tsconfig.node.tsbuildinfo
8-
.vscode
9-
bin/build
1010
cli/build
1111
test-output

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The MCP inspector is a developer tool for testing and debugging MCP servers.
66

77
## Running the Inspector
88

9+
### Requirements
10+
11+
- Node.js: ^22.7.5
12+
913
### From an MCP server repository
1014

1115
To inspect an MCP server implementation, there's no need to clone this repo. Instead, use `npx`. For example, if your server is built at `build/index.js`:
@@ -99,7 +103,7 @@ Development mode:
99103
npm run dev
100104
```
101105

102-
> **Note for Windows users:**
106+
> **Note for Windows users:**
103107
> On Windows, use the following command instead:
104108
>
105109
> ```bash

bin/cli.js

Lines changed: 0 additions & 217 deletions
This file was deleted.

bin/package.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

bin/scripts/copy-cli.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

bin/tsconfig.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

cli/package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
{
22
"name": "@modelcontextprotocol/inspector-cli",
3-
"version": "0.9.0",
3+
"version": "0.10.2",
44
"description": "CLI for the Model Context Protocol inspector",
55
"license": "MIT",
6-
"author": "Nicolas Barraud",
7-
"homepage": "https://github.com/nbarraud",
8-
"main": "build/index.js",
6+
"author": "Anthropic, PBC (https://anthropic.com)",
7+
"homepage": "https://modelcontextprotocol.io",
8+
"bugs": "https://github.com/modelcontextprotocol/inspector/issues",
9+
"main": "build/cli.js",
910
"type": "module",
1011
"bin": {
11-
"mcp-inspector-cli": "build/index.js"
12+
"mcp-inspector-cli": "build/cli.js"
1213
},
1314
"files": [
1415
"build"
1516
],
1617
"scripts": {
17-
"build": "tsc"
18+
"build": "tsc",
19+
"postbuild": "node scripts/make-executable.js",
20+
"test": "node scripts/cli-tests.js"
1821
},
1922
"devDependencies": {},
2023
"dependencies": {
24+
"@modelcontextprotocol/sdk": "^1.10.0",
2125
"commander": "^13.1.0",
2226
"spawn-rx": "^5.1.2"
2327
}

0 commit comments

Comments
 (0)