How to install MCP in Gemini CLI
Gemini CLI was replaced by Antigravity CLI in June 2026. On an enterprise licence or paid API key you can still install MCP by running "gemini mcp add mcp npx -y cloudflare-mcp", then type /mcp to check it.
Built from the published package · server updated 9 days ago
- 1
Run the install command
In a terminal, run:
gemini mcp add mcp npx -y cloudflare-mcp - 2
Check it
Inside Gemini CLI, type /mcp to list servers and tools.
MCP servers run with your permissions. If MCP needs an API key, add it under env in the config. Check its README.
Install MCP in another app
Similar servers
Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Questions
Does MCP work in Gemini CLI?
Yes. Gemini CLI supports local and remote mcp servers, extensions (legacy), and MCP installs with the steps above.
MCP does not show up in Gemini CLI. What now?
Restart Gemini CLI fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is MCP safe?
It scores 85 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
