diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index 9e9428e..266f98e 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -1,5 +1,4 @@ import { useState } from "react"; - import { Play, ChevronDown, ChevronRight } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; @@ -13,6 +12,7 @@ import { import { StdErrNotification } from "@/lib/notificationTypes"; import useTheme from "../lib/useTheme"; +import { version } from "../../../package.json"; interface SidebarProps { connectionStatus: "disconnected" | "connected" | "error"; @@ -52,7 +52,9 @@ const Sidebar = ({
-

MCP Inspector

+

+ MCP Inspector v{version} +

diff --git a/client/src/components/ToolsTab.tsx b/client/src/components/ToolsTab.tsx index 255ab67..7b85ccc 100644 --- a/client/src/components/ToolsTab.tsx +++ b/client/src/components/ToolsTab.tsx @@ -83,7 +83,7 @@ const ToolsTab = ({ /> )} {item.type === "resource" && ( -
+                
                   {JSON.stringify(item.resource, null, 2)}
                 
)} diff --git a/client/tsconfig.app.json b/client/tsconfig.app.json index 01320d9..980c215 100644 --- a/client/tsconfig.app.json +++ b/client/tsconfig.app.json @@ -23,7 +23,8 @@ "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true + "noFallthroughCasesInSwitch": true, + "resolveJsonModule": true }, "include": ["src"] }