@@ -446,6 +446,11 @@ describe("Sidebar", () => {
446
446
4 ,
447
447
) ;
448
448
expect ( mockClipboardWrite ) . toHaveBeenCalledWith ( expectedConfig ) ;
449
+ expect ( mockToast ) . toHaveBeenCalledWith ( {
450
+ title : "Config entry copied" ,
451
+ description :
452
+ "Server configuration has been copied to clipboard. Add this to your mcp.json inside the 'mcpServers' object with your preferred server name." ,
453
+ } ) ;
449
454
} ) ;
450
455
451
456
it ( "should copy servers file configuration to clipboard for STDIO transport" , async ( ) => {
@@ -504,6 +509,11 @@ describe("Sidebar", () => {
504
509
4 ,
505
510
) ;
506
511
expect ( mockClipboardWrite ) . toHaveBeenCalledWith ( expectedConfig ) ;
512
+ expect ( mockToast ) . toHaveBeenCalledWith ( {
513
+ title : "Config entry copied" ,
514
+ description :
515
+ "SSE URL has been copied. Use this URL directly in your MCP Client." ,
516
+ } ) ;
507
517
} ) ;
508
518
509
519
it ( "should copy servers file configuration to clipboard for SSE transport" , async ( ) => {
@@ -554,6 +564,11 @@ describe("Sidebar", () => {
554
564
4 ,
555
565
) ;
556
566
expect ( mockClipboardWrite ) . toHaveBeenCalledWith ( expectedConfig ) ;
567
+ expect ( mockToast ) . toHaveBeenCalledWith ( {
568
+ title : "Config entry copied" ,
569
+ description :
570
+ "Streamable HTTP URL has been copied. Use this URL directly in your MCP Client." ,
571
+ } ) ;
557
572
} ) ;
558
573
559
574
it ( "should copy servers file configuration to clipboard for streamable-http transport" , async ( ) => {
0 commit comments