Skip to content

Antigravity: calls to non-T3 MCP tools show as a bare "Ran command" with no tool name or arguments #39473

Closed

Description

@juliusmarminge

Problem

Reported on the Antigravity feedback thread (post): "non-t3 MCP calls render as 'Ran command' with no name/args".

Reproduced

main @ 09b7994, Linux x86_64, agy 1.5.12 (Google personal sign-in), Gemini 3.8 Flash.

  1. Register any non-T3 MCP server for the instance. Here it was a minimal stdio server colors with one tool lookup_color(name), in the instance profile's config/mcp_config.json.
  2. Prompt: "Use the lookup_color tool from the colors MCP server to get the hex code for teal, then tell me the result." The turn completes ("The hex code for teal is feat(desktop): apply theme files from command line #8080").
  3. The call's turn item is type: "command_execution", title: "Ran command", input: "Ran command". The timeline shows a bare "Ran command" row with no server, tool name or arguments.

What agy actually sends for that call (raw ACP, captured by driving agy acp directly):

{"sessionUpdate":"tool_call","title":"MCP Tool lookup_color","kind":"execute",
 "rawInput":{"ServerName":"colors","ToolName":"lookup_color","Arguments":{"name":"navy"}}}

So the server, tool and arguments are all there. T3 drops them and falls back to treating the call as a shell command because of kind: "execute".

Likely location

extractMcpToolCallIdentity in packages/provider-acp/src/server/runtimeModel.ts. It strips Antigravity's "MCP Tool " title (ANTIGRAVITY_TOOL_TITLE) but only accepts the result when it is a known T3 tool (T3_MCP_TOOL_NAMES). It never reads Antigravity's rawInput.ServerName / rawInput.ToolName / rawInput.Arguments, so every other MCP call misses the MCP projection.

Fixed looks like

  • An Antigravity tool call whose rawInput has ServerName + ToolName becomes an MCP tool item for <ServerName>.<ToolName>, with Arguments as its input, like T3's own tools and other providers' MCP calls already are.
  • A unit test in the runtime-model / Antigravity protocol tests with the raw payload above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions