Set up WorkerKit in Gemini.
Written for the agent doing the setup and the person approving it. The first decision is which Gemini you are on: Antigravity takes a manager key on a header, the Gemini app connects by sign-in with no key, and after that it is the same fleet either way.
Before you start
What you need.
A WorkerKit account, and admin access on it: choosing the key a connection will hold is an admin-only decision, on the consent page and at Fleet access alike. The Free plan is enough, no card is needed, and the human's part is about a minute.
A Gemini surface that adds a remote MCP server. Antigravity is the one that accepts a header, across the desktop app, the Antigravity CLI and Antigravity for IDEs, which share one config file. What each surface asks of a Google account is Google's to state, and this guide does not restate it.
Or the Gemini app, if the consumer surface is where you work. Google gates custom apps there: 18 or over, in the United States, signed in with a personal Google Account rather than a work or school one, Keep Activity on, English only, and set up on desktop web.
| What | Address | Why |
|---|---|---|
| Directory MCP | https://mcp.workerkit.ai/directory | The public kit catalog and the authoring guides. No auth, so it can be added first and used straight away. |
| Workers MCP | https://mcp.workerkit.ai/workers | Fleet operations. A bearer manager key in Antigravity, or the sign-in flow in the Gemini app. This mount runs and configures workers. |
| Fleet access | https://workerkit.ai/fleet-access | Where an account admin creates the manager key. Admin only. |
| Skill file | https://workerkit.ai/gemini/SKILL.md | The tool reference and the operating rules the agent keeps after setup. |
| This guide as markdown | https://workerkit.ai/gemini/setup.md | The same steps, for an agent that reads markdown rather than a page. |
Why this route: Gemini reaches remote MCP servers, so it takes the hosted WorkerKit MCP mounts directly, nothing to install and no code to write. The two doors are not interchangeable: Antigravity documents a headers object on a remote server, Google's own example in it an Authorization bearer token, while the Gemini app documents OAuth and no header field at all.
Not the Gemini CLI. Google announced on 2026-05-19 that Antigravity CLI was generally available and that the Gemini CLI and the Code Assist IDE extensions would stop serving requests on 2026-06-18 for Google AI Pro, Ultra and free individual users, Gemini Code Assist Standard and Enterprise licences unchanged. A guide still spelling httpUrl or gemini mcp add is aimed at a command most readers no longer have. Not a REST connector either: no Gemini surface documents a user-supplied OpenAPI or REST action carrying a static bearer key, so WorkerKit's HTTPS API has no documented door here. One address is worth reading twice: workerkit.ai/mcp is the documentation page and the live mounts are on mcp.workerkit.ai, both in full in the table above.
The case for connecting at all is on the Gemini page.
Step 0. Human, under a minute
Pick the surface first.
Several products answer to the name Gemini, and they accept different credentials.
- 01
Antigravity: desktop app, CLI, IDE extensions
Takes a remote server as `serverUrl` plus a `headers` object, with an Authorization bearer token in it, so both mounts fit. This is the fleet door and the rest of this guide assumes it unless a step says otherwise. It is Google's current Gemini-powered developer surface: it runs Gemini models and its config still lives under `~/.gemini/`, but it carries neither the Gemini name nor the `gemini` command.
- 02
Gemini app, at gemini.google.com and on mobile
Takes a custom app by MCP server URL, authenticated by OAuth with dynamic client registration, or by credentials you enter when a server lacks it. No static header field is documented. The fleet mount fits, through step 4. The catalog mount does not: Google documents no unauthenticated option on this surface, so an anonymous server is not a documented path here and this guide will not promise one.
- 03
Gemini Enterprise, and Business edition
Takes a custom MCP server with either no authentication or an OAuth 2.0 client configured by hand (authorization URL, token URL, client ID, client secret, scopes), over StreamableHTTP only, usually after an administrator allows the domain by organisation policy. The catalog mount fits the no-authentication choice. The fleet mount expects a client that registers itself rather than credentials issued in advance, so that pairing is not documented here.
Step 1. Agent, under a minute
Add the public catalog.
In Antigravity: one entry with no headers at all, which proves the wiring before any key exists. On the Gemini app, skip to step 4.
- Antigravity, in ~/.gemini/config/mcp_config.json or .agents/mcp_config.json
{ "mcpServers": { "workerkit-directory": { "serverUrl": "https://mcp.workerkit.ai/directory" } } } - Or through the interface, on each Antigravity surface
Antigravity 2.0: Settings (bottom left) > Customizations > Installed MCP Servers > Add MCP Antigravity for IDEs: the "..." at the top of the agent side panel > MCP Servers > Manage MCP Servers > View raw config Antigravity CLI: type /mcp in the prompt panel to open the MCP Manager Overlay
The catalog mount takes no credential at all, on either path. It is the fastest proof that the client can reach WorkerKit, and it is worth adding first for exactly that reason: if it connects and the fleet mount does not, the problem is the credential rather than the wiring.
The key must be serverUrl. Google states that legacy fields such as url and httpUrl are not supported, which is the commonest reason an entry copied from another client, or from an older Gemini CLI guide, does nothing at all. Remote SSE, streamable HTTP and websocket servers all use it; ours are streamable HTTP.
Step 2. Human, about 60 seconds
Connect your fleet in Antigravity.
Create a manager key, then add the fleet mount as a second entry with a header.
- 01
Sign in as the account that owns the fleet
At workerkit.ai. Someone who belongs to several accounts confirms the active one first: a key created in the wrong account shows up later as an empty fleet, and checking now saves that round trip.
- 02
Open Fleet access
workerkit.ai/fleet-access is an admin-only page. A member sees a notice saying so rather than a broken page.
- 03
Create a manager key named for its purpose
Name it for the assistant that will hold it. A purpose-specific name makes the key easy to audit, and easy to revoke later without touching anything else.
- 04
Pick its scopes
The tables below say what each one grants. Start with the reads and add only the scopes needed for the approved task. Choose an expiry and request fresh approval when more access is needed.
- 05
Copy the key once
It is shown at creation and never again, so keep it to hand for the wiring step. It reaches the fleet only: no scope on it reads a mailbox, a calendar or a CRM.
| Key | Scopes | What the assistant can then do |
|---|---|---|
| Observer | readWorkers, readRuns | Describe the fleet and everything it has done, and change nothing. Most of the first session's value is here. |
| Operator | add runWorkers, manageState, manageDeliveries | Run workers now, start and stop them, and route their reports. |
| Full automation | add manageSchedules, manageMemory, manageInstructions, manageBudgets, createWorkers | Schedule, teach, rewrite, cap and clone. manageInstructions rewrites a worker's tested method, so it is the one to add last. |
| Builder | add installKits, publishKits, manageConnections, manageDeployments, deleteWorkers | Install directory kits as new workers, author and publish kits, connect apps by credential and register your own MCP servers. installKits is the one a brand-new account wants first, because it is what puts a worker in an empty fleet. manageDeployments is what puts an installed worker on the hosted runtime: without it the worker exists but never runs, and a run answers not_deployed. |
- The second entry, beside the first
{ "mcpServers": { "workerkit-workers": { "serverUrl": "https://mcp.workerkit.ai/workers", "headers": { "Authorization": "Bearer pe_mgr_..." } } } }
A client that cannot run an OAuth flow takes the same fleet on one header instead. An account admin creates a key at https://workerkit.ai/fleet-access, copies it once, and it becomes the value of an Authorization header on the fleet mount. That header is the whole of the authentication: there is nothing to register and nothing to pre-approve. In Antigravity that header is documented rather than a workaround, and the value carries its scheme: Bearer pe_mgr_..., word and space included.
Treat that file as a secret. Google documents no environment-variable expansion inside headers, so write the key rather than a $VAR reference and assume it sits in plain text on disk: keep it in ~/.gemini/config/mcp_config.json rather than a workspace file a repository might carry. Rotating it later is one edited line.
A key carries the scopes it was granted when it was created. Granting a scope later never reaches an existing key: if a call answers 403 OPERATION_NOT_ALLOWED, an admin re-scopes the key at Fleet access or creates a new one, and the new key drops into the same place. Read key_info rather than assuming.
Step 3. Human, about 60 seconds
Or connect from the Gemini app instead.
No key is pasted here, and there is no field to paste one into. It is a sign-in.
Do this instead of step 3 rather than as well. Google's gates first: 18 or over, in the United States, a personal Google Account rather than a work or school one, Keep Activity on, English only, and setup on desktop web though it then works on mobile.
- 01
Give the client the URL and nothing else
The fleet mount publishes OAuth discovery, so a client that supports it finds the authorization server on its own and registers itself. There is no client ID to create, no secret to store and no redirect address to register in advance.
- 02
Approve on the WorkerKit consent page
The client sends the person to https://workerkit.ai/mcpauth. Signing in there is what proves who is connecting; nothing is typed into the assistant.
- 03
An account admin picks the key the client will hold
The consent page lists the account's manager keys and can create one on the spot, so a first connect needs no visit to Fleet access beforehand. It is admin-only on the server, not just in the page: a member sees an honest notice rather than a broken screen.
- 04
Scopes are chosen with the key, and are the whole of the reach
Whatever that key carries is exactly what the assistant can do, and nothing on it reaches a connected app. Narrow it now or widen it later; a new key drops into the same connection.
- On your computer, at gemini.google.com
At the bottom, click Settings, then Connected Apps (not visible? open Personal Intelligence first, then Connected Apps) Under "Custom apps": the "Add a custom app link to get started" field, or "Add a custom app" if one is already connected Enter https://mcp.workerkit.ai/workers, click Next, follow the on-screen instructions Approve at https://workerkit.ai/mcpauth
Nothing is pasted into the chat on this path, which is its real advantage: the credential never passes through a message, a log or a screenshot, and revoking it later is one action in the dashboard rather than an edit inside the assistant.
Google documents one alternative on that screen: credentials of your own, under Advanced features, then Show more, for a server without dynamic client registration. WorkerKit has it, so that panel should not be needed, and there is no field there for a manager key. If a guide tells you to paste pe_mgr_... into the Gemini app, it is describing a surface that does not exist. Once connected, invoke the app by typing @ and picking it. Google warns that it does not control, monitor or secure third-party MCP servers, so expect a trust prompt: what this connection reaches is the scopes on the key an admin chose.
Step 4. Agent
Verify the scopes.
Call key_info on the fleet mount. Its scope list is the truth, not the intent.
- Ask the key what it can do (no arguments)
key_info
It returns the account title, the key name, its scopes and expiry, and serverTimeUtc; any valid key may ask. A missing scope was either not granted or granted after the key was made, and an admin re-scopes at Fleet access. Plan against what this returns.
Step 5. Agent
Keep the WorkerKit skill.
On Antigravity a skill is a directory. The Gemini app keeps none, so it takes a Gem.
- Antigravity: write https://workerkit.ai/gemini/SKILL.md into a skill directory, personal or workspace
~/.gemini/skills/workerkit-fleet/SKILL.md (alias: ~/.agents/skills/) .gemini/skills/workerkit-fleet/SKILL.md (alias: .agents/skills/)
Agent Skills are self-contained directories that package instructions into a discoverable capability. Google documents those four paths for Gemini CLI, with the .agents spelling winning inside a tier, and states that skills carry over into Antigravity as plugins. The file is a standard skill: a name and description in its front matter, then the tool reference, the cost-field semantics and the safety rules.
The Gemini app has no equivalent file. Its nearest thing is a Gem, which bundles a name, a description, an Instructions box and optional knowledge files, so paste this content into a Gem's Instructions or attach it as a knowledge file. Failing either, re-read the same URL at the start of any session that touches the fleet.
Step 6. Agent
Run the smoke test.
List the fleet and read recent runs, which alone prove the setup. If the account has workers, read one before running it, run it with approval, and report the receipt.
If the fleet is empty, stop after step 3 and say so: a new account has no workers yet, and the steps above have already proved the setup, because the key authenticated and both read scopes answered. Do not read it as a fault, and do not invent a worker to run. Go to the first-worker step and give the fleet something to do.
If the fleet has workers, pick one whose effects are reads. Judge it from the instruction and the permissions, never from the name: a worker whose apps are all read-level and whose instruction only gathers, summarises or reports is safe to run; one that sends, posts, writes, orders or pays is not, whatever it is called. If none is clearly read-only, run one with an explicit prompt for that run bounding it to a read.
- 1. The directory is alive: confirm a kit count comes back
directory_overview - 2. The fleet list: report how many workers the assistant can see
workers_list - 3. Recent runs across the fleet: confirms readRuns
runs_feed { "limit": 5 } - 4. Before running anything, read what that worker does and what it may touch. Both ride on readWorkers, and this is the step that decides whether the run is safe
instruction_get worker_permissions_get - 5. Run it with the person's approval, then poll every 3 to 5 seconds until a terminal event arrives: run.succeeded, run.failed, run.blocked or run.awaiting_input
worker_run run_events { "afterSeq": <lastSeq> } - 6. Read the receipt: costAuthority first, then modelCostUsd
run_get
Read costAuthority first, then modelCostUsd beside it, and report both. A null finalDigest is not a failure: a run produces one only when its harness wrote a report. A costAuthority of unbilled_estimate, none or in_flight is not a failure either; it says how far to trust the number, and the operating rules below say what each value means.
A Skipped run is also a pass, and it is the cost brake working: the gate refused the run before any money moved. Report the skipReason rather than retrying. Then report the fleet size, the active scopes, and what the test cost, and the fleet is live.
Step 7. Human and agent
Give the fleet its first worker.
A new account starts empty. Install a kit from its page in one click, or let Gemini preview and install one with kit_install_preview and kit_install once the person approves.
A new WorkerKit account starts with no workers, so the last step of setup is getting one. A kit is a ready-made worker: its instruction, its exact app permissions and its schedule, written and reviewed in advance, so installing one is how a fleet usually starts rather than a shortcut. There are two paths, and either ends with something to operate.
- 01
The one-click path: install a kit from its page
Browse the catalog at workerkit.ai/kits, open a kit whose job you recognise, and install it. It arrives pre-instructed, pre-permissioned and pre-scheduled, and asks for whatever it needs to connect. This path needs no scope on the manager key at all, so it works on the first session whatever the key can do.
- 02
The agent path: shortlist, preview, approve, install
With installKits on the key, the assistant can do the whole thing in chat: shortlist with kits_search, read the candidate with kit_get, then call kit_install_preview to surface its setup questions and exactly what the new worker would be allowed to touch. Put that in front of the person in plain words, and call kit_install once they approve, with deploy set to true so the new worker is actually able to run (that half needs manageDeployments on the key; without it the worker is installed but inert until worker_deploy). The new worker's key is shown once in the response.
- 03
Then run it once and read the receipt
A worker earns its place on the first run. Trigger it with worker_run, follow run_events until a terminal event arrives, and report the digest and the settled cost from run_get. Set a schedule with schedule_create when the person is happy with what it did, and the fleet is not just connected, it is working.
Classification on demand
Create a decision worker from your questions.
Categorize, score or triage connected data, then reuse and adjust the worker.
Reuse an existing worker or decision kit when its questions fit. For a custom classification task, creation compiles a supported source recipe and typed questions into a private kit and an installed decision worker. Optional deploy:true adds deployment; creation never starts a run or adds a schedule. The kit can be edited and published later through the normal kit lifecycle.
On the workers connection, call kit_app_tools(purpose:"decision") for recipes, argument schemas, permissions and examples, then kit_authoring_guide(section:"decision"). Check account connections with apps_list; public discovery does not check them. Send the request to decision_worker_create, follow nextCall, then use worker_run and run_get. Running needs runWorkers; results need readRuns. Use instruction_get / instruction_set for saved category or level answers, or answers on one run. Structural question/source changes need a revised kit and a replacement install. Check receipt status, coverage, omissions, warnings and cost before claiming completion.
Start with email-previews, calendar-events or sheets-rows. These recipes return judgments without app writes. Email previews do not include full threads; calendar events are invitation data, not transcripts; Sheets needs a Google file ID, a finite tab-qualified range and a columns map. A connected app alone does not make every tool a supported source. Source filters select evidence, not permissions: the Sheets recipe grants spreadsheet reads across the linked Drive account.
Supply 1–8 questions: choice with named options, score with ordered levels, or noul for the probability of a statement. Choice adds unclear automatically. Set an explicit confidenceFloor between 0 and 1; it routes uncertainty and does not promise accuracy. maxItems is 1–50, default 20. Creation requires publishKits and installKits; optional deployment also needs manageDeployments.
Use a fresh requestId for each new worker. Retry with the same ID and identical body to recover the original receipt; a changed body returns 409. The response includes tokenId for MCP/CLI worker commands, stable workerId, kitSlug, readiness and nextCall. A deploymentError means the worker already exists: fix deployment on that worker. The receipt is a snapshot; check current worker readiness before running. No worker API secret is returned.
The workers connection includes discovery and authoring, so classification needs one MCP connection. Its full profile has 91 tools (84 manager tools and 7 public discovery reads); only decision_worker_create is new. For a smaller list, a client that supports custom headers can send X-WorkerKit-Profile: decision on every request, including initialization, listing and calls, to select 20 workflow tools. A server operator can instead set MCP_WORKERS_PROFILE=decision. The endpoint and existing sign-in stay the same; a profile grants no additional permissions. Reconnect and relist after changing profiles. Use the advertised tool list: fleet administration, publishing and event-stream tools require the full profile. Successful responses include structured content and a text fallback; creation declares an output schema.
Least privilege
What each scope grants.
The key's scopes are exactly its reach, and a refusal names the scope it wanted. Start with the reads and add scopes as the work asks for them.
| Scope | What it grants |
|---|---|
readWorkers | The fleet list, worker detail, and reads of memory, schedules and the instruction. |
readRuns | Run history, run detail, run events and a run's stored transcript. A receipt returned by a waiting run request is run content too: without this scope the run still starts and the receipt comes back with contentWithheld. |
runWorkers | Run now, one worker or up to 20 in one call, and cancel. |
manageMemory | Add, edit, retire and delete rules and facts; clear a run's report; grade a run. |
manageSchedules | Create, edit and delete schedules. |
manageInstructions | Create or replace a language worker's instruction, and answer a decision worker's install questions. |
manageState | Start and stop a worker. |
installKits | Preview and install a directory kit as a new worker. |
manageDeliveries | Create, edit and delete run-result delivery destinations: where the platform sends a run report when the worker finishes. Reading them rides on readWorkers. Availability is judged per account, so ask the channels operation rather than inferring it from the worker apps. |
manageBudgets | Read and change a worker's spend and run ceilings, and the account-wide fleet ceiling. Its own scope because raising a dollar cap is the one management action that can cost money without starting anything. |
createWorkers | Clone a worker into a new one, singly or in bulk, with a dry-run preview. The only non-kit creation path: a clone carries permissions a person already approved on the source. |
publishKits | Author kits: validate (a dry run that reports every gate at once), publish from content or from an owned worker, edit, replace, unlist, relist, make private, delete, and edit the publisher profile. A private kit installed with installKits is how a worker is built from scratch through the reviewed manifest pipeline. The anonymous Directory API serves the authoring guide, the live permission vocabulary and the per-app tool explorer; reads of your own kits ride on readWorkers. |
manageConnections | Connect and disconnect apps for your operators by credential: every family the Apps page accepts by paste (bot tokens, API keys, private-app tokens), validated live against the provider, stored encrypted, never returned; register your account's own MCP servers as custom MCP apps (with their credentials) and enable their tools; and set or remove your account's own model-provider keys. Reading which apps are connected, with a recipe for connecting each, rides on readWorkers. Google, Microsoft, GitHub and Reddit are browser sign-ins and stay on the Apps page. |
manageDeployments | Deploy a worker onto the hosted runtime and manage that deployment: its model and reasoning, its transcript setting, its spend ceilings, pause and resume, and undeploy. This is the step that makes an installed worker run at all: without a deployment it fires no schedule and a run request is refused with not_deployed. Reading the deployment and the model catalog rides on readWorkers. |
deleteWorkers | Delete a worker permanently: its key stops working, its schedules stop firing, and its instruction, memory, deployment and delivery destinations go with it — as do its sub-workers, because a dead orchestrator must never leave live workers behind. Not reversible by any call, which is why it is its own scope rather than part of start/stop: stopping a worker is reversible and this is not. Run receipts survive, and the freed worker slot is what clears a 402 limit_exceeded on install. |
readWallet | Read spendable wallet balance, fees and account checkout status. |
requestWalletTopUp | Create a human-confirmed Stripe Checkout link and inspect purchases requested by this key. Does not authorize charging a saved card. |
Operating rules
What the agent follows on every call.
The same rules the skill file carries, so a session that read neither still has them. Every row is a fact of the platform, not advice.
| Rule | What it means |
|---|---|
| `serverUrl`, a scheme on the header, and the key in the file | Antigravity requires `serverUrl` for every remote MCP server and does not support the legacy `url` or `httpUrl` fields, so a config copied from another client fails silently until that field name is rewritten. It sends `headers` as written, so the Authorization value is `Bearer pe_mgr_...`, word and space included. Google documents no environment-variable expansion there, so assume the key sits in mcp_config.json in plain text: never write one into a config a repository carries, and rotate at Fleet access rather than sharing the file. |
| Nothing is pasted in the Gemini app | The consumer app authenticates a custom app by OAuth only. If a step seems to call for typing a manager key there, the step is wrong: the fleet mount runs the sign-in flow instead. |
| Read the key before planning | Call key_info first in any session that touches the fleet, and plan against the scopes it returns. It also carries serverTimeUtc, which every age and deadline below is measured against. |
| Confirm before changing the fleet | Running, stopping, deleting or editing a worker changes the person's fleet: state the exact worker and action in plain words and get approval first, unless the person already approved that exact action. Publishing, unlisting or deleting a kit affects the directory and other installers, so confirm those too. |
| Know what a run will do before you start it | A run can send mail, post, write or spend, and the person approving it is trusting your reading of the worker. Read instruction_get and worker_permissions_get first (both ride on readWorkers) and say what the run will touch. |
| The key is not a secret to repeat | It travels once, where the platform takes credentials, and after that it is sent for you. Never repeat it in a later message, print it, log it, or write it into memory, a skill or a shared file. A key that has been somewhere it should not be is revoked and replaced at Fleet access in under a minute. |
| An empty fleet has a next step | A new account has no workers until someone installs a kit, creates a decision worker or clones one. Say so plainly, then offer the two paths: the person installs a kit from its page in one click, or, with installKits, you shortlist with kits_search, preview with kit_install_preview and install with kit_install once they approve. Never invent a worker id to have something to run. |
| Rate limits, per account | The fleet surface allows 120 requests a minute and 1,200 an hour; run triggers 30 a minute; run-event polls 120 a minute and 2,400 an hour, exempt from the surface windows; the kits surface 60 a minute; kit installs 10 an hour. On a 429, wait out Retry-After. Extra machines buy no extra budget. |
| Watching runs | Poll run_events every 3 to 5 seconds and pass afterSeq so each call returns only what is new. To watch the whole fleet, hold runs_feed with wait: one connection covers every worker, up to four held per account, and it always returns within the wait. fleet_pulse gives the in-flight rows beside it. |
| Brief from fleet_health | When the person asks how the fleet is doing, call fleet_health once instead of crawling workers_list, worker_get and runs_feed: it lists the workers that are blocked, the ones installed but never deployed, the schedules the runtime is not picking up, the runs waiting on an answer, and the last runs that did not end clean. Empty sections are the healthy answer; paused workers are counted, not listed, because stopping one is a decision. |
| Check account_usage before spending | Before an install, a deploy or a run, read account_usage: worker slots, hosted slots, spendable wallet balance and request windows. With requestWalletTopUp and permission for the amount, request a wallet_checkout_create link for the person to pay. Otherwise hand them topUpUrl. Only credited confirms committed funds. |
| 404 not_found | The worker is missing or belongs to another account, and the two are indistinguishable by design. Never claim which. |
| 403 OPERATION_NOT_ALLOWED | The key lacks a scope, and the message names it. A wider key is the fix, not a retry. |
| Time | Compute every age, deadline and countdown against the response's serverTimeUtc (on key_info, workers_list, fleet_pulse and fleet_health), never against your own clock. |
| Skipped is the brake working | A Skipped run is a receipt, not a transport error: the gate refused it before any money moved. Read skipReason (DailyRunCap, DailySpendCap, FleetSpendCap, ConcurrencyLimit, InsufficientCredits, DeploymentPaused, TokenDisabled or a readiness reason) and retry only when the reason clears on its own. |
| Money | Read costAuthority before the number beside it: settled, unbilled_estimate, none or in_flight. modelCostUsd is the settled figure; costSoFarUsd exists only while a run is Running. |
| Cloning multiplies ceilings | A clone carries the source worker's per-run and per-day ceilings, so read fleet_budget_get before worker_clone_bulk and size the fleet ceiling for the copies you are about to make. |
Quick answers
Symptoms, causes, fixes.
| Symptom | Cause and fix |
|---|---|
The server is in the config and nothing appears | Check the field name first: Antigravity needs `serverUrl`, and an entry spelled `url` or `httpUrl` is ignored. Then confirm the file is the one that surface reads, the global config or the workspace one. |
`gemini mcp add` is not found | Expected since 2026-06-18, when the Gemini CLI stopped serving individual users. Use the Antigravity CLI and its shared mcp_config.json, or the /mcp overlay inside it. Gemini Code Assist Standard and Enterprise licences are the exception Google names. |
Custom apps are missing from the Gemini app | One of Google's gates is closed: a work or school account rather than a personal one, Keep Activity off, outside the United States, or not in English. Check the fallback path too: Google says that if Connected Apps is not visible, open Personal Intelligence first. |
The Gemini app asks for client credentials | That panel is the fallback for a server without dynamic client registration. The fleet mount supports registration, so re-read the URL against the addresses above before entering anything, and never enter a manager key there. |
401 on the fleet surface | Read the code rather than guessing: auth_required means the Authorization header never arrived, which is a wiring problem and not a key problem, and auth_failed means the key is unknown or revoked. Re-send it spelled exactly Authorization: Bearer pe_mgr_... and it connects. |
403 OPERATION_NOT_ALLOWED | A scope is missing. Read key_info; an admin re-scopes the key at Fleet access or creates a new one, and the new key drops into the same place (the snapshot rule). |
404 not_found on a worker | Missing, or on another account. Verify the id, and that the key belongs to the account that owns the fleet. |
429 | Rate limited. Honour Retry-After; the per-account windows are in the operating rules above. |
Empty fleet on a new account | Expected, and not a fault: an account has no workers until someone installs a kit, creates a decision worker or clones one. The setup is proved already, because the key authenticated and the reads answered. Install a kit to fill it. |
Empty fleet, or the wrong workers, on an account that has some | The key was created in a different WorkerKit account. Create it in the account that owns the fleet. |
Each WorkerKit failure names itself in the response, so an agent never has to guess which one it met: read the code, apply the row, and carry on.