Back to Uno

Get Started with Google Antigravity

doc/articles/get-started-ai-google-antigravity.md

6.6-release-branch-cut2.7 KB
Original Source

Get Started with Google Antigravity

This guide walks you through configuring the Uno Platform MCPs for Google Antigravity so you can use the agent with the Uno Dev Server.

[!WARNING] Antigravity is currently a preview feature.

If changes (SDKs, templates, tools, MCPs) are not detected immediately, restarting the Antigravity agent, reopening the workspace, or re-running setup usually resolves the issue.

Check your environment

[!includegetting-help]

Setting up Uno Platform MCPs

[!NOTE] The Uno Platform extension is not functional in Antigravity at this time.

  1. Install Google Antigravity by following Google's official instructions for your operating system.

  2. Configure Antigravity MCPs:

    You can either use dotnet dnx -y uno.devserver mcp install gemini-antigravity to write the supported registration for you, or edit the raw config manually. See the Dev Server reference for the full CLI surface.

    Example using the Dev Server CLI:

    bash
    dotnet dnx -y uno.devserver mcp install gemini-antigravity
    
    1. Open the MCP store via the "..." dropdown at the top of the editor's agent panel.

    2. Click on "Manage MCP Servers"

    3. Click on "View raw config"

    4. Modify the mcp_config.json with your custom MCP server configuration:

      json
      {
          "mcpServers": {
              "uno": {
                  "url": "https://mcp.platform.uno/v1"
              },
              "uno-app": {
                  "command": "dotnet",
                  "args": [
                      "dnx",
                      "-y",
                      "uno.devserver",
                      "--mcp-app",
                      "--mcp-wait-tools-list"
                  ]
              }
          }
      }
      

    [!NOTE] The DevServer auto-detects when the client does not advertise the MCP roots capability and exposes the uno_app_initialize tool automatically. --force-roots-fallback is a legacy override and is rarely needed.

    You can verify the registration state at any time:

    bash
    dotnet dnx -y uno.devserver mcp status gemini-antigravity
    

    To remove the Uno MCP entries from Antigravity's config:

    bash
    dotnet dnx -y uno.devserver mcp uninstall gemini-antigravity
    

    See The Uno Platform MCPs for additional details about MCP registration and diagnostics.

Next Steps

You are now ready to create your first app with Google Antigravity.