Add support in UI to configure request timeout

This commit is contained in:
Pulkit Sharma
2025-03-22 20:32:47 +05:30
parent 043f6040c6
commit 4a23585066
5 changed files with 115 additions and 5 deletions

View File

@@ -1,3 +1,6 @@
import { InspectorConfig } from "./configurationTypes";
// OAuth-related session storage keys
export const SESSION_KEYS = {
CODE_VERIFIER: "mcp_code_verifier",
@@ -5,3 +8,10 @@ export const SESSION_KEYS = {
TOKENS: "mcp_tokens",
CLIENT_INFORMATION: "mcp_client_information",
} as const;
export const DEFAULT_INSPECTOR_CONFIG: InspectorConfig = {
MCP_SERVER_REQUEST_TIMEOUT: {
description: "Timeout for requests to the MCP server (ms)",
value: 10000,
},
} as const;