package.json•1.32 kB
{
"name": "ref-tools-mcp",
"version": "3.0.1",
"description": "ModelContextProtocol server for Ref",
"mcpName": "io.github.ref-tools/ref-tools-mcp",
"type": "module",
"module": "index.ts",
"scripts": {
"make-executable": "node -e \"fs.chmodSync('dist/index.cjs', '755');\" --require fs",
"build": "esbuild index.ts --outfile=dist/index.cjs --bundle --platform=node --format=cjs --banner:js='#!/usr/bin/env node' && npm run make-executable",
"watch": "esbuild index.ts --outfile=dist/index.cjs --bundle --platform=node --format=cjs --banner:js='#!/usr/bin/env node' --watch",
"inspect": "npx @modelcontextprotocol/inspector node dist/index.cjs",
"start:http": "TRANSPORT=http node dist/index.cjs",
"dev": "concurrently \"npm run watch\" \"npm run inspect\"",
"check": "tsc --noEmit",
"pre-commit": "npm run check",
"prepublishOnly": "npm run build"
},
"bin": {
"ref-tools-mcp": "./dist/index.cjs"
},
"files": [
"dist"
],
"dependencies": {
"@modelcontextprotocol/inspector": "^0.16.1",
"@modelcontextprotocol/sdk": "^1.0.3",
"axios": "^1.8.4"
},
"devDependencies": {
"@types/node": "^22.10.1",
"concurrently": "^8.2.2",
"esbuild": "^0.24.0",
"prettier": "^3.4.2",
"tsx": "^4.19.4",
"typescript": "^5.3.3"
}
}