Skip to content

Commit 14a3c69

Browse files
committed
fix: restore bin field as object for proper CLI naming
The bin field needs to be an object to properly name the CLI command as 'mcp-wayback-machine'. When bin is a string, npm uses the package name directly, which is correct in this case, but using an object is more explicit and matches our tests.
1 parent f26ce2b commit 14a3c69

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "MCP server for interacting with the Wayback Machine without API keys",
55
"main": "dist/index.js",
66
"type": "module",
7-
"bin": "dist/index.js",
7+
"bin": {
8+
"mcp-wayback-machine": "dist/index.js"
9+
},
810
"scripts": {
911
"build": "tsc",
1012
"dev": "tsx watch src/index.ts",

0 commit comments

Comments
 (0)