How to install Trail Code in Antigravity CLI
To install Trail Code in Antigravity CLI, add the "trail-code" block to the mcpServers section of ~/.gemini/config/mcp_config.json (remote servers use "serverUrl"), then start agy.
Built from the published package · server updated 8 days ago
- 1
Open the MCP config
Create or open ~/.gemini/config/mcp_config.json for every project, or .agents/mcp_config.json for this project only.
- 2
Add the server
Paste this. If the file already has servers, add the "trail-code" entry inside the existing mcpServers block.
{ "mcpServers": { "trail-code": { "args": [ "-y", "@nanonets/graft" ], "command": "npx" } } } - 3
Start Antigravity CLI
Run agy. The server and its tools load when the session starts.
Config file: ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project)
MCP servers run with your permissions. If Trail Code needs an API key, add it under env in the config. Check its README.
Install Trail Code in another app
Similar servers
Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Questions
Does Trail Code work in Antigravity CLI?
Yes. Antigravity CLI supports local and remote mcp servers, skills, plugins, and Trail Code installs with the steps above.
Trail Code does not show up in Antigravity CLI. What now?
Restart Antigravity CLI fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is Trail Code safe?
It scores 94 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
