Skip to content

Commit 0f6ed3f

Browse files
committed
fix: improve cross-platform CLI compatibility for Windows
1 parent a436ea0 commit 0f6ed3f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

bin/mcp-server-azure-devops.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
require('../dist/index.js');

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"bin": {
8-
"mcp-server-azure-devops": "./dist/index.js"
8+
"mcp-server-azure-devops": "./bin/mcp-server-azure-devops.js"
99
},
1010
"files": [
1111
"dist",
12+
"bin",
1213
"docs",
1314
"LICENSE",
1415
"README.md"
@@ -19,7 +20,7 @@
1920
}
2021
},
2122
"scripts": {
22-
"build": "tsc && chmod +x dist/index.js",
23+
"build": "tsc && chmod +x dist/index.js && chmod +x bin/mcp-server-azure-devops.js",
2324
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
2425
"start": "node dist/index.js",
2526
"inspector": "npm run build && npx @modelcontextprotocol/inspector node dist/index.js",

0 commit comments

Comments
 (0)