Repository navigation
feat(plugins): add opt-in company MCP built-ins - #160246
Patrick-Erichsen wants to merge 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. Reviewed September 30, 2026, 7:47 PM ET / 23:47 UTC (Revision 7). ClawSweeper reviewWhat this changesThe branch adds 35 disabled-by-default company MCP connection plugins, setup documentation, generated plugin inventory, label rules, and workspace lock entries. Merge readiness⛔ Blocked before merge - 10 items remain Keep this substantive PR open. The same-ID plugin ownership finding remains unresolved, and the proposed core distribution needs a maintainer decision under VISION.md. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw discovers bundled and local plugins, selects one owner for each plugin ID, and projects enabled MCP server declarations into CLI and agent connections. Those connections then reach remote provider tools. flowchart LR
A[Operator settings] --> C[Plugin discovery]
B[Bundled and local plugins] --> C
C --> D[Select plugin ID owner]
D --> E{Enabled?}
E -->|Yes| F[MCP connection]
E -->|No| H[No connection]
F --> G[Provider tools]
Decision needed
Why: The existing plugin contract can express the presets, while the repository roadmap sets a high bar for promoting them into core. Before merge
Findings
Agent review detailsSecurityNeeds attention: The static adapters add no third-party execution dependency, but same-ID ownership can redirect MCP network I/O to a new remote service. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Distribute validated service presets as ClawHub bundle-style plugins; if a bounded core set is sponsored, preserve existing same-ID owners and prove fresh-install and enabled-owner upgrade behavior before merge. Do we have a high-confidence way to reproduce the issue? Yes for the review finding: an enabled auto-discovered workspace plugin using a newly bundled ID is a clear source-backed upgrade scenario. It was not executed during this read-only review. Is this the best way to solve the issue? No for this head. The existing MCP manifest and external bundle path can supply these presets, while core inclusion and same-ID upgrade behavior still need resolution. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against aac84b8a98e3. LabelsLabel changes: No label changes. Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
Live compatibility validation — 2026-09-28Tested all 71 selected targets against OpenClaw head
This is service-connection validation, not proof of 71 working built-in plugins. The current code still contains the prior 35-plugin set. The revised adapters, installation/enablement, and package gates remain pending. The previous package and unit-test evidence applies only to the old set. OAuth findingsOf the 53 authorization-ready services, 48 issued no secret; Atlassian, Neon, and WordPress.com returned an unused secret but explicitly selected public authentication ( Fireflies passed discovery and automatic registration on its OAuth endpoint; its current key-based adapter has not yet been changed. GitLab, Hugging Face, Miro, and Vercel accepted public DCR despite metadata omitting
No client impersonation, borrowed callback, manual app registration, or provider onboarding was used. These failures do not establish an OpenClaw runtime bug. Keep these four marked blocked rather than presenting them as supported. Account-level attempts and limits
Complete per-service resultsAll 71 targets, observed results, and remaining work
Executed paths and proof boundaries
Successful public-call response hashes
|
Figma, Indeed, and Strava registration recheck — 2026-09-28Correction: Indeed is not unconditionally blocked at registration. Narrowing the requested permissions fixes that failure without a user account, manual OAuth application, client secret, or provider onboarding. Figma remote and Strava remain blocked; Figma has a documented desktop alternative with separate prerequisites. All requests below were real network requests on the existing OpenClaw head Indeed: registration fix verified through OpenClaw
The final configuration was also tested with OpenClaw's real transport and OAuth owners, using fresh isolated native SQLite state: {
"url": "https://mcp.indeed.com/claude/mcp",
"transport": "streamable-http",
"auth": "oauth",
"oauth": {
"scope": "job_seeker.jobs.search offline_access"
}
}
This is a configuration-level fix supported by the existing owner; no shared OAuth code change is established. It validates registration for job-search permissions, not profile/resume or company-detail tools. Ordinary user sign-in, token exchange, tool discovery/calls and refresh remain untested. Indeed's documentation still limits official support to its approved connector, so technical registration success is not a claim of official OpenClaw support. Figma: remote still blocked; desktop is a separate candidateThree fresh truthful Figma's access documentation and client catalog explicitly require approval of new remote clients. The observed error is consistent with that restriction; an ordinary user account does not resolve client approval. Figma's desktop instructions document an “Other editors” connection to Port 3845 had no listening process on either test Mac (local Studio and MacBook); local initialization/tools were therefore not verified. Keep the desktop route labeled a setup-dependent candidate, not a passing remote OAuth integration. No app was installed, account created, or personal app setting changed. Strava: no supported configuration fix foundThree fresh registration variants under the truthful OpenClaw identity all returned HTTP 400 The official MCP guide and platform FAQ limit current client support and require a paid user subscription. The separate REST API requires manual application registration and a client secret, so it does not satisfy the selected approach. The generic registration error does not identify its exact internal check; no supported no-onboarding route or OpenClaw runtime defect was established. Updated accounting
Total remains 71 target services. The Figma desktop candidate is not counted as another passing service. No new simulated results, package validation, merge, or release is claimed. |
|
Closing as stale: this 183-file branch conflicts with Closed by Roboclaw at the author's request after an audit of his open PRs. The branch is kept, so this can be reopened if needed. |
What Problem This Solves
Users need opt-in OpenClaw plugins for official company/product MCP services without manually recreating their connection configuration. The target set covers 66 explicitly selected company/product integrations.
Scope and Implementation Status
Target: 66 integrations, including Brex, Clay, Excalidraw, GoDaddy Domains, Otter.ai, PostHog, and Upwork.
Asana is excluded because its current MCP server requires a manually registered OAuth application/client secret. All 66 selected integrations are implementation targets subject to OpenClaw discovery and compatibility validation; inclusion in this list is not a claim of successful authentication or working tools.
Current code at
5859d7c3d184e80cfed01304a93681ff69d64036still contains the previous 35-plugin implementation. This PR description records the revised scope. The selected 66 integrations were covered by the broader 71-service audit; the adapter expansion and new package/enablement validation remain pending. The baseline evidence below applies only to that existing head and its original service set.The target change retains 15 existing adapters, removes 20 services from the selected set, and adds 51 services. This scope update applies only to this PR; the three supporting MCP/OAuth PRs remain unchanged.
Target Plugins
IDs below identify the target integrations and may be normalized to OpenClaw conventions during implementation. Auth is the planned connection method, subject to provider-contract validation; it does not imply successful OpenClaw authentication.
Selected services (59)
airtablealgoliaalltrailsamplitudeatlassianattioaws-knowledgebetterstackbuildkitecalendlycanvacircleciclickupclosecloudflarecloudinarycomfy-cloudcontext7craftdatadogdeepwikidropboxfirefliesgitlabglobalpinggrafanahugging_faceindeedintercomkiwiklaviyolinearmicrosoft-learnmiromixpanelmondaymotherduckneonnetlifynotionpaypalplaidpostmanprisma-postgresrailwayrobinhoodsemgrepsentrysquarestripesupabasetodoisttrivagotwelve-datatwilio-docsvercelwebflowwolframwordpress-comAdditional selected services (7)
brexclayotterupworkposthogexcalidrawgodaddyClay is the existing
clayintegration. These seven additions are retained from the current implementation.Exclusions and remaining setup
POSTHOG_MCP_TOKEN; missing test credentials do not remove it from scope.Services removed from the target set (20)
Amplemarket, beehiiv, Brevo, Buffer, Customer.io, Fathom, GitHub MCP, Guru, Hunter, Jotform, MailerLite, Mem, Mercury, Readwise, Statsig, Superhuman Docs, TinyFish, Typeform, Workable, and Wrike.
This describes the pending scope change, not code removals already present in the current head.
Implementation Contract
Validation Required for the Revised Target
Validation of the 66 Selected Targets
Original 71-service audit — checked 2026-09-28 on the current head. The table below reflects the September 30 selection of 66; historical audit comments also include the five now-excluded services.
Figma, Indeed, and Strava recheck corrects the earlier Indeed result:
oauth.scope = "job_seeker.jobs.search offline_access"passes native registration and redirects to provider login without manual app setup. Profile/company-detail scopes remain rejected, official OpenClaw support is unconfirmed, and tools remain untested. Figma, including its desktop alternative, is excluded from the current scope.Sentry reached read-only consent; new-app access confirmation is pending. Notion reached login; no account/workspace was selected by assumption. No account-level OAuth E2E is claimed. These are live service-connection checks using isolated configuration, not proof that all 66 built-in adapters are implemented or packaged. No provider responses were simulated in this run; earlier simulated security/unit tests remain baseline-only evidence.
Existing Implementation and Baseline Validation
All evidence in the following section belongs to the previous 35-plugin implementation at
5859d7c3d184e80cfed01304a93681ff69d64036. It is retained for traceability and must not be counted as proof that the new 66-integration target is implemented or validated.Previous 35-plugin inventory, live checks, package proof, and hosted CI findings
Existing plugin inventory (35)
All ship disabled by default and require explicit enablement. OAuth entries passed discovery and public registration; account-level test limitations are detailed below.
OAuth / public DCR (22)
amplemarketattiobeehiivbrexcalendlyclaycraftcustomeriofathomintercomjotformklaviyomailerlitememmercurynotionotterreadwisetodoisttypeformupworkworkableUser key or token (11)
brevobufferfirefliesgithub-mcpguruhunterposthogstatsigsuperhuman-docstinyfishwrikeNo authentication (2)
excalidrawgodaddyThe existing generated plugin config-doc baseline increases from 4,351 to 5,086 nodes: 35 plugin entries × 21 generic plugin-entry schema nodes. This baseline must be regenerated when the implementation is aligned with the new target.
Evidence
read_mecalls.Discovery-valid entries with incomplete account E2E are included by Patrick’s explicit acceptance criterion. The current 35 are the reconstructed eligible set; the missing historical 59-package list was not recovered and is not claimed complete.
Package/dependency contracts and focused runtime/CLI tests pass. Unit transport and credential failure cases are simulated; provider calls above are live. No ClawHub scanner certification, production publication or merge is claimed.
Stack-head validation
node scripts/check-changed.mjs --base 1fe560c198c2917154e2e1b130b0df3352ac5114passed: static guards, dependency/lock checks, generated metadata, all typecheck graphs, dead-code scans, lint and runtime import cycles.pnpm test src/agents/mcp-oauth.test.ts src/plugins/bundle-mcp.test.ts src/agents/bundle-mcp-config.test.ts src/cli/mcp-cli.test.ts src/cli/mcp-cli.plugins.test.ts src/cli/mcp-cli.oauth.test.ts src/plugins/contracts/package-manifest.contract.test.ts src/plugins/contracts/extension-runtime-dependencies.contract.test.ts --maxWorkers=1passed: 729 tests / 8 files / 5 routed shards in 420.34s. The new CLI plugin suite took 54.31s including cold transformation (3 tests); the infra suite took 200.74s (67 tests). Hosted CI timing was not yet available.Package and upgrade proof
Validated stack head
5859d7c3d184e80cfed01304a93681ff69d64036on macOS arm64 / Node 24.19.0:node scripts/package-openclaw-for-docker.mjs --allow-unreleased-changelog --output-dir .artifacts/claw-723/packagepassed (19m47.6s), including declaration builds, UI build, package inventory and extracted runtime import-graph checks.openclaw-2026.9.6.tgz, 99,082,240 bytes, SHA-2560ee3ab0c8d43e777431ce557797c9609dbeb10bef9fbaf40a0d5dcf4954bcb04. All 35 compiled entries are present; packed manifests match source exactly.plugins list --jsonfinds all 35 under the installed package, originbundled, disabled. Enabling GoDaddy/Excalidraw exposes native MCP servers without manual config; livemcp probereturns 2/5 tools. Authenticated GitHub returns 45 tools; output is redacted. Missing-key fail-closed behavior and regional endpoint overrides pass. npm lifecycle-script approvals are limited to this disposable fixture; no user/global npm policy changed.[email protected]ranupdate --tag <candidate.tgz> --yes --json --no-restart --timeout 900. Resultstatus: ok, installed build2026.9.6-5859d7c3d184-2026-09-28T06-43-34.310Z; maintained upgrade-survivor helper verified baseline, candidate and installed application-byte identities. Existing disabled MCP config and enabledmemory-coresurvived unchanged; all 35 additions remain disabled.An earlier package attempt correctly refused a namespace change caused by concurrent generated-doc work. The final build ran after generation and checks finished, on stable inputs. OAuth consent/account tools and ten additional key-service accounts remain unverified; discovery-only inclusion is the approved milestone.
Hosted CI follow-up
Hosted CI is not green. Local validation above passed on the pinned stack; GitHub's later merge-ref/stack runs reported:
service-operation-lock.retained-custody.test.tscases (missing,unknown-phase,unknown-version,relative-source); sibling jobs were cancelled. The newer merge base includes upstream b107d4af, whose handoff-store refactor makesrelease()throw for malformed custody where the unchanged test expectsfalse. The OAuth PR changes neither that owner nor its tests. A local replay of the same test-group order on pure upstreamc136ec631464reproduced all four failures with no CLAW-723 code present: 900 passed, 4 failed, 5 skipped across the same 18-file group in 112.43s (macOS; hosted run was Linux). The first archive attempt stopped before tests because scoped dependency links were missing; the corrected prerequisite setup is the reproducing run.These hosted outcomes remain review/landing context, not passing evidence. No merge is authorized.
Stack Order
Review only. No merge or release is authorized.