Connect Artifact to Antigravity
Connect Artifact to Antigravity over MCP and apply company direction through a rule that stays on for every task.
Add Artifact to ~/.gemini/config/mcp_config.json with a serverUrl and a Bearer token, save the Artifact rule under ~/.gemini/config/rules or in AGENTS.md, and send a test task to confirm the tools are active.
For: Engineering teams using Google Antigravity across the IDE, the app, and the CLI.
Built for Antigravity
The same mcp_config.json entry works in the Antigravity IDE, the Antigravity App, and the Antigravity CLI.
Direction before the response
Artifact supplies the matching directive version at task time so the agent can revise before it answers.
Evidence without transcripts
Receipts record directive versions, outcomes, latency, and token counts—not raw prompts or replies.
Why teams connect Artifact to Antigravity
Antigravity stays the agent your team already uses. Artifact adds the missing layer: owned, scoped, versioned company direction before the response, then metadata that shows which version applied.
- The same mcp_config.json entry works in the Antigravity IDE, the Antigravity App, and the Antigravity CLI.
- A rule in ~/.gemini/config/rules covers every project, and .agents/rules, AGENTS.md, or GEMINI.md can stay with one workspace.
- The same directive can govern Antigravity alongside Cursor, Claude Code, and Codex.
What is awesome about Antigravity + Artifact
You stop pasting the same priorities into every Antigravity chat. When the decision changes, you edit the directive once. The next Antigravity run—and every other connected agent—uses the new version.
- Persistent instructions in ~/.gemini/config/rules/artifact.md (all projects) or .agents/rules/artifact.md, AGENTS.md, or GEMINI.md keep the steering check part of each task.
- Scope a directive to the company, a team, Just me, or named agent connections.
- The same profile can govern Claude, ChatGPT, Codex, Gemini, Grok, and Cursor together.
What Artifact records
Artifact records directive versions, outcomes, latency, and token counts. It does not store raw prompts or replies.
- The directive version available for the task.
- Whether steering changed the agent response or raised a disagreement.
- Latency and governed-token metadata for operating and billing evidence.
MCP configuration
~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this workspace)
{
"mcpServers": {
"artifact": {
"serverUrl": "https://app.artifactcomputing.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_ARTIFACT_TOKEN"
}
}
}
}
Replace the placeholder with a private token created inside your Artifact workspace. Do not publish or share the token.
Frequently asked questions
Does Artifact store Antigravity prompts or replies?
No. Artifact records directive versions, outcomes, latency, and token counts, and does not retain raw prompt or reply content.
Can I scope directives to only Antigravity?
Yes. A directive can apply company-wide, to one team, or to a specific tool or agent connection.
How do I verify the Antigravity connection?
Run the verification task after setup, then confirm that the interaction appears in Artifact with the applied directive and outcome metadata.