Skip to main content
A factory is only as capable as the tools it can reach. Connecting apps gives your factory—and every Worker it spawns—authenticated access to the systems your team already uses, from GitHub and PostHog to Stripe, Slack, and your own internal APIs. Every connected app is scoped to the factory. Workers act through the factory’s connected accounts and obey its per-tool permission policies, keeping credentials out of your application code and off end-user devices.

Ways to connect tools

Worklayer supports four integration models inside a factory:

Built-in apps

One-click OAuth and API-key connections for dozens of engineering, support, productivity, billing, and analytics tools—including native integrations and hosted MCP servers.

Custom remote MCP servers

Connect any remote MCP server over Streamable HTTP (with OAuth, API keys, or custom headers) to expose internal tools, coding agents, or local machine runtimes.

Custom REST APIs (OpenAPI)

Upload an OpenAPI specification (file or URL) in the web app to turn your own backend or third-party REST API into callable factory tools with OAuth or API-key auth.

Pay-as-you-go tools

Run supported web search, scraping, document parsing, and media tools using Worklayer credits—no separate vendor accounts or API keys required.

Supported built-in apps

Below are examples of the built-in apps available to connect in the Worklayer web app: Don’t see a tool in the catalog? Add it as a custom remote MCP server or import its OpenAPI specification in the web app.

Connecting coding agents and dev environments

Workers run code inside an isolated tool-orchestration sandbox—not a full Linux dev container—so they do not clone git repositories or execute local shell builds directly. See What Workers can and cannot do. To build a software factory that goes past drafting issues and actually writes code, opens PRs, and tracks CI to merge:
  1. Connect GitHub so Workers can read issues, inspect PR diffs, check statuses, leave review comments, and update or merge pull requests under your approval rules.
  2. Connect a coding agent using one of these patterns:
    • Cursor Cloud Agents (built-in app): Workers launch cloud agent runs on a repository, send follow-up instructions, check run status, and download artifacts.
    • GitHub-triggered coding agents: Workers write a structured issue or PR comment (for example, tagging @codex) and monitor the resulting PR and checks.
    • Custom remote MCP server: Connect an upstream MCP server that bridges to your build environment, sandbox, or coding runtime so Workers can call it directly.
  3. Add observability apps such as Sentry, PostHog, or PostgreSQL so Workers can diagnose root causes and verify fixes after deployment.

Team accounts vs. Worklayer credits

When you connect an app to a factory, you choose how it authenticates:
  • Factory account (OAuth or API key): One shared account owned by the factory—for example, your company’s GitHub, Stripe, or support Gmail account. Every Worker in that factory uses this account rather than individual team members’ personal credentials.
  • Worklayer credits: Available on select apps (such as web search, scraping, and document parsing) so the factory can call those tools without managing separate API keys.
Only the factory Owner and members with Full access can connect, reconnect, or remove accounts. See Who can use a factory.

Tool permission policies and Reviews

Each app tool in a factory has a permission policy that controls how autonomously a Worker can call it: Permission policies are how you design safe human-in-the-loop workflows. For example, in a software or support factory, you can set reads and investigations to Allow while setting stripe_create_refund, PR merges, or external customer emails to Ask.

Where apps are configured

Apps, custom MCP servers, OpenAPI integrations, and tool permission policies are configured in the Worklayer web app—not through /v1 Factory API endpoints.
If a Worker attempts to use an app that isn’t connected yet (or whose OAuth sign-in has expired), it pauses and creates a connect_app Review. Your custom interface can fetch the authorization link via GET /v1/rooms/{roomId}/reviews/{requestId}/connect-app and direct an authorized teammate to connect the app without leaving your workflow.

Workers

See what Workers can and cannot do with connected apps, sandboxed scripts, and files.

Review

Handle approval, question, and connect-app Reviews directly in your custom UI.