Skip to content
Migrate from Cursor2-0Antigravity AppGet StartedMigrate from Cursor Antigravity App Get StartedAntigravity App

Import your Cursor MCP servers and .cursor/rules/*.mdc project rules directly inside the Antigravity App—no CLI commands required—or install the Antigravity extension inside Cursor to keep your current editor.

  1. Start the import

    Open the Antigravity App (with your project workspace open if you also want to import .cursor/mcp.json or .cursor/rules/*.mdc) and start the built-in migration in any of three ways:

    • From the Home screen: If you chose Software Engineering during onboarding, click Bring over my setup from other Agentic Developer Tools above the composer.

    • Built-in skill: Type /migrate-agent-settings in any conversation to run the built-in migration skill.

    • Natural language: Ask the agent directly:

      Import my setup from Cursor into Antigravity.
  2. Confirm what to import

    The agent lists the MCP servers and .mdc rules it discovered without printing secret values in chat. If workspace-level .cursor/mcp.json or .cursor/rules/ files are found, the agent notes that placing them in your global plugin applies them across every workspace so you can choose to exclude them or keep them workspace-scoped in .agents/rules/.

    Confirm what you want to import and choose a plugin name (defaults to migrated-settings).

  3. Finish and configure MCP variables

    Antigravity creates ~/.gemini/config/plugins/<plugin-name>/, validates plugin.json and mcp_config.json, and gives you a direct link to the plugin in Customizations.

    • Cursor ${env:VAR} placeholders in headers, url, args, or env are converted to ${VAR} with a matching variables entry (redundant pass-through entries like "TOKEN": "${env:TOKEN}" are dropped so stdio servers inherit from your environment).
    • If no server declares variables, the plugin loads automatically and is ready on your next turn. Otherwise, it starts disabled until you fill in those values on the plugin page and toggle it on.

The Antigravity App’s built-in migrate-agent-settings skill imports everything below into ~/.gemini/config/plugins/<name>/:

Cursor sourceDestination in pluginConversion details
~/.cursor/mcp.jsonmcp_config.jsonConverts stdio and remote url servers; rewrites ${env:VAR} placeholders into plugin variables
<workspace>/.cursor/mcp.jsonmcp_config.jsonDiscovered when a workspace is open (agent warns that importing makes it global)
<workspace>/.cursor/rules/*.mdcrules/<rule>.mdMaps alwaysApply, globs, and description frontmatter to Antigravity rule triggers

How Cursor .mdc rules map to Antigravity rules

Section titled “How Cursor .mdc rules map to Antigravity rules”

Antigravity converts each .cursor/rules/<name>.mdc file into rules/<name>.md and maps its trigger frontmatter as follows:

Cursor .mdc frontmatterAntigravity rule triggerNotes
alwaysApply: truetrigger: always_onLoaded in every conversation
Non-empty globstrigger: globYAML lists are flattened into a comma-separated string, brace globs (**/*.{ts,tsx}) are expanded, and relative paths are prefixed with **/
Non-empty description (no globs)trigger: model_decisionLoaded automatically when relevant to the task
Neither alwaysApply, globs, nor descriptiontrigger: manualInvoked only when explicitly referenced

Before

---
description: TypeScript API route conventions
globs:
  - src/api/**/*.{ts,tsx}
alwaysApply: false
---

Always validate request payloads with Zod before calling service handlers.

After

---
trigger: glob
globs: "**/src/api/**/*.ts, **/src/api/**/*.tsx"
description: TypeScript API route conventions
---

Always validate request payloads with Zod before calling service handlers.

  • Cursor user rules and settings in its app database: Global user rules configured only inside Cursor’s UI settings database are not stored in .cursor/ files and must be copied manually into Rules.
  • Legacy SSE MCP servers: Servers with "type": "sse" or a /sse URL without Streamable HTTP are flagged during discovery. Switch to Streamable HTTP or use the stdio bridge npx -y mcp-remote <url>.
  • Rule files larger than 24 KB: Each Antigravity rule file has a 24 KB cap; larger .mdc files are flagged so you can split them.

Because all migrated items live inside ~/.gemini/config/plugins/<plugin-name>/, reverting is a single action:

  • Antigravity App: Open Customizations > Installed, select your migrated plugin (for example, migrated-settings), and toggle it off or uninstall it.
  • Antigravity CLI: Run agy plugin disable <plugin-name> to pause it, or agy plugin uninstall <plugin-name> to remove it completely.

Keep using Cursor with the Antigravity extension

Section titled “Keep using Cursor with the Antigravity extension”

If you want to use Antigravity without leaving Cursor, you can install the Antigravity VS Code extension directly inside Cursor (which supports VS Code extensions). The extension shares your ~/.gemini/config/ plugins, rules, skills, and MCP servers with the Antigravity App and Antigravity CLI.