How to install Opentofu MCP Server 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 Opentofu MCP Server by running "gemini mcp add opentofu-mcp-server npx -y @opentofu/opentofu-mcp-server", then type /mcp to check it.
Built from the published package · server updated 1 month ago
- 1
Run the install command
In a terminal, run:
gemini mcp add opentofu-mcp-server npx -y @opentofu/opentofu-mcp-server - 2
Check it
Inside Gemini CLI, type /mcp to list servers and tools.
MCP servers run with your permissions. If Opentofu MCP Server needs an API key, add it under env in the config. Check its README.
Install Opentofu MCP Server in another app
Similar servers
Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Real-time global intelligence across conflict, markets, energy, trade, shipping and cyber. 95 tools.
Questions
Does Opentofu MCP Server work in Gemini CLI?
Yes. Gemini CLI supports local and remote mcp servers, extensions (legacy), and Opentofu MCP Server installs with the steps above.
Opentofu MCP Server 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 Opentofu MCP Server safe?
It scores 70 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
