From f1efa24674120ca6f4bf4ecddccd729e19f8c1d2 Mon Sep 17 00:00:00 2001 From: isshaddad Date: Tue, 24 Feb 2026 14:15:34 -0500 Subject: [PATCH 1/2] added startup_timeout_sec note --- docs/mcp-introduction.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/mcp-introduction.mdx b/docs/mcp-introduction.mdx index a00f3dda896..e0e48b10540 100644 --- a/docs/mcp-introduction.mdx +++ b/docs/mcp-introduction.mdx @@ -220,7 +220,10 @@ Each client has a slightly different config format. Copy the snippet for your cl [mcp_servers.trigger] command = "npx" args = ["trigger.dev@latest", "mcp"] + startup_timeout_sec = 30 ``` + + The `startup_timeout_sec = 30` is recommended. Codex defaults to 10 seconds, which may not be enough for `npx` to download the package on first run. Install using the command line: From 8c1c9c9b5b0f2dbeca8177343c1c95ecb192a7ce Mon Sep 17 00:00:00 2001 From: isshaddad Date: Tue, 24 Feb 2026 14:28:19 -0500 Subject: [PATCH 2/2] devin requested changes --- packages/cli-v3/src/commands/install-mcp.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli-v3/src/commands/install-mcp.ts b/packages/cli-v3/src/commands/install-mcp.ts index 545014292d0..e1c9519e381 100644 --- a/packages/cli-v3/src/commands/install-mcp.ts +++ b/packages/cli-v3/src/commands/install-mcp.ts @@ -328,7 +328,7 @@ async function installMcpServerForClient( return { configPath, clientName, scope }; } -type McpServerConfig = Record | boolean | undefined>; +type McpServerConfig = Record | boolean | number | undefined>; type McpServerScope = { scope: (typeof scopes)[number]; location: string; @@ -538,6 +538,7 @@ function resolveMcpServerConfig( return { command: "npx", args, + startup_timeout_sec: 30, }; } case "zed": {