How to connect MCP servers to each harness and what their tools can do once connected. The protocol table at the end shows which parts of the MCP specification each client supports.
Setting up a server
| Question | Antigravity CLIchecked at 1.5.14 |
|---|---|
| Add a server | Use /mcp, edit mcp_config.json, or use agy mcp add. In installed help, flags precede the server name and HTTP URLs select the HTTP transport. |
| Transports | Google documents local stdio and remote Streamable HTTP. The CLI guide excludes legacy HTTP+SSE. Installed help lists stdio and http. |
| Where configs live, and project trust | Google documents project .agents/mcp_config.json and personal ~/.gemini/config/mcp_config.json. Enabled plugins can bundle additional servers. |
| Sign in or pass credentials | The configuration supports HTTP headers. Google also documents OAuth and user-configured variables for plugin MCP servers. |
Using its tools
| Question | Antigravity CLIchecked at 1.5.14 |
|---|---|
| Approve, allow or block tools | The CLI permission policy covers MCP actions using scoped rules. The permission enforcement path was not probed. |
| Tool search & code mode | |
| Output size and timeouts | |
| Resources | Not documented MCP resources/list and resources/read remain unverified. Tool calls that fetch data do not establish those protocol features. |
| Prompts | |
| When a server asks you or the model |
Running servers
| Question | Antigravity CLIchecked at 1.5.14 |
|---|---|
| Status, enable, reconnect, debug | The /mcp panel manages configured servers. Installed CLI help lists add, remove, list, enable and disable. |
| Run the harness as an MCP server |
Protocol features
| Feature | Antigravity CLIprotocol unverified |
|---|---|
| Roots Let a server discover the client-approved filesystem roots; this is not the server process working directory. deprecated in the current spec | Not documented |
| Sampling Let a server request an LLM interaction through the host, with user review and model preferences. deprecated in the current spec | Not documented |
| Sampling with tools Let the sampling loop invoke tools recursively; do not confuse this with ordinary server tool calls. deprecated in the current spec | Not documented |
| Elicitation (generic) Server-originated MCP input requests, distinct from permission approvals, model ask-user tools, generic chat forms or MCP Apps. Check each mode and host separately. | Not documented |
| Form elicitation Collect typed property-keyed answers using the restricted elicitation schema, with accept/decline/cancel. Schema parsing, UI validation and backend answer validation are separate claims. | Not documented |
| URL elicitation Direct the user to an external interaction without collecting its sensitive data. Acceptance is not completion; track legacy completion notifications separately from current MRTR retry. | Not documented |
| Prompts Expose reusable, argument-aware server prompts through the client UI. | Not documented |
| Resources List and read server-provided context independently from tool execution. | Not documented |
| Resource templates Discover and fill parameterized resource URIs. | Not documented |
| Argument completion Complete prompt arguments and resource-template parameters without an LLM call. | Not documented |
| Progress Correlate monotonic progress with a request; UI display and timeout extension are separate behaviors. | Not documented |
| Cancellation Cooperatively cancel in-flight protocol requests and propagate intent to the handler. | Not documented |
| Protocol logging Deliver correlated server logs through MCP rather than relying on process stderr. deprecated in the current spec | Not documented |
| Subscriptions Receive correlated updates over a long-lived request. | Not documented |
| Multi-round-trip requests Pause a request for sampling, elicitation, or roots input and retry it with opaque request state. | Not documented |
| Tasks (legacy) Durable polling, status, result, and cancellation state from the 2025-11-25 experimental protocol era. earlier experimental spec | Not documented |
| Tasks extension Asynchronous tool results using io.modelcontextprotocol/tasks on 2026-07-28 connections, separate from legacy Tasks and client backgrounding. separate protocol extension | Not documented |
| Events and agent wake-up External updates that can trigger agent work. ChatGPT Work documents signed webhook subscriptions; Codex has a separate hosted-app event stream. Receiving an event and starting a model turn are separate capabilities. separate protocol extension | Not documented |
Notes and sources
Antigravity CLI, 5 sources
- Transport and configuration are documented and CLI management syntax was observed. No MCP handshake or invocation was run.
Add a server, 2
- Antigravity CLI 1.5.14 management command help
Where configs live, and project trust, 3
Sign in or pass credentials, 2
Approve, allow or block tools, 1
Tool search & code mode, 1
Output size and timeouts, 1
Resources, 1
Prompts, 1
When a server asks you or the model, 1
Status, enable, reconnect, debug, 2
- Antigravity CLI 1.5.14 management command help