diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index 358aa9c..40b0431 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -139,7 +139,7 @@ const Sidebar = ({ // Memoized config entry generator const generateMCPServerEntry = useCallback(() => { - return JSON.stringify(generateServerConfig(), null, 2); + return JSON.stringify(generateServerConfig(), null, 4); }, [generateServerConfig]); // Memoized config file generator @@ -151,7 +151,7 @@ const Sidebar = ({ }, }, null, - 2, + 4, ); }, [generateServerConfig]); diff --git a/client/src/components/__tests__/Sidebar.test.tsx b/client/src/components/__tests__/Sidebar.test.tsx index 5b90710..47c19b1 100644 --- a/client/src/components/__tests__/Sidebar.test.tsx +++ b/client/src/components/__tests__/Sidebar.test.tsx @@ -700,7 +700,7 @@ describe("Sidebar Environment Variables", () => { env, }, null, - 2, + 4, ); expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig); }); @@ -735,7 +735,7 @@ describe("Sidebar Environment Variables", () => { }, }, null, - 2, + 4, ); expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig); }); @@ -758,7 +758,7 @@ describe("Sidebar Environment Variables", () => { note: "For SSE connections, add this URL directly in Client", }, null, - 2, + 4, ); expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig); }); @@ -785,7 +785,7 @@ describe("Sidebar Environment Variables", () => { }, }, null, - 2, + 4, ); expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig); }); @@ -808,7 +808,7 @@ describe("Sidebar Environment Variables", () => { note: "For Streamable HTTP connections, add this URL directly in Client", }, null, - 2, + 4, ); expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig); }); @@ -835,7 +835,7 @@ describe("Sidebar Environment Variables", () => { }, }, null, - 2, + 4, ); expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig); }); @@ -864,7 +864,7 @@ describe("Sidebar Environment Variables", () => { env: {}, }, null, - 2, + 4, ); expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig); });