Skip to content

@markroth8 feat: add support for Google Antigravity AI assistant#89

Merged
CoderGamester merged 1 commit intoCoderGamester:mainfrom
markroth8:mroth/antigravity-ide
Dec 30, 2025
Merged

@markroth8 feat: add support for Google Antigravity AI assistant#89
CoderGamester merged 1 commit intoCoderGamester:mainfrom
markroth8:mroth/antigravity-ide

Conversation

@markroth8
Copy link
Copy Markdown
Contributor

Summary

This PR adds built-in support for the Google Antigravity AI assistant to the MCP Unity plugin. It introduces automatic MCP configuration logic, a dedicated UI button in the Unity Editor, and updated documentation for a seamless user experience.

Rationale

Google Antigravity is a powerful agentic AI assistant that supports the Model Context Protocol (MCP). By adding native support, we enable Unity developers using Antigravity to connect their IDE to the Unity Editor with a single click, allowing for AI-driven scene inspection, GameObject manipulation, and test execution.

Changes

Core Logic (Editor/Utils/McpUtils.cs)

  • Added GetAntigravityConfigPath() to resolve platform-specific config files:
    • Windows: %USERPROFILE%/.gemini/antigravity/mcp_config.json
    • macOS: ~/Library/Application Support/.gemini/antigravity/mcp_config.json
  • Added AddToAntigravityConfig() to handle merging the MCP server configuration.

Editor UI (Editor/UnityBridge/McpUnityEditorWindow.cs)

  • Added a "Configure Google Antigravity" button in the Server tab.
  • Includes success/error dialogs for user feedback.

Documentation

  • README.md: Added Google Antigravity to the supported environments and connection instructions.
  • AGENTS.md: Included Google Antigravity in the project overview.

Verification Results

Verified the full connection cycle:

  1. Configuration: Confirmed the "Configure" button correctly identifies the OS and creates/modifies the configuration file at the standard path using environment-relative variables.
  2. Connectivity: Established a successful connection between the Antigravity assistant and the Unity MCP server.
  3. Data Flow: Successfully retrieved and inspected the Unity scene hierarchy via the MCP protocol.

Note: This enhancement follows the existing implementation pattern for Windsurf and Cursor support.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Dec 29, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@markroth8
Copy link
Copy Markdown
Contributor Author

Note also that I had to do an npm install and npm run build to get the server to work in Antigravity. I'm assuming this is the same in other IDEs.

- Implement automatic MCP configuration logic for Antigravity on Windows and macOS
- Add "Configure Google Antigravity" button to the Unity Editor bridge window
- Update README.md and AGENTS.md with Antigravity setup instructions
@markroth8 markroth8 force-pushed the mroth/antigravity-ide branch from 057e0b2 to 424a920 Compare December 29, 2025 20:07
@markroth8 markroth8 changed the title #88 Add support for Google Antigravity AI assistant @markroth8 feat: add support for Google Antigravity AI assistant Dec 29, 2025
@markroth8
Copy link
Copy Markdown
Contributor Author

Fixes #88

Copy link
Copy Markdown
Owner

@CoderGamester CoderGamester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thank you for this PR @markroth8

@CoderGamester CoderGamester merged commit 77dc83f into CoderGamester:main Dec 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants