Servers
Opentofu
@opentofu
OpenTofu MCP Server for accessing the OpenTofu Registry
Overview
What is OpenTofu MCP Server?
The OpenTofu MCP Server is a Model Context Protocol server that enables AI assistants to search and retrieve information from the OpenTofu Registry, including providers, modules, resources, and data sources. It can be run locally via Node.js or accessed as a hosted Cloudflare Worker.
How to use OpenTofu MCP Server?
You can use the hosted service by adding it to your MCP client with the endpoint https://mcp.opentofu.org/sse. For local use, run npx @opentofu/opentofu-mcp-server or install globally and run opentofu-mcp-server. Configuration examples for Claude Code, Cursor, and generic MCP setups are provided.
Key features of OpenTofu MCP Server
- Search the OpenTofu Registry for providers and modules
- Get detailed information about specific providers
- Retrieve documentation for resources and data sources
- Access comprehensive OpenTofu configuration examples
- Works with any MCP-compatible AI assistant
- Available as local Node.js server or hosted Cloudflare Worker
Use cases of OpenTofu MCP Server
- AI assistants answering questions about OpenTofu providers and modules
- Automatically fetching resource documentation during infrastructure planning
- Searching the registry for available data sources and configuration examples
- Integrating OpenTofu lookups into chat-based DevOps tools
FAQ from OpenTofu MCP Server
Do I need to install anything to use the hosted service?
No, the hosted service at `