How to install Context7 in Antigravity CLI
To install Context7 in Antigravity CLI, add the "context7" 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 2 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 "context7" entry inside the existing mcpServers block.
{ "mcpServers": { "context7": { "command": "npx", "args": [ "-y", "@upstash/context7-mcp" ] } } } - 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 Context7 needs an API key, add it under env in the config. Check its README.
Install Context7 in another app
Similar servers
Start Claude Code and Codex agents the person can watch, wait for them and read their answers.
Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Questions
Does Context7 work in Antigravity CLI?
Yes. Antigravity CLI supports local and remote mcp servers, skills, plugins, and Context7 installs with the steps above.
Context7 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 Context7 safe?
It scores 91 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
