diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index 9d2ef91..6c95daa 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -405,6 +405,7 @@ const Sidebar = ({ /> ) : typeof configItem.value === "boolean" ? ( ) : ( diff --git a/client/src/components/__tests__/Sidebar.test.tsx b/client/src/components/__tests__/Sidebar.test.tsx index c7a74b1..df4ed64 100644 --- a/client/src/components/__tests__/Sidebar.test.tsx +++ b/client/src/components/__tests__/Sidebar.test.tsx @@ -576,33 +576,6 @@ describe("Sidebar Environment Variables", () => { ); }); - it("should update auto browser open disabled", () => { - const setConfig = jest.fn(); - renderSidebar({ config: DEFAULT_INSPECTOR_CONFIG, setConfig }); - - openConfigSection(); - - const autoOpenDisabledInput = screen.getByTestId( - "MCP_AUTO_OPEN_ENABLED-input", - ); - fireEvent.click(autoOpenDisabledInput); - const falseOption = screen.getByTestId( - "MCP_AUTO_OPEN_ENABLED-input-false", - ); - fireEvent.click(falseOption); - - expect(setConfig).toHaveBeenCalledWith( - expect.objectContaining({ - MCP_AUTO_OPEN_ENABLED: { - label: "Auto Browser Open Enabled", - description: - "Enable automatic browser opening when inspector starts", - value: false, - }, - }), - ); - }); - it("should maintain configuration state after multiple updates", () => { const setConfig = jest.fn(); const { rerender } = renderSidebar({ diff --git a/client/src/lib/configurationTypes.ts b/client/src/lib/configurationTypes.ts index f390e6d..7c74bb7 100644 --- a/client/src/lib/configurationTypes.ts +++ b/client/src/lib/configurationTypes.ts @@ -33,9 +33,4 @@ 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_ENABLED: ConfigItem; }; diff --git a/client/src/lib/constants.ts b/client/src/lib/constants.ts index fc05c06..a03239a 100644 --- a/client/src/lib/constants.ts +++ b/client/src/lib/constants.ts @@ -52,9 +52,4 @@ 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_ENABLED: { - label: "Auto Browser Open Enabled", - description: "Enable automatic browser opening when inspector starts", - value: true, - }, } as const;