Feedback

OpenTofu Registry MCP Server Verified

@opentofu Claim

Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MPL-2.0
Transports
stdio
Author
opentofu
Submitted by
Community
Quality
20
Stars
77

About OpenTofu Registry MCP Server

Search the OpenTofu Registry for providers, modules, resources, and docs to streamline your infrastructure-as-code tasks efficiently.

OpenTofu Registry is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by opentofu. It exposes 5 tools, including search-opentofu-registry, get-provider-details, get-module-details, get-resource-docs and more. Supported transport: stdio. Runtime: TypeScript. License: MPL-2.0. The repository has 77 GitHub stars. Source code is hosted on github.com. Related topics: developer-tools, infrastructure, official, opentofu, search.

Setup

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

OpenTofu Registry MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

OpenTofu Registry MCP Server tools

  • search-opentofu-registry — Search the OpenTofu Registry to find providers, modules, resources, and data sources. Use simple terms without prefixes like 'terraform-provider-' or 'terraform-module-'.
  • get-provider-details — Get detailed information about a specific OpenTofu provider by namespace and name. Do NOT include 'terraform-provider-' prefix in the name.
  • get-module-details — Get detailed information about a specific OpenTofu module by namespace, name, and target. Use the simple module name, NOT the full repository name.
  • get-resource-docs — Get detailed documentation for a specific OpenTofu resource by provider namespace, provider name, and resource name.
  • get-datasource-docs — Get detailed documentation for a specific OpenTofu data source by provider namespace, provider name, and data source name.

Overview

What is OpenTofu Registry?

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 Registry?

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 Registry

  • 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 Registry

  • 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

Frequently asked questions

1 Do I need to install anything to use the hosted service?

No, the hosted service at `

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬