Antigravity CLI
Setup with your assistant
Copy this prompt into Antigravity CLI. It guides the MCP setup, sign-in, and connection check.
Prefer to set it up yourself?
-
Check
agy mcp listforvalency. If it is listed, do not add a second connection, even if sign-in is still needed. Otherwise run:Terminal window agy mcp add --type http valency https://mcp.valency.io/This saves the direct connection for future Antigravity CLI sessions. Its server name is
valency. -
Start
agy. If you added Valency while a session was already running, exit it and runagy -cfrom the same directory to resume that conversation with the new server loaded. If it asks Do you trust the contents of this project?, choose Yes, I trust this folder. -
Sign in to Valency from the MCP manager:
Antigravity CLI /mcpHighlight valency and press Enter. Press → until Authenticate is highlighted, then press Enter. Complete Valency's browser consent and sign-in. The server should show [Authed]; press Esc to return to the conversation. No API token, client ID, or secret is needed.
-
Ask Antigravity to call Valency's
list_sourcestool. A returned source list confirms that the agent can use the connection. Seeing [Authed] in/mcpalone confirms authentication, not a successful tool call. -
Optional: stop repeated approval prompts for Valency tools. Open
/permissions, choose Global, press a, and addmcp(valency/*)to the allowlist. The rule takes effect immediately. -
Ask (more prompt ideas):
Use Valency to search for papers about quantum computing
Troubleshooting
Section titled “Troubleshooting”Valency does not appear in /mcp?
Run agy mcp list to check the direct connection. If it is disabled, run agy mcp enable valency. If you added it during an open session, exit and resume with agy -c from the same directory.
Tools don't appear after sign-in?
Confirm /mcp shows Valency as [Authed], then resume the session with agy -c so it loads the new tools. Ask for list_sources again.
Still asked to allow every Valency tool?
Check that /permissions → Global has the mcp(valency/*) allow rule.
Need to start over with a direct connection?
Run agy mcp remove valency, then follow the add and sign-in steps above.
Need help?
Section titled “Need help?”If something isn't working, check Troubleshooting for common fixes. See the FAQ for general questions, or report an issue if you're still stuck.