@@ -83,20 +83,23 @@ function dlxServer(name, pkg, extraFields, extraToml) {
8383}
8484
8585/** Each entry: key = section name under mcp_servers, value = { toml, fields } */
86+ const DEFAULT_MCP_STARTUP_TIMEOUT_SEC = 30 ;
87+ const DEFAULT_MCP_STARTUP_TIMEOUT_TOML = `startup_timeout_sec = ${ DEFAULT_MCP_STARTUP_TIMEOUT_SEC } ` ;
88+
8689const ECC_SERVERS = {
8790 supabase : dlxServer ( 'supabase' , '@supabase/mcp-server-supabase@latest' , { startup_timeout_sec : 20.0 , tool_timeout_sec : 120.0 } , 'startup_timeout_sec = 20.0\ntool_timeout_sec = 120.0' ) ,
88- playwright : dlxServer ( 'playwright' , '@playwright/mcp@latest' ) ,
89- 'context7-mcp' : dlxServer ( 'context7-mcp' , '@upstash/context7-mcp' ) ,
91+ playwright : dlxServer ( 'playwright' , '@playwright/mcp@latest' , { startup_timeout_sec : DEFAULT_MCP_STARTUP_TIMEOUT_SEC } , DEFAULT_MCP_STARTUP_TIMEOUT_TOML ) ,
92+ 'context7-mcp' : dlxServer ( 'context7-mcp' , '@upstash/context7-mcp@latest' , { startup_timeout_sec : DEFAULT_MCP_STARTUP_TIMEOUT_SEC } , DEFAULT_MCP_STARTUP_TIMEOUT_TOML ) ,
9093 exa : {
9194 fields : { url : 'https://mcp.exa.ai/mcp' } ,
9295 toml : `[mcp_servers.exa]\nurl = "https://mcp.exa.ai/mcp"`
9396 } ,
9497 github : {
95- fields : { command : 'bash' , args : [ '-lc' , GH_BOOTSTRAP ] } ,
96- toml : `[mcp_servers.github]\ncommand = "bash"\nargs = ["-lc", ${ JSON . stringify ( GH_BOOTSTRAP ) } ]`
98+ fields : { command : 'bash' , args : [ '-lc' , GH_BOOTSTRAP ] , startup_timeout_sec : DEFAULT_MCP_STARTUP_TIMEOUT_SEC } ,
99+ toml : `[mcp_servers.github]\ncommand = "bash"\nargs = ["-lc", ${ JSON . stringify ( GH_BOOTSTRAP ) } ]\n ${ DEFAULT_MCP_STARTUP_TIMEOUT_TOML } `
97100 } ,
98- memory : dlxServer ( 'memory' , '@modelcontextprotocol/server-memory' ) ,
99- 'sequential-thinking' : dlxServer ( 'sequential-thinking' , '@modelcontextprotocol/server-sequential-thinking' )
101+ memory : dlxServer ( 'memory' , '@modelcontextprotocol/server-memory' , { startup_timeout_sec : DEFAULT_MCP_STARTUP_TIMEOUT_SEC } , DEFAULT_MCP_STARTUP_TIMEOUT_TOML ) ,
102+ 'sequential-thinking' : dlxServer ( 'sequential-thinking' , '@modelcontextprotocol/server-sequential-thinking' , { startup_timeout_sec : DEFAULT_MCP_STARTUP_TIMEOUT_SEC } , DEFAULT_MCP_STARTUP_TIMEOUT_TOML )
100103} ;
101104
102105// Append --features arg for supabase after dlxServer builds the base
0 commit comments