Skip to content

Commit 2d3d5fa

Browse files
committedMar 26, 2025
fix: add bin field to make package executable with npx
1 parent 3a906be commit 2d3d5fa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"description": "Azure DevOps reference server for the Model Context Protocol (MCP)",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
7+
"bin": {
8+
"mcp-server-azure-devops": "./dist/index.js"
9+
},
710
"files": [
811
"dist",
912
"docs",
@@ -16,7 +19,7 @@
1619
}
1720
},
1821
"scripts": {
19-
"build": "tsc",
22+
"build": "tsc && chmod +x dist/index.js",
2023
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
2124
"start": "node dist/index.js",
2225
"inspector": "npm run build && npx @modelcontextprotocol/inspector node dist/index.js",

0 commit comments

Comments
 (0)
Please sign in to comment.