Skip to content
Source
Sign inSign up
pingdotgg/t3code

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

Closedjuliusmarminge opened this issue 0 comments
juliusmarmingecommented

Problem

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

Reproduced

main @ 09b79941a52, 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 #008080").
  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.
  1. tanstack-source added labelsbug

  2. juliusmarminge closed this

Sign in to join this conversation.