File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7350,12 +7350,12 @@ function generateConfig(server, configType) {
73507350        case  "stdio" :
73517351            return  { 
73527352                mcpServers : { 
7353-                     [ cleanServerName ] : { 
7353+                     "mcpgateway-wrapper" : { 
73547354                        command : "python" , 
73557355                        args : [ "-m" ,  "mcpgateway.wrapper" ] , 
73567356                        env : { 
7357-                             MCP_AUTH : "your-token-here" , 
7358-                             MCP_SERVER_URL : `${ baseUrl }  /servers/${ server . id } /mcp ` , 
7357+                             MCP_AUTH_TOKEN : "your-token-here" , 
7358+                             MCP_SERVER_CATALOG_URLS : `${ baseUrl }  /servers/${ server . id }  ` , 
73597359                            MCP_TOOL_CALL_TIMEOUT : "120" , 
73607360                        } , 
73617361                    } , 
@@ -7364,7 +7364,7 @@ function generateConfig(server, configType) {
73647364
73657365        case  "sse" :
73667366            return  { 
7367-                 mcpServers : { 
7367+                 servers : { 
73687368                    [ cleanServerName ] : { 
73697369                        type : "sse" , 
73707370                        url : `${ baseUrl }  /servers/${ server . id }  /sse` , 
@@ -7377,10 +7377,10 @@ function generateConfig(server, configType) {
73777377
73787378        case  "http" :
73797379            return  { 
7380-                 mcpServers : { 
7380+                 servers : { 
73817381                    [ cleanServerName ] : { 
73827382                        type : "http" , 
7383-                         url : `${ baseUrl }  /servers/${ server . id }  ` , 
7383+                         url : `${ baseUrl }  /servers/${ server . id } /mcp ` , 
73847384                        headers : { 
73857385                            Authorization : "Bearer your-token-here" , 
73867386                        } , 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments