Skip to content

Commit 8dd4921

Browse files
committed
Update version to 1.0.1, modify package.json to include executable script, and add shebang to index.ts for CLI support
1 parent 40625d9 commit 8dd4921

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "@bschauer/strapi-mcp-server",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Model Context Protocol server implementation for Strapi CMS",
55
"type": "module",
66
"bin": {
7-
"strapi-mcp-server": "./build/index.js"
7+
"@bschauer/strapi-mcp-server": "./build/index.js"
88
},
99
"files": [
1010
"build/**/*",
1111
"README.md",
1212
"LICENSE"
1313
],
1414
"scripts": {
15-
"build": "tsc",
15+
"build": "tsc && chmod +x build/index.js",
1616
"start": "node build/index.js",
1717
"dev": "ts-node src/index.ts",
1818
"prepublishOnly": "npm run build"

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
24
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
35
import {

0 commit comments

Comments
 (0)