Repository navigation
Connect: show native and additional client routes - #2849
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Claude finished @mickdarling's task —— View job Reviewed commit:
Tasks
Code ReviewOverall this is a well-structured, carefully defensive addition. The validation layering, allowlist approach, and test coverage are solid. A few observations below, ranging from substantive to minor. SecurityInput validation – strong. The chain URL allowlist – good but relies on correct string-prefix matching for native schemes.
Correctness / Potential Bugs
Search filter ( Architecture / Code QualityDescriptor helper factories (
`openclaw mcp set ${name} '${JSON.stringify({ url, transport: 'streamable-http', auth: 'oauth' })}'`This embeds a JSON object with single quotes around it in a shell command. Since
`mcp_servers:\n ${name}:\n url: ${JSON.stringify(url)}\n auth: oauth`
Test CoverageCoverage is thorough:
One gap: Minor / Nits
SummaryThis is a carefully implemented catalog expansion with layered endpoint and name validation, an explicit URL allowlist enforced at render time, well-considered availability limits for unsupported surfaces, and a comprehensive test suite. The main areas to consider before merge:
None of these are blockers. The security controls are sound, the test coverage is thorough, and the availability qualification language is appropriately conservative. |
|
@codex review |
✅ Security Audit Passed🔒 Security Audit ResultsSecurity Audit ReportGenerated: 2026-09-26T20:37:26.160Z Summary
Findings by Severity
Recommendations
|
|
@codex review |
✅ Security Audit Passed🔒 Security Audit ResultsSecurity Audit ReportGenerated: 2026-09-26T20:40:05.498Z Summary
Findings by Severity
Recommendations
|
✅ Security Audit Passed🔒 Security Audit ResultsSecurity Audit ReportGenerated: 2026-09-26T20:40:54.428Z Summary
Findings by Severity
Recommendations
|
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Claude finished @mickdarling's task —— View job Reviewed commit: Tasks
Code ReviewThis PR is a well-executed catalog expansion. The security layering is sound, the test coverage is thorough, and the conservative availability labeling for unverified OAuth surfaces is appropriate. Below are findings from most- to least-critical. Correctness / Potential Bugs
if (!catalogReady) {
renderClientList(clients);
catalogReady = true;
}Once the endpoint resolves and the full 40-client list is rendered, a subsequent name change will re-run
const safe = hostedConnectionProfile(profile.endpoint, pageOrigin, profile.connectionName);
if (safe.endpoint !== profile.endpoint) throw new Error('A canonical hosted MCP endpoint is required.');This revalidates correctly, and the canonical check catches non-normalized forms. However, the approach differs from
catalogReady = false;This is correct — re-initializing the panel (e.g. on navigation) needs a fresh render. Worth noting because it pairs with the guard above: the module-level SecurityURL allowlist is correct, but the native-scheme prefix relies on implicit assumptions ( if (href.startsWith('cursor://anysphere.cursor-deeplink/mcp/install?')
|| href.startsWith('vscode:mcp/install?')
|| href.startsWith('lmstudio://add_mcp?')) return true;This is safe in practice because
The
s('Qualify current client', 'The original Windsurf guide now redirects to Devin documentation...')Static availability text is fine, but this note describes a current redirect that may change. Low maintenance risk; noting for awareness. Architecture / Code Quality
export const s = (title, text, extras = {}) => ({ title, text, ...extras });
export const r = (id, label, steps) => ({ id, label, steps });
export const c = (id, label, group, summary, docsUrl, routes, availability) => ...These reduce repetition in the catalog files effectively. The JSDoc comment at the top of each catalog file helps, but a reader jumping directly to a call site (e.g. Two-phase
return specs.map(spec => c(...spec));This works but loses parameter names at the call site and type-checks only at the Test CoverageTest coverage is strong:
One gap: the Minor / Nits
SummaryThis is a well-structured, defensive expansion. The key areas to address before merge:
None of these are blockers. Security controls are sound, the 57-test suite exercises the full client catalog end-to-end, and the availability qualification language is appropriately conservative. |
✅ Security Audit Passed🔒 Security Audit ResultsSecurity Audit ReportGenerated: 2026-09-26T20:42:37.862Z Summary
Findings by Severity
Recommendations
|
|
Claude finished @mickdarling's task —— View job Reviewed commit: Tasks
Code ReviewThis is a well-executed catalog expansion with layered validation, conservative availability labeling, and solid test coverage. Findings below from most to least important. Correctness / Potential Bugs
if (!catalogReady) {
renderClientList(clients);
catalogReady = true;
}After the first endpoint resolution, name-change calls to
Both paths are logically equivalent given the canonical-form check, but the two validation styles are inconsistent.
Security
The function accepts any Shell-embedded JSON in developer client commands is safe, but subtly ( `openclaw mcp set ${name} '${JSON.stringify({ url, transport: 'streamable-http', auth: 'oauth' })}'`
`copilot mcp add --transport http ${name} '${url}'`Single-quote shell injection is prevented because
The existing comment "hostedConnectionProfile limits the dynamic values to canonical URL ASCII and an ASCII name" correctly documents the invariant. Architecture / Code Quality
This is idiomatic but loses parameter names at the call site. An out-of-order argument in a future entry would only fail at runtime, not at lint time. The
Excluding Two-phase
Test CoverageCoverage is strong:
One gap: Minor / Nits
SummaryThree items to consider before merge:
None are blockers. The security controls are sound, the SonarCloud fix is appropriate, and the test suite provides thorough end-to-end coverage of all 40 clients and every route. |
✅ Security Audit Passed🔒 Security Audit ResultsSecurity Audit ReportGenerated: 2026-09-26T20:49:08.647Z Summary
Findings by Severity
Recommendations
|
|
Claude finished @mickdarling's task —— View job Reviewed commit: Tasks
Code ReviewThis PR integrates 40 client surfaces into the Connect selector. The latest commit ( Latest Commit Assessment
The previous code produced The accompanying test parametrized with One minor note: the SecurityValidation chain is sound.
Shell-embedded JSON and YAML are safe because
Correctness
Two-phase Hermes Architecture / Code Quality
Test CoverageCoverage is strong:
One gap: Minor / Nits
SummaryThe latest commit correctly addresses the Hermes YAML key type-safety issue with proper
Security controls are sound, the SonarCloud Quality Gate passes, and the 62-test suite provides thorough end-to-end coverage of all 40 clients. |
✅ Security Audit Passed🔒 Security Audit ResultsSecurity Audit ReportGenerated: 2026-09-26T21:00:56.515Z Summary
Findings by Severity
Recommendations
|
|
Review follow-up for combined head
|
|
Claude finished @mickdarling's task —— View job Reviewed commit: Tasks
Code ReviewThis merge commit ( Summary of Changes
Correctness
if (!catalogReady) {
renderClientList(clients);
catalogReady = true;
}After the first endpoint resolution, subsequent
The previous URL pointed to
Core clients receive the generic OAuth note via the Security
The old regex —
The explicit native-scheme prefixes ( Credential blocking is now explicit — the old regex did not check for
Test CoverageThe three new tests are well-designed:
One minor observation: the Kiro assertion at line 360 checks for Minor / Nits
SummaryThis is a clean, well-scoped set of changes. The three substantive improvements — the Cowork docs URL fix, the One item to consider before merge: add a comment on the |
✅ Security Audit Passed🔒 Security Audit ResultsSecurity Audit ReportGenerated: 2026-09-26T21:20:29.125Z Summary
Findings by Severity
Recommendations
|
|
|
The one new SonarCloud issue on final head This bounded rendering cleanup is tracked in #2852 alongside the catalog descriptor maintainability work. It is not a reason to change the reviewed integration head or restart the full CI matrix. |




The native and additional client catalogs now appear in the Connect page's searchable selector. Users can browse 40 client surfaces and choose each documented route. Availability limits stay visible for clients whose OAuth or native import flow still needs qualification, and unsupported personal Copilot and Google AI Studio surfaces show guidance without a setup action.
This change wires the two catalog modules into the existing validated connection profile, allows only their official documentation hosts and supported native links, and shows the generic OAuth note only on core routes. Kiro IDE and LM Studio import links receive the same action styling as the existing VS Code and Cursor links.
The UI test selects all 40 clients and every route, checks rendered links, verifies native payload regeneration after a name change, and confirms unsupported surfaces have no copyable setup payload. Validation: 62 focused Connect tests, targeted ESLint, and the production build pass locally. The resulting full Git tree exactly matches the already reviewed combined catalog snapshot (
59de2f6bfdda9823217a48880d1b99e7587a0fe5).Client-specific OAuth and tool-call qualification remains open where noted in the catalog. Part of #2809.