Skip to content

Commit 49dddfb

Browse files
authored
Merge pull request modelcontextprotocol#316 from cliffhall/fix-cli-build
Refactor project after addition of CLI
2 parents befa209 + e878538 commit 49dddfb

File tree

15 files changed

+711
-3774
lines changed

15 files changed

+711
-3774
lines changed

.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

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: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,21 @@
33
"version": "0.9.0",
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": {

0 commit comments

Comments
 (0)