diff --git a/client/src/App.tsx b/client/src/App.tsx index 2cd65542c..e90090fcb 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -23,6 +23,10 @@ import { ClientNotification, } from "@modelcontextprotocol/sdk/types.js"; import { useEffect, useRef, useState } from "react"; +// Add dark mode class based on system preference +if (window.matchMedia("(prefers-color-scheme: dark)").matches) { + document.documentElement.classList.add("dark"); +} import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; @@ -348,13 +352,13 @@ const App = () => { }; return ( -
+

MCP Inspector

-
+

Connect MCP Server