1. Conduid
  2. Developer Tools
  3. Opentofu MCP Server
MCP server · Developer Tools

Opentofu MCP Server

OpenTofu MCP Server for accessing the OpenTofu Registry

Unclaimed Custom license devtools
63Good

Scored 3 days ago · breakdown

About Opentofu MCP Server

Opentofu MCP Server is an MCP server published by opentofu in the Developer Tools category: openTofu MCP Server for accessing the OpenTofu Registry.

The repository has 111 stars and 7 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/opentofu/opentofu-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (5)

get-datasource-docsGet documentation for a specific data source

Parameters not published.

get-module-detailsGet detailed information about a specific module

Parameters not published.

get-provider-detailsGet detailed information about a specific provider

Parameters not published.

get-resource-docsGet documentation for a specific resource

Parameters not published.

search-opentofu-registrySearch for providers, modules, resources, and data sources

Parameters not published.

Ask AI

✦

Ask AI about Opentofu MCP Server

Powered by Claude · Grounded in docs

I know everything about Opentofu MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.0.0v1.0.0 · 6 Jun 2025🎉 OpenTofu MCP Server v1.0.0 We're excited to announce the first stable release of the OpenTofu MCP Server! This release marks a significant milestone in providing AI assistants with seamless access to the OpenTofu Registry through the…
v0.1.5v0.1.5 · 22 May 2025Full Changelog: https://github.com/opentofu/opentofu-mcp-server/compare/v0.1.4...v0.1.5
v0.1.4v0.1.4 · 22 May 2025Full Changelog: https://github.com/opentofu/opentofu-mcp-server/compare/v0.1.3...v0.1.4
v0.1.3v0.1.3 · 22 May 2025Full Changelog: https://github.com/opentofu/opentofu-mcp-server/compare/v0.1.2...v0.1.3
v0.1.2v0.1.2 · 22 May 2025Full Changelog: https://github.com/opentofu/opentofu-mcp-server/compare/v0.1.0...v0.1.2

README

OpenTofu MCP Server

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.

Available as both a local Node.js server and a remote Cloudflare Worker deployment.

Features

  • 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

Installation

You can use this MCP server with any AI assistant that supports the Model Context Protocol. Choose between the hosted service or local installation:

Hosted Service (Recommended)

The easiest way to get started is to use our hosted service at mcp.opentofu.org. Benefits include:

  • ✅ No local installation required
  • ✅ Always up-to-date with the latest OpenTofu Registry data
  • ✅ Globally distributed via Cloudflare Workers
  • ✅ High availability and performance

Claude Code

Add the hosted OpenTofu MCP server to Claude Code:

claude mcp add opentofu -t streamable-http https://mcp.opentofu.org/mcp

Cursor / VS Code

Automatically install to Cursor in one click

Add this to your settings.json.

{
  "mcp": {
    "servers": {
      "opentofu": {
        "type": "streamable-http",
        "url": "https://mcp.opentofu.org/mcp"
      }
    }
  }
}

You do not need to define any inputs.

Generic MCP Configuration

{
  "mcpServers": {
    "opentofu": {
      "transport": "streamable-http",
      "url": "https://mcp.opentofu.org/mcp"
    }
  }
}

Local Server

Basic Usage

You can also run the server locally with npx:

npx @opentofu/opentofu-mcp-server

Global Installation

Install globally for repeated use:

npm install -g @opentofu/opentofu-mcp-server
opentofu-mcp-server

Claude Code (Local)

Add the local server to Claude Code:

claude mcp add opentofu -- npx @opentofu/opentofu-mcp-server

Generic MCP Configuration (Local)

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

Available Tools

The OpenTofu MCP server provides the following tools:

Registry Search and Information

  • search-opentofu-registry: Search for providers, modules, resources, and data sources
  • get-provider-details: Get detailed information about a specific provider
  • get-module-details: Get detailed information about a specific module
  • get-resource-docs: Get documentation for a specific resource
  • get-datasource-docs: Get documentation for a specific data source

README fetched from the repository 5 days ago. The original is authoritative.

Questions

About Opentofu MCP Server

How do I install Opentofu MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Opentofu MCP Server safe to use with an AI agent?

Its trust score is 63 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Opentofu MCP Server still maintained?

Yes — the last commit was a month ago. The repository has 111 stars and 7 forks and 2 open issues.