diff --git a/package.json b/package.json index c9ecfc2..0d80bda 100644 --- a/package.json +++ b/package.json @@ -1,25 +1,25 @@ { - "name": "mcp", - "version": "1.0.0", - "description": "", - "license": "ISC", - "author": "", - "type": "module", - "main": "index.js", - "bin": { - "mcp": "./build/index.js" - }, + "name": "mcp", + "version": "1.0.0", + "description": "", + "license": "ISC", + "author": "", + "type": "module", + "main": "index.js", + "bin": { + "mcp": "./build/index.js" + }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", + "test": "echo \"Error: no test specified\" && exit 1", "build": "node_modules/typescript/bin/tsc && chmod 755 build/index.js" - }, + }, "files": ["build"], - "dependencies": { - "@modelcontextprotocol/sdk": "^1.13.0", - "zod": "^3.25.67" - }, - "devDependencies": { - "@types/node": "^24.0.3", - "typescript": "^5.8.3" - } + "dependencies": { + "@modelcontextprotocol/sdk": "^1.13.0", + "zod": "^3.25.67" + }, + "devDependencies": { + "@types/node": "^24.0.3", + "typescript": "^5.8.3" + } } diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..b35fd0f --- /dev/null +++ b/run.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +cd $(dirname "${0}") + +if [ ! -f build/index.js ]; then + npm i + npm run build +fi + +node build/index.js