@mcp-use/inspector 0.8.2 → 0.9.0-canary.1

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.
@@ -1,6 +1,6 @@
1
- import { B as BaseLLMOutputParser, O as OutputParserException, l as interopSafeParseAsync, p as parseBase64DataUrl, f as isAIMessage, H as HumanMessage, j as isDataContentBlock, k as convertToProviderContentBlock, c as AIMessageChunk, b as AIMessage, m as BaseChatModel, n as getEnvironmentVariable, h as isOpenAITool, g as isLangChainTool, t as toJsonSchema, i as isInteropZodSchema, C as ChatGenerationChunk, R as RunnablePassthrough, o as RunnableSequence } from "./index-Dh5c60Cf.js";
2
- import "./chunk-VL2OQCWN-BXe1iwaF.js";
3
- import "./index-BUncxtIr.js";
1
+ import { B as BaseLLMOutputParser, O as OutputParserException, l as interopSafeParseAsync, p as parseBase64DataUrl, f as isAIMessage, H as HumanMessage, j as isDataContentBlock, k as convertToProviderContentBlock, c as AIMessageChunk, b as AIMessage, m as BaseChatModel, n as getEnvironmentVariable, h as isOpenAITool, g as isLangChainTool, t as toJsonSchema, i as isInteropZodSchema, C as ChatGenerationChunk, R as RunnablePassthrough, o as RunnableSequence } from "./index-C74kq9On.js";
2
+ import "./chunk-VL2OQCWN-CX6x4kxU.js";
3
+ import "./index-B6TgCktd.js";
4
4
  import "./index-DX0TIfSM.js";
5
5
  var AnthropicToolsOutputParser = class extends BaseLLMOutputParser {
6
6
  static lc_name() {
@@ -1680,6 +1680,11 @@
1680
1680
  border-width: 1px;
1681
1681
  }
1682
1682
 
1683
+ .border-0 {
1684
+ border-style: var(--tw-border-style);
1685
+ border-width: 0;
1686
+ }
1687
+
1683
1688
  .border-2 {
1684
1689
  border-style: var(--tw-border-style);
1685
1690
  border-width: 2px;
@@ -2296,6 +2301,16 @@
2296
2301
  background-color: var(--color-yellow-500);
2297
2302
  }
2298
2303
 
2304
+ .bg-yellow-500\/20 {
2305
+ background-color: #edb20033;
2306
+ }
2307
+
2308
+ @supports (color: color-mix(in lab, red, red)) {
2309
+ .bg-yellow-500\/20 {
2310
+ background-color: color-mix(in oklab, var(--color-yellow-500) 20%, transparent);
2311
+ }
2312
+ }
2313
+
2299
2314
  .bg-zinc-50 {
2300
2315
  background-color: var(--color-zinc-50);
2301
2316
  }
@@ -4648,6 +4663,16 @@
4648
4663
  }
4649
4664
  }
4650
4665
 
4666
+ .dark\:bg-yellow-400\/10:is(.dark *) {
4667
+ background-color: #fac8001a;
4668
+ }
4669
+
4670
+ @supports (color: color-mix(in lab, red, red)) {
4671
+ .dark\:bg-yellow-400\/10:is(.dark *) {
4672
+ background-color: color-mix(in oklab, var(--color-yellow-400) 10%, transparent);
4673
+ }
4674
+ }
4675
+
4651
4676
  .dark\:bg-yellow-900\/20:is(.dark *) {
4652
4677
  background-color: #733e0a33;
4653
4678
  }
@@ -4808,6 +4833,10 @@
4808
4833
  color: var(--color-yellow-400);
4809
4834
  }
4810
4835
 
4836
+ .dark\:text-yellow-500:is(.dark *) {
4837
+ color: var(--color-yellow-500);
4838
+ }
4839
+
4811
4840
  .dark\:text-zinc-300:is(.dark *) {
4812
4841
  color: var(--color-zinc-300);
4813
4842
  }
@@ -1,5 +1,5 @@
1
- import { s as snakeCase, v as v4, P as PQueueMod, p as pRetry, a as v5, b as styles, g as globalRegistry, c as parseAsync, d as clone, _ as _never, $ as $ZodNever, e as _unknown, f as partial, h as $ZodOptional, i as parse, j as extend, k as $ZodUnknown, t as toJSONSchema, l as deepCompareStrict, V as Validator, m as dereference, n as validate$1, o as getEncodingNameForModel, T as Tiktoken } from "./chunk-VL2OQCWN-BXe1iwaF.js";
2
- import { Z as ZodFirstPartyTypeKind, a as anyType, o as objectType, s as stringType } from "./index-BUncxtIr.js";
1
+ import { s as snakeCase, v as v4, P as PQueueMod, p as pRetry, a as v5, b as styles, g as globalRegistry, c as parseAsync, d as clone, _ as _never, $ as $ZodNever, e as _unknown, f as partial, h as $ZodOptional, i as parse, j as extend, k as $ZodUnknown, t as toJSONSchema, l as deepCompareStrict, V as Validator, m as dereference, n as validate$1, o as getEncodingNameForModel, T as Tiktoken } from "./chunk-VL2OQCWN-CX6x4kxU.js";
2
+ import { Z as ZodFirstPartyTypeKind, a as anyType, o as objectType, s as stringType } from "./index-B6TgCktd.js";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __export = (target, all) => {
5
5
  for (var name in all) __defProp(target, name, {
@@ -1,7 +1,7 @@
1
- import { i as isInteropZodSchema, t as toJsonSchema, a as isBaseMessage, b as AIMessage, C as ChatGenerationChunk, c as AIMessageChunk, d as ChatMessage, e as isToolMessage, f as isAIMessage, g as isLangChainTool, h as isOpenAITool, j as isDataContentBlock, k as convertToProviderContentBlock, p as parseBase64DataUrl, B as BaseLLMOutputParser, l as interopSafeParseAsync, O as OutputParserException, m as BaseChatModel, n as getEnvironmentVariable, J as JsonOutputParser, R as RunnablePassthrough, o as RunnableSequence } from "./index-Dh5c60Cf.js";
2
- import { v as v4 } from "./index-BUncxtIr.js";
3
- import "./embeddings-DoYT4G8J.js";
4
- import "./chunk-VL2OQCWN-BXe1iwaF.js";
1
+ import { i as isInteropZodSchema, t as toJsonSchema, a as isBaseMessage, b as AIMessage, C as ChatGenerationChunk, c as AIMessageChunk, d as ChatMessage, e as isToolMessage, f as isAIMessage, g as isLangChainTool, h as isOpenAITool, j as isDataContentBlock, k as convertToProviderContentBlock, p as parseBase64DataUrl, B as BaseLLMOutputParser, l as interopSafeParseAsync, O as OutputParserException, m as BaseChatModel, n as getEnvironmentVariable, J as JsonOutputParser, R as RunnablePassthrough, o as RunnableSequence } from "./index-C74kq9On.js";
2
+ import { v as v4 } from "./index-B6TgCktd.js";
3
+ import "./embeddings-D88gGGgZ.js";
4
+ import "./chunk-VL2OQCWN-CX6x4kxU.js";
5
5
  import "./index-DX0TIfSM.js";
6
6
  function removeAdditionalProperties(obj) {
7
7
  if (typeof obj === "object" && obj !== null) {
@@ -1,7 +1,7 @@
1
- import { d as ChatMessage, g as isLangChainTool, q as convertToOpenAITool, r as isZodSchemaV3, s as isZodSchemaV4, l as interopSafeParseAsync, O as OutputParserException, u as BaseCumulativeTransformOutputParser, f as isAIMessage, v as parsePartialJson, _ as __export, m as BaseChatModel, n as getEnvironmentVariable, i as isInteropZodSchema, h as isOpenAITool, S as StructuredOutputParser, J as JsonOutputParser, t as toJsonSchema, w as getSchemaDescription, x as RunnableLambda, R as RunnablePassthrough, o as RunnableSequence, j as isDataContentBlock, k as convertToProviderContentBlock, b as AIMessage, T as ToolMessage, y as HumanMessageChunk, c as AIMessageChunk, z as SystemMessageChunk, F as FunctionMessageChunk, D as ToolMessageChunk, E as ChatMessageChunk, p as parseBase64DataUrl, G as parseMimeType, I as iife, C as ChatGenerationChunk, K as BaseLanguageModel, L as CallbackManager, M as GenerationChunk, N as callbackHandlerPrefersStreaming, P as concat, Q as RUN_KEY, U as isStructuredToolParams, V as isStructuredTool, W as isRunnableToolLike, X as ToolInputParsingException, Y as BaseLangChain, Z as ensureConfig, $ as mergeConfigs, a0 as _isToolCall, a1 as interopParseAsync, a2 as parseCallbackConfigArg, a3 as _configHasToolCallId, a4 as isSimpleStringZodSchema, a5 as validatesOnlyStrings, a6 as patchConfig, a7 as AsyncLocalStorageProviderSingleton, a8 as pickRunnableConfigKeys, a9 as isDirectToolOutput, aa as getAbortSignalError } from "./index-Dh5c60Cf.js";
2
- import { Z as ZodFirstPartyTypeKind, o as objectType, s as stringType } from "./index-BUncxtIr.js";
3
- import { t as toJSONSchema, i as parse, q as prettifyError, r as validate } from "./chunk-VL2OQCWN-BXe1iwaF.js";
4
- import "./embeddings-DoYT4G8J.js";
1
+ import { d as ChatMessage, g as isLangChainTool, q as convertToOpenAITool, r as isZodSchemaV3, s as isZodSchemaV4, l as interopSafeParseAsync, O as OutputParserException, u as BaseCumulativeTransformOutputParser, f as isAIMessage, v as parsePartialJson, _ as __export, m as BaseChatModel, n as getEnvironmentVariable, i as isInteropZodSchema, h as isOpenAITool, S as StructuredOutputParser, J as JsonOutputParser, t as toJsonSchema, w as getSchemaDescription, x as RunnableLambda, R as RunnablePassthrough, o as RunnableSequence, j as isDataContentBlock, k as convertToProviderContentBlock, b as AIMessage, T as ToolMessage, y as HumanMessageChunk, c as AIMessageChunk, z as SystemMessageChunk, F as FunctionMessageChunk, D as ToolMessageChunk, E as ChatMessageChunk, p as parseBase64DataUrl, G as parseMimeType, I as iife, C as ChatGenerationChunk, K as BaseLanguageModel, L as CallbackManager, M as GenerationChunk, N as callbackHandlerPrefersStreaming, P as concat, Q as RUN_KEY, U as isStructuredToolParams, V as isStructuredTool, W as isRunnableToolLike, X as ToolInputParsingException, Y as BaseLangChain, Z as ensureConfig, $ as mergeConfigs, a0 as _isToolCall, a1 as interopParseAsync, a2 as parseCallbackConfigArg, a3 as _configHasToolCallId, a4 as isSimpleStringZodSchema, a5 as validatesOnlyStrings, a6 as patchConfig, a7 as AsyncLocalStorageProviderSingleton, a8 as pickRunnableConfigKeys, a9 as isDirectToolOutput, aa as getAbortSignalError } from "./index-C74kq9On.js";
2
+ import { Z as ZodFirstPartyTypeKind, o as objectType, s as stringType } from "./index-B6TgCktd.js";
3
+ import { t as toJSONSchema, i as parse, q as prettifyError, r as validate } from "./chunk-VL2OQCWN-CX6x4kxU.js";
4
+ import "./embeddings-D88gGGgZ.js";
5
5
  import "./index-DX0TIfSM.js";
6
6
  const iife$1 = (fn) => fn();
7
7
  function isReasoningModel(model) {
@@ -1,4 +1,4 @@
1
- import { b as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./index-BUncxtIr.js";
1
+ import { b as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./index-B6TgCktd.js";
2
2
  import { o as os } from "./__vite-browser-external-CHS79mP1.js";
3
3
  import { r as requireBase64Js } from "./index-DX0TIfSM.js";
4
4
  import { p as path } from "./path-QsnVvLoj.js";
@@ -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-BUncxtIr.js"></script>
31
- <link rel="stylesheet" crossorigin href="/inspector/assets/index-CwF__a_n.css">
32
- <script>window.__INSPECTOR_VERSION__ = "0.8.2";</script>
30
+ <script type="module" crossorigin src="/inspector/assets/index-B6TgCktd.js"></script>
31
+ <link rel="stylesheet" crossorigin href="/inspector/assets/index-Br7cLVs6.css">
32
+ <script>window.__INSPECTOR_VERSION__ = "0.9.0-canary.1";</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.2",
4
+ "version": "0.9.0-canary.1",
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.2"
85
+ "mcp-use": "1.7.0-canary.1"
86
86
  },
87
87
  "publishConfig": {
88
88
  "access": "public"