Add auto open disabled environment option to sidebar

This commit is contained in:
KAWAKAMI Moeki 2025-04-13 21:53:42 +09:00
commit 52564dd7c5
2 changed files with 53 additions and 4 deletions

View file

@ -33,4 +33,9 @@ export type InspectorConfig = {
* The full address of the MCP Proxy Server, in case it is running on a non-default address. Example: http://10.1.1.22:5577
*/
MCP_PROXY_FULL_ADDRESS: ConfigItem;
/**
* Disable automatic browser opening when inspector starts.
*/
MCP_AUTO_OPEN_DISABLED: ConfigItem;
};

View file

@ -43,4 +43,9 @@ export const DEFAULT_INSPECTOR_CONFIG: InspectorConfig = {
"Set this if you are running the MCP Inspector Proxy on a non-default address. Example: http://10.1.1.22:5577",
value: "",
},
MCP_AUTO_OPEN_DISABLED: {
label: "Auto Browser Open Disabled",
description: "Disable automatic browser opening when inspector starts",
value: false,
},
} as const;