Expand description
rtk-mcp — the plugin’s MCP server, spoken over stdio.
Antigravity launches this binary and talks line-delimited JSON-RPC to it on
stdin/stdout. All the judgement lives in rtk_mcp_agy; this file only
moves bytes and spawns the two external processes — rtk to rewrite a
command, and a shell to run it.
stdout belongs to the protocol: one JSON response per line, nothing else.
Functions§
- main 🔒
- rtk_
rewrite 🔒 - Ask
rtkfor a token-optimized form ofcommand. - run_
command 🔒 - Run
commandincwdthrough a shell.