Engineering Corpus in any MCP client
Any client that starts a stdio server needs a command and its arguments. Most read them from a JSON file.
The JSON most clients read
The shape is the one the engine’s own plugin uses: a
mcpServersobject with a command and its arguments. Without--data-dirthe server uses the default data folder. Add both arguments if your index lives elsewhere.{ "mcpServers": { "engineering-corpus": { "command": "uvx", "args": ["engineering-corpus", "serve"] } }}A client that runs npx
The npm launcher runs the same
uvxcommand at the same version. In a client’s config the command isnpxand the arguments are-y engineering-corpus serve. It needs uv on your PATH. Without uv it prints a message that says so and exits with status 127.npx -y engineering-corpus serveA client that wants a URL
The server can speak Streamable HTTP at
http://127.0.0.1:8765/mcp. It has no authentication, so it listens only on your computer and refuses any other address unless you pass--allow-remote-bind. HTTP and Docker covers Docker and what the port exposes.corpus serve --httpAntigravity CLI
Antigravity CLI reads the same
mcpServersobject from~/.gemini/config/mcp_config.jsonfor every project, or from.agents/mcp_config.jsonin a workspace. A command server takescommandandargs, and a remote one takesserverUrl. Type/mcpin the prompt panel to open the MCP manager. Google’s Gemini CLI page says Antigravity CLI replaced Gemini CLI on 18 June 2026 for unpaid tier and Google One users, and its announcement of 19 May 2026 says Gemini CLI stays available with paid API keys. Gemini CLI keeps its servers in~/.gemini/settings.json.{ "mcpServers": { "engineering-corpus": { "command": "uvx", "args": ["engineering-corpus", "serve"] } }}Ask your agent to use the corpus
Ask your agent to call
corpus_status. It answers with the engine’s version and how many repos are indexed. Then ask it to usecorpus_searchfor something your index holds. You need an index first: run the demo or index your stars.
In the docs
Sources
- Antigravity documentation: MCP, read 12 November 2026
- Gemini CLI documentation: MCP servers with Gemini CLI, read 12 November 2026, page dated 6 October 2026
- Google Developers Blog: Transitioning Gemini CLI to Antigravity CLI, read 12 November 2026, page dated 19 May 2026