package.json•1.32 kB
{
"name": "sbwsz-mcp-server",
"version": "1.3.0",
"description": "用于与大学院废墟(sbwsz.com)API交互的MCP服务端",
"license": "MIT",
"author": "lieyanqzu",
"homepage": "https://github.com/lieyanqzu/sbwsz-mcp",
"bugs": "https://github.com/lieyanqzu/sbwsz-mcp/issues",
"type": "module",
"bin": {
"sbwsz-mcp-server": "dist/index.js"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc && shx chmod +x dist/*.js",
"prepare": "npm run build",
"watch": "tsc --watch",
"dev": "npx cross-env TRANSPORT=http NODE_NO_WARNINGS=1 tsx watch index.ts",
"dev:stdio": "npx cross-env NODE_NO_WARNINGS=1 tsx watch index.ts",
"start": "npm run start:http",
"start:http": "npx cross-env TRANSPORT=http node dist/index.js",
"start:stdio": "npx cross-env TRANSPORT=stdio node dist/index.js"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.10.1",
"node-fetch": "^3.3.1",
"yargs": "^17.7.2",
"express": "^4.18.0",
"cors": "^2.8.5",
"zod": "^3.22.0"
},
"devDependencies": {
"@types/node": "^22",
"@types/node-fetch": "^2.6.2",
"@types/yargs": "^17.0.32",
"@types/express": "^4.17.0",
"@types/cors": "^2.8.0",
"cross-env": "^7.0.3",
"shx": "^0.3.4",
"typescript": "^5.6.2",
"tsx": "^4.7.0"
}
}