We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 498c02b + 397a0f6 commit c772529Copy full SHA for c772529
client/src/lib/hooks/useConnection.ts
@@ -26,6 +26,7 @@ import { SESSION_KEYS } from "../constants";
26
import { Notification, StdErrNotificationSchema } from "../notificationTypes";
27
import { auth } from "@modelcontextprotocol/sdk/client/auth.js";
28
import { authProvider } from "../auth";
29
+import packageJson from "../../../package.json";
30
31
const params = new URLSearchParams(window.location.search);
32
const DEFAULT_REQUEST_TIMEOUT_MSEC =
@@ -205,7 +206,7 @@ export function useConnection({
205
206
const client = new Client<Request, Notification, Result>(
207
{
208
name: "mcp-inspector",
- version: "0.0.1",
209
+ version: packageJson.version,
210
},
211
212
capabilities: {
0 commit comments