@samanhappy/mcphub 0.0.16 → 0.0.18

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.
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>MCP Hub Dashboard</title>
7
+ <link rel="icon" type="image/x-icon" href="/assets/favicon-DKeT5aEu.ico">
8
+ <script type="module" crossorigin src="/assets/index-D7dQ4HtK.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-BYmTZOyw.css">
10
+ </head>
11
+ <body class="bg-gray-100">
12
+ <div id="root"></div>
13
+ </body>
14
+ </html>
package/package.json CHANGED
@@ -1,20 +1,24 @@
1
1
  {
2
2
  "name": "@samanhappy/mcphub",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "description": "A hub server for mcp servers",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
7
7
  "bin": {
8
- "mcphub": "./dist/index.js"
8
+ "mcphub": "./bin/cli.js"
9
9
  },
10
10
  "files": [
11
11
  "dist",
12
+ "bin",
12
13
  "mcp_settings.json",
13
- "servers.json"
14
+ "servers.json",
15
+ "frontend/dist",
16
+ "README.md",
17
+ "LICENSE"
14
18
  ],
15
19
  "scripts": {
16
- "build": "tsc && shx chmod +x dist/index.js",
17
- "prepare": "npm run build",
20
+ "build": "npm run backend:build && npm run frontend:build",
21
+ "backend:build": "tsc",
18
22
  "start": "node dist/index.js",
19
23
  "backend:dev": "tsx watch src/index.ts",
20
24
  "lint": "eslint . --ext .ts",
@@ -23,36 +27,55 @@
23
27
  "frontend:dev": "cd frontend && vite",
24
28
  "frontend:build": "cd frontend && vite build",
25
29
  "frontend:preview": "cd frontend && vite preview",
26
- "dev": "concurrently \"pnpm backend:dev\" \"pnpm frontend:dev\""
30
+ "dev": "concurrently \"npm run backend:dev\" \"npm run frontend:dev\"",
31
+ "prepublishOnly": "npm run build"
27
32
  },
28
33
  "keywords": [
29
34
  "typescript",
30
- "server"
35
+ "server",
36
+ "mcp",
37
+ "model context protocol"
31
38
  ],
32
39
  "author": "",
33
40
  "license": "ISC",
34
41
  "dependencies": {
35
42
  "@modelcontextprotocol/sdk": "^1.10.2",
43
+ "bcryptjs": "^3.0.2",
44
+ "dotenv": "^16.3.1",
45
+ "express": "^4.18.2",
46
+ "express-validator": "^7.2.1",
47
+ "jsonwebtoken": "^9.0.2",
48
+ "uuid": "^11.1.0"
49
+ },
50
+ "devDependencies": {
36
51
  "@radix-ui/react-accordion": "^1.2.3",
37
52
  "@radix-ui/react-slot": "^1.1.2",
38
53
  "@shadcn/ui": "^0.0.4",
54
+ "@tailwindcss/postcss": "^4.1.3",
39
55
  "@tailwindcss/vite": "^4.1.3",
56
+ "@types/bcryptjs": "^3.0.0",
57
+ "@types/express": "^4.17.21",
58
+ "@types/jest": "^29.5.5",
59
+ "@types/jsonwebtoken": "^9.0.9",
60
+ "@types/node": "^20.8.2",
40
61
  "@types/react": "^19.0.12",
41
62
  "@types/react-dom": "^19.0.4",
42
63
  "@types/uuid": "^10.0.0",
64
+ "@typescript-eslint/eslint-plugin": "^6.7.4",
65
+ "@typescript-eslint/parser": "^6.7.4",
66
+ "@vitejs/plugin-react": "^4.2.1",
43
67
  "autoprefixer": "^10.4.21",
44
- "bcryptjs": "^3.0.2",
45
68
  "class-variance-authority": "^0.7.1",
46
69
  "clsx": "^2.1.1",
47
- "dotenv": "^16.3.1",
48
- "express": "^4.18.2",
49
- "express-validator": "^7.2.1",
70
+ "concurrently": "^8.2.2",
71
+ "eslint": "^8.50.0",
50
72
  "i18next": "^24.2.3",
51
73
  "i18next-browser-languagedetector": "^8.0.4",
52
- "jsonwebtoken": "^9.0.2",
74
+ "jest": "^29.7.0",
53
75
  "lucide-react": "^0.486.0",
54
76
  "next": "^15.2.4",
55
77
  "postcss": "^8.5.3",
78
+ "prettier": "^3.0.3",
56
79
  "react": "^19.1.0",
57
80
  "react-dom": "^19.1.0",
58
81
  "react-i18next": "^15.4.1",
@@ -60,28 +83,14 @@
60
83
  "tailwind-merge": "^3.1.0",
61
84
  "tailwind-scrollbar-hide": "^2.0.0",
62
85
  "tailwindcss": "^4.0.17",
63
- "uuid": "^11.1.0",
64
- "zod": "^3.24.2"
65
- },
66
- "devDependencies": {
67
- "@tailwindcss/postcss": "^4.1.3",
68
- "@types/bcryptjs": "^3.0.0",
69
- "@types/express": "^4.17.21",
70
- "@types/jest": "^29.5.5",
71
- "@types/jsonwebtoken": "^9.0.9",
72
- "@types/node": "^20.8.2",
73
- "@typescript-eslint/eslint-plugin": "^6.7.4",
74
- "@typescript-eslint/parser": "^6.7.4",
75
- "@vitejs/plugin-react": "^4.2.1",
76
- "concurrently": "^8.2.2",
77
- "eslint": "^8.50.0",
78
- "jest": "^29.7.0",
79
- "prettier": "^3.0.3",
80
- "shx": "^0.4.0",
81
86
  "ts-jest": "^29.1.1",
82
87
  "ts-node-dev": "^2.0.0",
83
88
  "tsx": "^4.7.0",
84
89
  "typescript": "^5.2.2",
85
- "vite": "^5.4.18"
90
+ "vite": "^5.4.18",
91
+ "zod": "^3.24.2"
92
+ },
93
+ "engines": {
94
+ "node": ">=16.0.0"
86
95
  }
87
96
  }