Google Antigravity for iOS development: Xcode, MCP servers and Agent Skills
Install Antigravity in Xcode 27 (Intelligence → Get) or use Antigravity IDE/CLI/App, add MCP servers in ~/.gemini/config/mcp_config.json (or .agents/mcp_config.json), put Agent Skills under .agents/skills/, and keep durable constraints in AGENTS.md / .agents/rules/. Only wire catalog tools whose README or Antigravity's docs document the path.
Last updated:
Site search for “Antigravity” returned no catalog hits before this guide (GoatCounter / CEO, 26 Oct). This page is the long-tail answer.
What Antigravity is (Google sources only)
Per Google’s Antigravity product and Codelabs (Getting Started with Google Antigravity / Antigravity IDE), the platform includes:
| Surface | Role (as documented) |
|---|---|
| Antigravity (App) | Standalone command center for local agents in parallel (Antigravity 2.0) |
| Antigravity IDE | Agentic IDE with editor, agent panel, artifacts |
Antigravity CLI (agy) | Terminal agents |
| Antigravity SDK | Programmatic integration |
| IDE extensions | VS Code, Visual Studio 2026, JetBrains, Zed, Xcode |
Download and extension lists: antigravity.google/download and IDE extensions.
We do not invent features beyond those pages (no claimed iOS simulator MCP built into Antigravity itself).
Step 1: Antigravity inside Xcode
From Xcode – IDE extensions:
Prerequisites: Xcode 27 beta 6 or later on macOS; a Google Account with any Antigravity plan (including the free tier) or Gemini Enterprise (enterprise support is in Preview).
Open Xcode → Settings (⌘,), open the Intelligence panel.
Install Antigravity with Get, then authenticate.
Google states the extension is for building across macOS, iOS, iPadOS, watchOS, and visionOS without leaving Xcode. Gemini Enterprise auth for Xcode is marked Preview on that page.
Apple (developer.apple.com only): the Xcode 27 release notes include the Coding Intelligence item “Google Antigravity is now available in the coding assistant.” (183074664). For the broader Xcode Intelligence / plug-in / ACP picture, see Agents inside Xcode.
Step 2: MCP servers (mcp_config.json)
From MCP | Google Antigravity Docs:
Config file: root object with an
mcpServersmap.stdio:
command, optionalargs,env,cwd.Remote:
serverUrl(orurl) with Streamable HTTP; legacy HTTP+SSE /httpUrlare not supported.Common paths:
~/.gemini/config/mcp_config.json(global) and<workspace>/.agents/mcp_config.json.Antigravity IDE also offers an MCP Store (agent panel → MCP Servers) for supported servers; custom servers still go in
mcp_config.json.
Example shape (from Antigravity docs; replace with your server):
json
{
"mcpServers": {
"example": {
"command": "npx",
"args": ["-y", "some-mcp-package"]
}
}
}Catalog READMEs that document this Antigravity path explicitly: Mobile MCP and Mağaza MCP.
Step 3: Agent Skills and rules
Skills (Agent skills docs): open standard; folder with SKILL.md (YAML description required, name optional). Discovery lists name/description; the agent loads full instructions when relevant. Default workspace root: .agents/skills/ (backward compatible with .agent/skills). Global examples: ~/.gemini/config/skills/ (App/IDE), ~/.gemini/antigravity-cli/skills/ (CLI). CLI can also agy plugin install skill bundles from GitHub.
Rules (Rules docs): persistent constraints (vs skills = workflows). Directory-scoped: AGENTS.md, GEMINI.md, .agents/rules/*.md (and legacy .agent/rules). Global: ~/.gemini/AGENTS.md, ~/.gemini/GEMINI.md, ~/.gemini/config/AGENTS.md / GEMINI.md, ~/.gemini/config/rules/*.md. Rules are cumulative; more specific directories win on conflict.
Plugins (Plugins docs): bundle skills, rules, mcp_config.json, and hooks under a plugin.json.
Suggested iOS project starters (content you write; not invented Antigravity features): put Swift/concurrency and TestFlight constraints in AGENTS.md, and put multi-step workflows (e.g. “run UI tests on simulator”) in .agents/skills/.
Catalog tools with documented Antigravity paths
| Tool | Documented Antigravity hook (source) | Agents (README) | Install (README / catalog) | License | ★ (28 Oct) | Last push |
|---|---|---|---|---|---|---|
| Mobile MCP (mobile-next) | README “Antigravity 2”: edit ~/.gemini/config/mcp_config.json with npx -y @mobilenext/mobile-mcp@latest | Claude Code, Codex, Gemini, Copilot, Antigravity | claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp@latest | Apache-2.0 | 10084 | 26 Oct 2026 |
| Mağaza MCP (tunaarikaya) | README table: Antigravity IDE+CLI → ~/.gemini/config/mcp_config.json; installer prompt | Claude Code, Antigravity, Cursor, Codex, Gemini CLI | npx magaza-mcp kur | MIT | 103 | 26 Oct 2026 |
| Swift Accessibility (PasqualeVittoriosi) | README install table: Antigravity .agent/skills/ and ~/.gemini/antigravity/skills/ | Claude Code, Cursor, Codex (+ table) | /plugin marketplace add PasqualeVittoriosi/swift-accessibility-skill then /plugin install swift-accessibility-skill@swift-accessibility-skill | MIT | 84 | 9 Mar 2026 ⚠ |
| Apple Platforms 27 Skills (hechen) | README lists Antigravity among agents that use the same SKILL.md core | Claude Code, Cursor, Copilot, Gemini CLI, Antigravity, … | npx skills add hechen/apple-platforms-27-skills --skill '*' | MIT | 2 | 27 Sep 2026 ⚠ |
| ios-trace (kmgcc) | README table: Antigravity → ~/.gemini/config/skills/ios-trace | Codex, Antigravity, Claude Code, … | (see batch13 / README) | MIT | 9 | 28 Sep 2026 ⚠ |
| skillsaw (stbenjam) | README: linter understands Google Antigravity skill/plugin layouts | Claude Code, Codex, Cursor | npx skills add stbenjam/skillsaw | Apache-2.0 | 68 | 27 Oct 2026 |
⚠ = no push for more than 4 weeks (or stale relative to the 6-month catalog rule for entries; live rows kept with the warning). Official Antigravity skill roots prefer .agents/skills (with an s); some READMEs still say .agent/skills — Antigravity docs call that legacy-compatible.
Which one to pick:
Drive a device from Antigravity: Mobile MCP (README Antigravity JSON).
App Store Connect from Antigravity: Mağaza MCP (registers
mcp_config.json).SwiftUI accessibility skill folders: Swift Accessibility (paths table).
iOS 26/27 platform skills: Apple Platforms 27 Skills.
Lint skills before you ship them to
.agents/skills: skillsaw.
A first Antigravity prompt for an iOS repo
After Xcode/IDE sign-in, MCP (if any), and either AGENTS.md or a skill:
Open this SwiftUI project. Follow AGENTS.md. Use the Mobile MCP server only if it appears in your tool list. Propose a single change to fix Dynamic Type on the settings screen, show the diff, and do not commit.
For Claude Code / Cursor / Codex instead, use their guides: Claude Code for iOS, Cursor for iOS, Codex for iOS.
FAQ
- Does Google Antigravity work inside Xcode for iOS apps?
- Yes, according to Google's Antigravity docs: the Xcode IDE extension supports macOS, iOS, iPadOS, watchOS and visionOS. Prerequisites are Xcode 27 beta 6 or later on macOS and an Antigravity plan (including the free tier) or Gemini Enterprise (enterprise support in Preview). Install via Xcode → Settings → Intelligence → Get, then authenticate.
- How do I add an MCP server such as Mobile MCP to Antigravity?
- Antigravity's MCP docs use a shared mcp_config.json schema (stdio command/args/env or remote serverUrl). Global path: ~/.gemini/config/mcp_config.json; workspace: .agents/mcp_config.json. Mobile MCP's README gives an Antigravity 2 snippet with command npx and args -y @mobilenext/mobile-mcp@latest. Mağaza MCP's installer can register ~/.gemini/config/mcp_config.json when you answer yes to Antigravity.
- Where do Agent Skills go for Antigravity?
- Antigravity Skills docs: skills are SKILL.md folders (open Agent Skills standard). Defaults include workspace .agents/skills/<skill>/ (legacy .agent/skills still works) and global ~/.gemini/config/skills/ (App/IDE) or ~/.gemini/antigravity-cli/skills/ (CLI). Catalog example: swift-accessibility lists Antigravity project .agent/skills/ and global ~/.gemini/antigravity/skills/.
- How is Antigravity different from Claude Code, Cursor or Codex on this site?
- Claude Code, Cursor and Codex each have their own iOS setup guides (config dirs, plugin CLIs, rules files). Antigravity is Google's agent stack: App, IDE, CLI, SDK and IDE extensions, with mcp_config.json under ~/.gemini/ and skills under .agents/skills. Xcode 27 also lists Google Antigravity in the coding assistant (Apple release notes). This page covers only Antigravity's documented surfaces.
- Can I reuse the same SwiftUI skill with Antigravity and Claude Code?
- When a skill is a standard SKILL.md bundle, Antigravity's skills docs say the agent discovers name/description and loads instructions when relevant. apple-platforms-27-skills states the same SKILL.md core works with Antigravity among other agents. Always follow that repo's install table; do not invent an Antigravity flag the README does not document.