Opentofu MCP Server

OpenTofu MCP Server for accessing the OpenTofu Registry

Remote serverstreamable-http

What is the Opentofu MCP Server?

OpenTofu MCP Server for accessing the OpenTofu Registry

The short version

A Model Context Protocol (MCP) server for accessing the OpenTofu Registry. This server allows language model assistants to search for and retrieve information about OpenTofu providers, modules, resources, and data sources.

  • Search the OpenTofu Registry for providers, modules, resources, and data sources
  • Get detailed information about specific providers and modules
  • Access documentation for resources and data sources
  • Retrieve comprehensive OpenTofu configuration examples
  • MCP-compatible interface for AI assistants

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Opentofu MCP Server

{
  "mcpServers": {
    "opentofu": {
      "command": "npx",
      "args": ["-y", "@opentofu/opentofu-mcp-server"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Frequently asked questions

OpenTofu MCP Server for accessing the OpenTofu Registry Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.