Commit d7b5a5d1 authored by LongLD's avatar LongLD

fix run update

parent d12adbe0
#!/usr/bin/env node
export {}; export {};
#!/usr/bin/env node
import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprotocol/sdk/types.js'; import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprotocol/sdk/types.js';
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
"version": "1.0.0", "version": "1.0.0",
"type": "module", "type": "module",
"description": "MCP Server cho ACM GraphQL API", "description": "MCP Server cho ACM GraphQL API",
"main": "dist/index.js",
"bin": { "bin": {
"acm-graphql-mcp": "dist/index.js" "acm-graphql-mcp": "dist/index.js"
}, },
"files": ["dist"], "files": ["dist"],
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"prepublishOnly": "npm run build",
"start": "node dist/index.js", "start": "node dist/index.js",
"dev": "tsx src/index.ts" "dev": "tsx src/index.ts"
}, },
...@@ -22,5 +22,8 @@ ...@@ -22,5 +22,8 @@
"@types/node": "^22.0.0", "@types/node": "^22.0.0",
"tsx": "^4.0.0", "tsx": "^4.0.0",
"typescript": "^5.6.0" "typescript": "^5.6.0"
},
"engines": {
"node": ">=18"
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment