mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-08 02:03:34 +08:00
fix(codex): sync startup_timeout_sec into merge-mcp-config.js ECC_SERVERS
Reviewers identified that merge-mcp-config.js --update-mcp would silently strip the startup_timeout_sec from config.toml because the ECC_SERVERS spec did not include it. Add startup_timeout_sec = 30 to playwright, context7-mcp, github, memory, and sequential-thinking. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Lidang-Jiang <lidangjiang@gmail.com>
This commit is contained in:
@@ -85,18 +85,18 @@ function dlxServer(name, pkg, extraFields, extraToml) {
|
|||||||
/** Each entry: key = section name under mcp_servers, value = { toml, fields } */
|
/** Each entry: key = section name under mcp_servers, value = { toml, fields } */
|
||||||
const ECC_SERVERS = {
|
const ECC_SERVERS = {
|
||||||
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'),
|
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'),
|
||||||
playwright: dlxServer('playwright', '@playwright/mcp@latest'),
|
playwright: dlxServer('playwright', '@playwright/mcp@latest', { startup_timeout_sec: 30 }, 'startup_timeout_sec = 30'),
|
||||||
'context7-mcp': dlxServer('context7-mcp', '@upstash/context7-mcp'),
|
'context7-mcp': dlxServer('context7-mcp', '@upstash/context7-mcp', { startup_timeout_sec: 30 }, 'startup_timeout_sec = 30'),
|
||||||
exa: {
|
exa: {
|
||||||
fields: { url: 'https://mcp.exa.ai/mcp' },
|
fields: { url: 'https://mcp.exa.ai/mcp' },
|
||||||
toml: `[mcp_servers.exa]\nurl = "https://mcp.exa.ai/mcp"`
|
toml: `[mcp_servers.exa]\nurl = "https://mcp.exa.ai/mcp"`
|
||||||
},
|
},
|
||||||
github: {
|
github: {
|
||||||
fields: { command: 'bash', args: ['-lc', GH_BOOTSTRAP] },
|
fields: { command: 'bash', args: ['-lc', GH_BOOTSTRAP], startup_timeout_sec: 30 },
|
||||||
toml: `[mcp_servers.github]\ncommand = "bash"\nargs = ["-lc", ${JSON.stringify(GH_BOOTSTRAP)}]`
|
toml: `[mcp_servers.github]\ncommand = "bash"\nargs = ["-lc", ${JSON.stringify(GH_BOOTSTRAP)}]\nstartup_timeout_sec = 30`
|
||||||
},
|
},
|
||||||
memory: dlxServer('memory', '@modelcontextprotocol/server-memory'),
|
memory: dlxServer('memory', '@modelcontextprotocol/server-memory', { startup_timeout_sec: 30 }, 'startup_timeout_sec = 30'),
|
||||||
'sequential-thinking': dlxServer('sequential-thinking', '@modelcontextprotocol/server-sequential-thinking')
|
'sequential-thinking': dlxServer('sequential-thinking', '@modelcontextprotocol/server-sequential-thinking', { startup_timeout_sec: 30 }, 'startup_timeout_sec = 30')
|
||||||
};
|
};
|
||||||
|
|
||||||
// Append --features arg for supabase after dlxServer builds the base
|
// Append --features arg for supabase after dlxServer builds the base
|
||||||
|
|||||||
Reference in New Issue
Block a user