@mcp-use/inspector 3.0.0-canary.5 → 3.0.0-canary.7
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/cdn/inspector.js +9 -9
- package/dist/cli.js +30 -0
- package/dist/server/{chunk-TSSQBM3F.js → chunk-BVVM6RGW.js} +30 -0
- package/dist/server/{chunk-LBDGM5EU.js → chunk-TZHXQ2Q7.js} +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/middleware.js +2 -2
- package/dist/server/server.js +1 -1
- package/dist/server/shared-static.d.ts.map +1 -1
- package/dist/server/shared-static.js +1 -1
- package/dist/web/assets/{index-DFdQ8Rl4.js → index-v5yOWsJ2.js} +3 -3
- package/dist/web/index.html +44 -2
- package/package.json +3 -3
package/dist/cdn/inspector.js
CHANGED
|
@@ -26920,7 +26920,7 @@ var Gd = class {
|
|
|
26920
26920
|
//#region src/client/telemetry/utils.ts
|
|
26921
26921
|
function cf() {
|
|
26922
26922
|
try {
|
|
26923
|
-
return "3.0.0-canary.
|
|
26923
|
+
return "3.0.0-canary.7";
|
|
26924
26924
|
} catch {
|
|
26925
26925
|
return "0.0.0";
|
|
26926
26926
|
}
|
|
@@ -48457,9 +48457,9 @@ var aj, oj, sj, cj, lj, uj, dj, fj, pj, mj, hj, gj, _j, vj, Lce, Rce, yj, bj, xj
|
|
|
48457
48457
|
}(), VF);
|
|
48458
48458
|
}));
|
|
48459
48459
|
//#endregion
|
|
48460
|
-
//#region ../mcp-use/dist/chunk-
|
|
48460
|
+
//#region ../mcp-use/dist/chunk-JUWT65QP.js
|
|
48461
48461
|
Zp();
|
|
48462
|
-
var Hue = "1.25.0-canary.
|
|
48462
|
+
var Hue = "1.25.0-canary.7";
|
|
48463
48463
|
function KF() {
|
|
48464
48464
|
return Hue;
|
|
48465
48465
|
}
|
|
@@ -57067,8 +57067,8 @@ function UR(e) {
|
|
|
57067
57067
|
try {
|
|
57068
57068
|
if (AR(je.current, "Auth Provider not available for manual auth"), AR(t, "Server URL is required for authentication"), o) {
|
|
57069
57069
|
B("info", "Using provided authProvider for manual authentication");
|
|
57070
|
-
let e = new URL(t).origin;
|
|
57071
|
-
await vL(je.current, { serverUrl:
|
|
57070
|
+
let e = new URL(t), n = e.origin + e.pathname.replace(/\/+$/, "");
|
|
57071
|
+
await vL(je.current, { serverUrl: n }), Ve.current?.();
|
|
57072
57072
|
return;
|
|
57073
57073
|
}
|
|
57074
57074
|
B("info", `Cleared ${je.current.clearStorage?.() ?? 0} OAuth storage item(s) for fresh authentication`), le("authenticating");
|
|
@@ -57084,14 +57084,14 @@ function UR(e) {
|
|
|
57084
57084
|
installFetchInterceptor: !z
|
|
57085
57085
|
});
|
|
57086
57086
|
n && !z ? B("info", "Installed OAuth fetch interceptor for manual auth") : n && z && B("info", "Using MCP gateway proxy for OAuth (no fetch interceptor needed)"), je.current = e, B("info", "Triggering fresh OAuth authorization...");
|
|
57087
|
-
let a = new URL(t).origin;
|
|
57087
|
+
let a = new URL(t), s = a.origin + a.pathname.replace(/\/+$/, "");
|
|
57088
57088
|
try {
|
|
57089
|
-
await vL(e, { serverUrl:
|
|
57089
|
+
await vL(e, { serverUrl: s }), B("info", "OAuth flow completed (tokens obtained)");
|
|
57090
57090
|
} catch (e) {
|
|
57091
57091
|
B("info", "OAuth flow initiated (popup/redirect):", e instanceof Error ? e.message : "Redirecting...");
|
|
57092
57092
|
}
|
|
57093
|
-
let
|
|
57094
|
-
|
|
57093
|
+
let c = e.getLastAttemptedAuthUrl?.();
|
|
57094
|
+
c && (De(c), B("info", "Updated auth URL for fallback:", c));
|
|
57095
57095
|
} catch (e) {
|
|
57096
57096
|
if (!Pe.current) return;
|
|
57097
57097
|
le("pending_auth"), B("error", `Manual authentication failed: ${e instanceof Error ? e.message : String(e)}`);
|
package/dist/cli.js
CHANGED
|
@@ -2972,6 +2972,36 @@ function generateCdnShellHtml(config) {
|
|
|
2972
2972
|
/>
|
|
2973
2973
|
<link rel="stylesheet" href="${CDN_CSS_URL}" />
|
|
2974
2974
|
<title>Inspector | mcp-use</title>
|
|
2975
|
+
<meta
|
|
2976
|
+
name="description"
|
|
2977
|
+
content="Free, open-source MCP Inspector by mcp-use. Connect to any MCP server, test tools, prompts, and resources, inspect RPC logs, and debug MCP apps \u2014 all in your browser."
|
|
2978
|
+
/>
|
|
2979
|
+
<meta property="og:type" content="website" />
|
|
2980
|
+
<meta property="og:site_name" content="mcp-use" />
|
|
2981
|
+
<meta property="og:url" content="https://inspector.mcp-use.com" />
|
|
2982
|
+
<meta property="og:title" content="MCP Inspector \u2014 Test & Debug MCP Servers | mcp-use" />
|
|
2983
|
+
<meta
|
|
2984
|
+
property="og:description"
|
|
2985
|
+
content="Free, open-source MCP Inspector by mcp-use. Connect to any MCP server, test tools, prompts, and resources, inspect RPC logs, and debug MCP apps \u2014 all in your browser."
|
|
2986
|
+
/>
|
|
2987
|
+
<meta
|
|
2988
|
+
property="og:image"
|
|
2989
|
+
content="https://inspector-cdn.mcp-use.com/inspector-cover.png"
|
|
2990
|
+
/>
|
|
2991
|
+
<meta property="og:image:alt" content="mcp-use MCP Inspector \u2014 test and debug MCP servers" />
|
|
2992
|
+
<meta name="twitter:card" content="summary_large_image" />
|
|
2993
|
+
<meta name="twitter:site" content="@mcpuse" />
|
|
2994
|
+
<meta name="twitter:creator" content="@mcpuse" />
|
|
2995
|
+
<meta name="twitter:title" content="MCP Inspector \u2014 Test & Debug MCP Servers | mcp-use" />
|
|
2996
|
+
<meta
|
|
2997
|
+
name="twitter:description"
|
|
2998
|
+
content="Free, open-source MCP Inspector by mcp-use. Connect to any MCP server, test tools, prompts, and resources, inspect RPC logs, and debug MCP apps \u2014 all in your browser."
|
|
2999
|
+
/>
|
|
3000
|
+
<meta
|
|
3001
|
+
name="twitter:image"
|
|
3002
|
+
content="https://inspector-cdn.mcp-use.com/inspector-cover.png"
|
|
3003
|
+
/>
|
|
3004
|
+
<meta name="twitter:image:alt" content="mcp-use MCP Inspector \u2014 test and debug MCP servers" />
|
|
2975
3005
|
<script>window.__INSPECTOR_VERSION__ = ${JSON.stringify(INSPECTOR_VERSION)};</script>
|
|
2976
3006
|
${runtimeScripts}
|
|
2977
3007
|
</head>
|
|
@@ -105,6 +105,36 @@ function generateCdnShellHtml(config) {
|
|
|
105
105
|
/>
|
|
106
106
|
<link rel="stylesheet" href="${CDN_CSS_URL}" />
|
|
107
107
|
<title>Inspector | mcp-use</title>
|
|
108
|
+
<meta
|
|
109
|
+
name="description"
|
|
110
|
+
content="Free, open-source MCP Inspector by mcp-use. Connect to any MCP server, test tools, prompts, and resources, inspect RPC logs, and debug MCP apps \u2014 all in your browser."
|
|
111
|
+
/>
|
|
112
|
+
<meta property="og:type" content="website" />
|
|
113
|
+
<meta property="og:site_name" content="mcp-use" />
|
|
114
|
+
<meta property="og:url" content="https://inspector.mcp-use.com" />
|
|
115
|
+
<meta property="og:title" content="MCP Inspector \u2014 Test & Debug MCP Servers | mcp-use" />
|
|
116
|
+
<meta
|
|
117
|
+
property="og:description"
|
|
118
|
+
content="Free, open-source MCP Inspector by mcp-use. Connect to any MCP server, test tools, prompts, and resources, inspect RPC logs, and debug MCP apps \u2014 all in your browser."
|
|
119
|
+
/>
|
|
120
|
+
<meta
|
|
121
|
+
property="og:image"
|
|
122
|
+
content="https://inspector-cdn.mcp-use.com/inspector-cover.png"
|
|
123
|
+
/>
|
|
124
|
+
<meta property="og:image:alt" content="mcp-use MCP Inspector \u2014 test and debug MCP servers" />
|
|
125
|
+
<meta name="twitter:card" content="summary_large_image" />
|
|
126
|
+
<meta name="twitter:site" content="@mcpuse" />
|
|
127
|
+
<meta name="twitter:creator" content="@mcpuse" />
|
|
128
|
+
<meta name="twitter:title" content="MCP Inspector \u2014 Test & Debug MCP Servers | mcp-use" />
|
|
129
|
+
<meta
|
|
130
|
+
name="twitter:description"
|
|
131
|
+
content="Free, open-source MCP Inspector by mcp-use. Connect to any MCP server, test tools, prompts, and resources, inspect RPC logs, and debug MCP apps \u2014 all in your browser."
|
|
132
|
+
/>
|
|
133
|
+
<meta
|
|
134
|
+
name="twitter:image"
|
|
135
|
+
content="https://inspector-cdn.mcp-use.com/inspector-cover.png"
|
|
136
|
+
/>
|
|
137
|
+
<meta name="twitter:image:alt" content="mcp-use MCP Inspector \u2014 test and debug MCP servers" />
|
|
108
138
|
<script>window.__INSPECTOR_VERSION__ = ${JSON.stringify(INSPECTOR_VERSION)};</script>
|
|
109
139
|
${runtimeScripts}
|
|
110
140
|
</head>
|
package/dist/server/cli.js
CHANGED
package/dist/server/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountInspector
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TZHXQ2Q7.js";
|
|
4
4
|
import "./chunk-Y22HO5SK.js";
|
|
5
5
|
import {
|
|
6
6
|
handleChatRequest,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-QQ37LGLJ.js";
|
|
13
13
|
import "./chunk-KD7K27XK.js";
|
|
14
14
|
import "./chunk-CVECQ7BJ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-BVVM6RGW.js";
|
|
16
16
|
import "./chunk-4CQ52PTY.js";
|
|
17
17
|
import "./chunk-IDMHJUEM.js";
|
|
18
18
|
import "./chunk-PKBMQBKP.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountInspector
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TZHXQ2Q7.js";
|
|
4
4
|
import "./chunk-Y22HO5SK.js";
|
|
5
5
|
import "./chunk-7DMOK65Z.js";
|
|
6
6
|
import "./chunk-QQ37LGLJ.js";
|
|
7
7
|
import "./chunk-KD7K27XK.js";
|
|
8
8
|
import "./chunk-CVECQ7BJ.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-BVVM6RGW.js";
|
|
10
10
|
import "./chunk-4CQ52PTY.js";
|
|
11
11
|
import "./chunk-IDMHJUEM.js";
|
|
12
12
|
import "./chunk-PKBMQBKP.js";
|
package/dist/server/server.js
CHANGED
|
@@ -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;AA6BjC;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,UAAU,GAAG,OAAO,CAAC;AAEhE;;GAEG;AACH,UAAU,aAAa;IACrB,wDAAwD;IACxD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,qMAAqM;IACrM,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,uHAAuH;IACvH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;;;;;;OAQG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;
|
|
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;AA6BjC;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,UAAU,GAAG,OAAO,CAAC;AAEhE;;GAEG;AACH,UAAU,aAAa;IACrB,wDAAwD;IACxD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,qMAAqM;IACrM,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,uHAAuH;IACvH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;;;;;;OAQG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAoKD;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,IAAI,EACT,cAAc,CAAC,EAAE,MAAM,EACvB,aAAa,CAAC,EAAE,aAAa,QA6H9B;AAED;;;;;;GAMG;AACH,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,IAAI,EACT,cAAc,CAAC,EAAE,MAAM,EACvB,aAAa,CAAC,EAAE,aAAa,QAyD9B"}
|