Connecting Meta's Muse Code to your AI workers

Meta's Muse Code shipped with MCP support. Point it at the WorkerKit MCP server and the coding agent can read, run and schedule your AI workers.

Meta released Muse Code in beta on August 5, 2026: a terminal coding agent that plans changes, writes code and validates the results across large repositories, powered by the coding-focused Muse Spark 1.2 model. It joins Claude Code and OpenAI's Codex CLI in the category of agents that live where software gets made.

This post is about what sits just outside that category's edge. A coding agent's world is the repository, and Muse Code enforces that deliberately: an OS-enforced sandbox keeps its shell actions inside the workspace. But most of a shipped feature's life happens outside the repo, in inboxes, calendars, CRMs and monitoring, and that work does not stop when the terminal session ends.

Muse Code shipped with MCP support in its first beta, and WorkerKit runs a hosted MCP server. Connecting the two takes one settings block, and it gives the coding agent a second kind of reach: not into your apps, but into a fleet of AI workers that hold their own scoped access and keep working after the session closes.

What Muse Code is, briefly

The facts that matter for this post:

Muse Spark 1.2 carries a 1M-token context window, which matters later in this post: reading fifty run receipts in one session is not a squeeze.

The edge of the repository

Two boundaries define what a coding agent cannot do, and both are features rather than gaps. Side by side with an AI worker, the split is clean:

Muse CodeAn AI worker
LivesIn your terminal, inside one repoHosted, connected to your apps
Driven byYou, in a sessionA schedule, a webhook, or a client
App credentialsNone, by designIts own, scoped per app
When the session endsWork stopsWork continues
ParallelismSub-agents in git worktreesA fleet, one firewall per worker

It has no reach into your business systems. Muse Code holds no credential for your email, your calendar or your CRM, and it should not. An agent whose job is editing code has no business holding a mailbox grant, and Meta's own docs are blunt about why caution is warranted: MCP tools run outside the sandbox that contains shell commands.

Nothing survives the session. Muse Code's persistent agents persist for the session, and its JSONL logs make a crashed session resumable. But nothing it sets in motion runs at 07:00 tomorrow. When the terminal closes, the work stops.

The standing jobs around a codebase, triaging the support inbox, briefing the team each morning, watching the numbers a deploy might move, belong to something built to run unattended. That is what a worker is, and the WorkerKit MCP server is how an MCP client reaches a fleet of them.

One settings block

Muse Code reads MCP servers from ~/.config/muse/settings.json. The file must carry "schema_version": 1, and WorkerKit's two endpoints slot in as remote servers. (For the full connector mechanics, both transports and the validation quirks, see Muse Code connectors.)

{
  "schema_version": 1,
  "mcp_servers": {
    "workerkit": {
      "transport": "streamable_http",
      "url": "https://mcp.workerkit.ai/workers",
      "headers": { "Authorization": "Bearer pe_mgr_..." },
      "mode": "optional"
    },
    "workerkit-directory": {
      "transport": "streamable_http",
      "url": "https://mcp.workerkit.ai/directory",
      "mode": "optional"
    }
  }
}

Three notes on that block:

What a coding agent does with a fleet

The connection earns its place on ordinary days, in the gap between "the code changed" and "the world noticed".

Run the affected worker out of cadence. Say a worker built from the Engineering Pulse kit reads your GitHub each morning and digests pull requests needing review, stale branches and failing workflows. You just merged a change that renamed the workflows it watches, and its next scheduled run is tomorrow at 07:00, a bad time to learn the digest broke. The check is four calls, and Muse Code makes all of them without leaving the terminal:

StepCallWhat comes back
Find the workerworkers_listEngineering Pulse, enabled, last run green
Run it about the changeworker_run with a prompt naming the renameA run id
Watch itrun_events, polled every few secondsEach step, with timing and outcome
Read the resultrun_getThe receipt, and the digest it produced

Debug a worker where you already are. A worker's run went wrong after a deploy. run_events replays its steps in order with timings and outcomes, so "which call failed and with what" is answerable without opening a browser, and the fix is often in the repo you already have open.

Set schedules by describing them. "Every weekday at 07:30 in Europe/London" becomes a schedule through schedule_create, without anyone translating it into fields.

Check the directory before building bespoke automation. The anonymous endpoint searches the public kit catalog. Before Muse Code writes you a cron job and a pile of API glue for inbox triage, it can check whether a kit already does the job with permissions you can read, and hand you the install link.

Orchestrate at fleet scale. worker_run takes an optional prompt for that run, so the same research worker can be pointed at fifty subjects in one session, each run done the way the worker was built to do it. This is fleet orchestration, and a 1M-token context window is comfortable holding every receipt while it synthesises the results.

There is a symmetry worth seeing here. Muse Code fans out sub-agents into isolated worktrees because isolation is what makes parallel code changes safe. A fleet applies the same idea to business reach: each worker holds only its own job's app access, so parallel unattended work stays safe for the same reason. Worktrees for changes to one repo, workers for standing jobs across many systems.

Meta's warning, answered with scopes

Meta's documentation says plainly that MCP servers are not sandboxed: they run as ordinary processes or direct network connections, outside the boundary that contains shell commands. That is true of every MCP server, so the right question for any of them is what the credential can reach.

For this one, the answer is narrow by construction:

Manners worth putting in AGENTS.md

muse init seeds an AGENTS.md, and the fleet's session manners belong in it so every future session inherits them:

## WorkerKit fleet

- When watching a run, poll run_events every 3 to 5 seconds, never in a
  tight loop.
- A run that comes back "skipped" is a receipt with a reason on it, not an
  error. Report the reason.
- A refusal naming a scope means the key is too narrow. Ask for a wider key;
  do not retry.
- On a rate limit, back off for the time the response asks for.

The budgets behind those manners are counted per account, so other tenants of the hosted server never affect you.

What this is not

FAQ

Does Meta's Muse Code support MCP servers?

Yes, in the beta that shipped on August 5, 2026, despite some launch coverage claiming otherwise. Servers are configured under mcp_servers in ~/.config/muse/settings.json, over stdio for local servers or streamable HTTP for remote ones, with static auth headers supported on the remote transport.

How do I connect Muse Code to my WorkerKit workers?

Add https://mcp.workerkit.ai/workers as a streamable_http server in ~/.config/muse/settings.json, with a bearer key created at /fleet-access in the headers field. The public catalog at https://mcp.workerkit.ai/directory needs no key at all. Only an account admin can create fleet keys.

Can Muse Code read my email or CRM through this connection?

No. A fleet key manages workers and grants no access to any connected app. Only workers reach apps, under their own app firewall and contact rules, and nothing a coding agent sends in a prompt can widen them.

Does this work on Windows?

Muse Code itself has no native Windows build and requires WSL2. The WorkerKit side is hosted, so there is nothing to install for it: any environment that runs Muse Code can reach mcp.workerkit.ai.

Do I need a paid WorkerKit plan to use Muse Code with it?

No. The connection is not a paid feature. Runs a coding agent triggers are metered exactly like scheduled ones: tool calls against your plan's daily allowance, model tokens at provider list price with no markup.