mcp-server-wom-call 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  /**
2
3
  * MCP Server - Work Order Management (WOM) Ticket Creator
3
4
  * 用于自动化创建运维工单的 MCP 服务器
@@ -1,4 +1,4 @@
1
- import { fetchWithTimeout, delay } from '../utils/http';
1
+ import { fetchWithTimeout, delay } from '@/utils/http';
2
2
  /**
3
3
  * 带重试的 HTTP 调用
4
4
  * @param url 请求地址
package/package.json CHANGED
@@ -1,35 +1,24 @@
1
1
  {
2
2
  "name": "mcp-server-wom-call",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "MCP Server for Work Order Management System Integration",
5
- "license": "MIT",
6
- "author": "Myth",
7
5
  "type": "module",
6
+ "main": "./dist/index.js",
8
7
  "bin": {
9
- "mcp-server-wom-call": "dist/index.js"
8
+ "mcp-server-wom-call": "./dist/index.js"
10
9
  },
11
10
  "files": [
12
- "dist"
11
+ "dist",
12
+ "README.md",
13
+ "LICENSE"
13
14
  ],
14
15
  "scripts": {
15
- "build": "tsc && tsc-alias && shx chmod +x dist/*.js",
16
- "prepare": "npm run build",
17
- "watch": "tsc --watch",
18
- "dev": "tsx src/index.ts",
16
+ "build": "tsc && node scripts/postbuild.js",
17
+ "dev": "tsc --watch",
18
+ "start": "node build/index.js",
19
+ "prepublishOnly": "npm run build",
19
20
  "test:local": "node dist/index.js"
20
21
  },
21
- "dependencies": {
22
- "@modelcontextprotocol/sdk": "1.0.1",
23
- "dotenv": "^17.2.3"
24
- },
25
- "devDependencies": {
26
- "@types/node": "^22",
27
- "shx": "^0.3.4",
28
- "tsc-alias": "^1.8.16",
29
- "tsconfig-paths": "^4.2.0",
30
- "tsx": "^4.21.0",
31
- "typescript": "^5.6.2"
32
- },
33
22
  "keywords": [
34
23
  "mcp",
35
24
  "mcp-server",
@@ -39,9 +28,15 @@
39
28
  "esb",
40
29
  "model-context-protocol"
41
30
  ],
42
- "repository": {
43
- "type": "git",
44
- "url": "https://github.com/yourusername/mcp-server-wom-call.git"
31
+ "author": "Your Name",
32
+ "license": "MIT",
33
+ "dependencies": {
34
+ "@modelcontextprotocol/sdk": "^1.0.1",
35
+ "dotenv": "^16.0.0"
36
+ },
37
+ "devDependencies": {
38
+ "@types/node": "^20.0.0",
39
+ "typescript": "^5.0.0"
45
40
  },
46
41
  "engines": {
47
42
  "node": ">=18.0.0"