You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mcpServers is commonly an object keyed by server name (for example, { "mcpServers": { "filesystem": { "command": "npx", ... } } }), but this parser only accepts an array. As a result, existing Claude/Cursor-style MCP config files passed to the new CLI option are rejected even though the option is presented as loading an MCP config. Please accept the keyed-object form as well and derive stable id/name values from each key.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Configured PATH environment overrides are discarded before MCP child processes launch.
0 open findings
Previously missed (2)
In code that hasn't changed since last review
Report an explicit error for URLs exceeding the maximum length
api/core/library/mcpSettings.ts:358
URLs over MAX_URL_LENGTH take this branch but report that the value is not a non-empty string, which gives users the wrong remediation. Split the length check so oversized URLs get an explicit size-limit error.
Preserve configured PATH when building child process environment
api/core/library/mcpSettings.ts:435
A PATH supplied through this config is not actually preserved for the child process: createTransportParams merges server.env and then unconditionally replaces env.PATH in api/core/agent/tools/mcpTools.ts:207-211. This contradicts the documented merged env behavior and can prevent configured executables from being found. Build the augmented path from the merged value, or otherwise retain the config override.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Describe the problem and the changes in this pull request.
Validation
npm run typechecknpm run buildnpm testChecklist