@mcp-use/inspector 0.8.3-canary.0 → 0.9.0-canary.2

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.
Files changed (28) hide show
  1. package/dist/cli.js +29 -0
  2. package/dist/client/assets/browser-B7TIAiNJ.js +17967 -0
  3. package/dist/client/assets/display-A5IEINAP-CxMIzbGz.js +480 -0
  4. package/dist/client/assets/{embeddings-BiULWmf2.js → embeddings-CF86nH4i.js} +6 -1
  5. package/dist/client/assets/{index-BIMuOeon.js → index-B8yt0GKw.js} +11662 -2464
  6. package/dist/client/assets/{index-DAor5Yr-.js → index-BCYl76Jb.js} +2 -3
  7. package/dist/client/assets/index-BLXuIjh0.js +725 -0
  8. package/dist/client/assets/index-BMuvzxLw.js +400 -0
  9. package/dist/client/assets/{index-DPEyMG1a.js → index-BaR5HKmC.js} +28313 -19836
  10. package/dist/client/assets/{index-CwF__a_n.css → index-Br7cLVs6.css} +29 -0
  11. package/dist/client/assets/{index-B9oLougE.js → index-CV9pPOH9.js} +36 -4
  12. package/dist/client/assets/{index-C4Csm_Xe.js → index-DoWSnGj3.js} +76 -784
  13. package/dist/client/assets/index-RN6yjAFG.js +2817 -0
  14. package/dist/client/assets/{display-YIYC6WJE-BTd-7ehF.js → index-cuGVED_J.js} +149 -926
  15. package/dist/client/assets/util-D59LNlyU.js +23 -0
  16. package/dist/client/assets/{winston-DPHXtm9k.js → winston-nzaZqgVL.js} +154 -760
  17. package/dist/client/index.html +3 -3
  18. package/dist/server/{chunk-26WTIZ4S.js → chunk-LNMQYGXR.js} +29 -0
  19. package/dist/server/{chunk-6ZFXPXO4.js → chunk-PBQJCPZX.js} +1 -1
  20. package/dist/server/cli.js +1 -1
  21. package/dist/server/index.js +2 -2
  22. package/dist/server/middleware.js +2 -2
  23. package/dist/server/server.js +1 -1
  24. package/dist/server/shared-static.d.ts.map +1 -1
  25. package/dist/server/shared-static.js +1 -1
  26. package/package.json +2 -2
  27. package/dist/client/assets/browser-CeWBn_h2.js +0 -38211
  28. package/dist/client/assets/chunk-VL2OQCWN-aIw8FJQU.js +0 -6475
@@ -27,9 +27,9 @@
27
27
  rel="stylesheet"
28
28
  />
29
29
  <title>Inspector | mcp-use</title>
30
- <script type="module" crossorigin src="/inspector/assets/index-DPEyMG1a.js"></script>
31
- <link rel="stylesheet" crossorigin href="/inspector/assets/index-CwF__a_n.css">
32
- <script>window.__INSPECTOR_VERSION__ = "0.8.3-canary.0";</script>
30
+ <script type="module" crossorigin src="/inspector/assets/index-BaR5HKmC.js"></script>
31
+ <link rel="stylesheet" crossorigin href="/inspector/assets/index-Br7cLVs6.css">
32
+ <script>window.__INSPECTOR_VERSION__ = "0.9.0-canary.2";</script>
33
33
  </head>
34
34
  <body>
35
35
  <script>
@@ -44,6 +44,35 @@ function registerStaticRoutes(app, clientDistPath) {
44
44
  app.get("/", (c) => {
45
45
  return c.redirect("/inspector");
46
46
  });
47
+ app.get("/inspector", (c) => {
48
+ const indexPath = join(distPath, "index.html");
49
+ if (existsSync(indexPath)) {
50
+ const content = readFileSync(indexPath, "utf-8");
51
+ return c.html(content);
52
+ }
53
+ return c.html(`
54
+ <!DOCTYPE html>
55
+ <html>
56
+ <head>
57
+ <title>MCP Inspector</title>
58
+ </head>
59
+ <body>
60
+ <h1>MCP Inspector</h1>
61
+ <p>Client files not found. Please run 'yarn build' to build the UI.</p>
62
+ </body>
63
+ </html>
64
+ `);
65
+ });
66
+ const handleInspectorRoute = (c) => {
67
+ const indexPath = join(distPath, "index.html");
68
+ if (existsSync(indexPath)) {
69
+ const content = readFileSync(indexPath, "utf-8");
70
+ return c.html(content);
71
+ }
72
+ return c.notFound();
73
+ };
74
+ app.get("/inspector/*", handleInspectorRoute);
75
+ app.post("/inspector/*", handleInspectorRoute);
47
76
  app.get("*", (c) => {
48
77
  const indexPath = join(distPath, "index.html");
49
78
  if (existsSync(indexPath)) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-XU7SXB3C.js";
4
4
  import {
5
5
  registerStaticRoutes
6
- } from "./chunk-26WTIZ4S.js";
6
+ } from "./chunk-LNMQYGXR.js";
7
7
  import {
8
8
  checkClientFiles,
9
9
  getClientDistPath
@@ -9,7 +9,7 @@ import {
9
9
  import "./chunk-CVECQ7BJ.js";
10
10
  import {
11
11
  registerStaticRoutes
12
- } from "./chunk-26WTIZ4S.js";
12
+ } from "./chunk-LNMQYGXR.js";
13
13
  import "./chunk-V5FEV5SU.js";
14
14
  import "./chunk-KW44WB52.js";
15
15
  import "./chunk-PKBMQBKP.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mountInspector
3
- } from "./chunk-6ZFXPXO4.js";
3
+ } from "./chunk-PBQJCPZX.js";
4
4
  import "./chunk-XU7SXB3C.js";
5
5
  import "./chunk-JCLAFMDT.js";
6
6
  import "./chunk-CVECQ7BJ.js";
7
- import "./chunk-26WTIZ4S.js";
7
+ import "./chunk-LNMQYGXR.js";
8
8
  import "./chunk-V5FEV5SU.js";
9
9
  import {
10
10
  handleChatRequest,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mountInspector
3
- } from "./chunk-6ZFXPXO4.js";
3
+ } from "./chunk-PBQJCPZX.js";
4
4
  import "./chunk-XU7SXB3C.js";
5
5
  import "./chunk-JCLAFMDT.js";
6
6
  import "./chunk-CVECQ7BJ.js";
7
- import "./chunk-26WTIZ4S.js";
7
+ import "./chunk-LNMQYGXR.js";
8
8
  import "./chunk-V5FEV5SU.js";
9
9
  import "./chunk-KW44WB52.js";
10
10
  import "./chunk-PKBMQBKP.js";
@@ -7,7 +7,7 @@ import {
7
7
  import "./chunk-CVECQ7BJ.js";
8
8
  import {
9
9
  registerStaticRoutesWithDevProxy
10
- } from "./chunk-26WTIZ4S.js";
10
+ } from "./chunk-LNMQYGXR.js";
11
11
  import "./chunk-V5FEV5SU.js";
12
12
  import "./chunk-KW44WB52.js";
13
13
  import "./chunk-PKBMQBKP.js";
@@ -1 +1 @@
1
- {"version":3,"file":"shared-static.d.ts","sourceRoot":"","sources":["../../src/server/shared-static.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AASjC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,MAAM,QAkEtE;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,IAAI,EACT,cAAc,CAAC,EAAE,MAAM,QA+DxB"}
1
+ {"version":3,"file":"shared-static.d.ts","sourceRoot":"","sources":["../../src/server/shared-static.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AASjC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,MAAM,QAsGtE;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,IAAI,EACT,cAAc,CAAC,EAAE,MAAM,QA+DxB"}
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  registerStaticRoutes,
3
3
  registerStaticRoutesWithDevProxy
4
- } from "./chunk-26WTIZ4S.js";
4
+ } from "./chunk-LNMQYGXR.js";
5
5
  import "./chunk-V5FEV5SU.js";
6
6
  import "./chunk-PKBMQBKP.js";
7
7
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-use/inspector",
3
3
  "type": "module",
4
- "version": "0.8.3-canary.0",
4
+ "version": "0.9.0-canary.2",
5
5
  "description": "MCP Inspector - A tool for inspecting and debugging MCP servers",
6
6
  "author": "",
7
7
  "license": "MIT",
@@ -82,7 +82,7 @@
82
82
  "sonner": "^2.0.7",
83
83
  "tailwind-merge": "^3.3.1",
84
84
  "vite-express": "^0.21.1",
85
- "mcp-use": "1.6.3-canary.0"
85
+ "mcp-use": "1.7.0-canary.2"
86
86
  },
87
87
  "publishConfig": {
88
88
  "access": "public"