Get Started
Integrating the Pieces MCP with Antigravity brings your workflow context directly into the Antigravity agent panel. With this integration, the Antigravity agent can access your long-term memory over MCP for context-aware assistance.
Prerequisites
There are two prerequisites for integrating Pieces with Antigravity as an MCP—an active instance of PiecesOS and the fully-enabled Long-Term Memory engine.
If you do not have PiecesOS, you can download it alongside the [Pieces Desktop App](/products/desktop/download) or [install it standalone](/products/core-dependencies/pieces-os/manual-installation#manual-download--installation).
Installing PiecesOS & Configuring Permissions
Follow the instructions below for a detailed guide on setting up and configuring PiecesOS to correctly pass captured workflow context to the Pieces MCP server.
Setting Up Antigravity
One-Click Setup via Pieces Desktop (Recommended)
The fastest way to connect Pieces MCP to Antigravity is through the MCP Connections feature in Pieces Desktop.
Manual Configuration
If you prefer manual setup, add the Pieces MCP server URL to your Antigravity configuration:
http://localhost:39300/model_context_protocol/2025-03-26/mcp
Using Pieces MCP Server in Antigravity
Once integrated, you can utilize Pieces LTM directly in Antigravity's agent panel.
Troubleshooting
If you're experiencing issues integrating Pieces MCP with Antigravity:
Verify PiecesOS Status: Ensure PiecesOS is actively running on your system.
Confirm LTM Engine Activation: Make sure the Long-Term Memory Engine (LTM-2.7) is enabled in PiecesOS.
Check Connection Status: In Pieces Desktop, go to Settings → MCP → MCP Connections and verify that Antigravity shows a green checkmark.
Restart After Configuration: Antigravity may need to be restarted after configuration changes.
Review MCP Endpoint: Double-check the MCP endpoint URL and port number in your configuration.
You're now set to enhance your Antigravity workflow with powerful context retrieval through Pieces MCP.