File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ async function startMcpServer(id, serverConfig) {
4646        name : `${ formatToolName ( id ,  name ,  prefix ) }  , 
4747        description, 
4848        parameters : inputSchema , 
49+         mcp : id , 
4950      } , 
5051      impl : async  args  =>  { 
5152        const  res  =  await  client . callTool ( { 
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ start() {
2222        index_js=" $( cygpath -w " $index_js " ) " 
2323        llm_functions_dir=" $( cygpath -w " $llm_functions_dir " ) " 
2424    fi 
25-     echo  " Run  MCP Bridge server" 
25+     echo  " Start  MCP Bridge server... " 
2626    nohup node  " $index_js " " $llm_functions_dir " >  " $MCP_DIR /mcp-bridge.log" 2>&1  & 
2727    wait-for-server
2828    echo  " Merge MCP tools into functions.json" 
@@ -114,7 +114,7 @@ recovery-functions() {
114114
115115#  @cmd Generate function declarations for the mcp tools
116116generate-declarations () {
117-     curl -sS http://localhost:$MCP_BRIDGE_PORT /tools  |  jq  ' .[] |= . + {mcp: true} ' 
117+     curl -sS http://localhost:$MCP_BRIDGE_PORT /tools
118118}
119119
120120#  @cmd Wait for the mcp bridge server to ready
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments