Opentofu

by opentofu

520 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server for accessing the OpenTofu Registry.

Details

Author
opentofu
Downloads
520
Categories
Developer Tools, Infrastructure, Other, Search

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Opentofu
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

A Model Context Protocol (MCP) server for accessing the OpenTofu Registry.

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.

- 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

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

The easiest way to get started is to use our hosted service atmcp.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

Add the hosted OpenTofu MCP server to Claude Code:

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

Automatically install to Cursor in one click

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

You can also run the server locally with npx:

npm install -g @opentofu/opentofu-mcp-server opentofu-mcp-server
claude mcp add opentofu -- npx @opentofu/opentofu-mcp-server
{ "mcpServers": { "opentofu": { "command": "npx", "args": ["-y", "@opentofu/opentofu-mcp-server"] } } }

The OpenTofu MCP server provides the following tools:

- 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

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

HashiCorp Terraform MCP server for Infrastructure as Code workflows, including provider and module discovery through the Terraform Registry.

Execute Terraform commands locally in a secure, containerized environment. Features LSP integration for intelligent Terraform development.

The Railway MCP Server enables natural language interaction with your Railway projects and infrastructure. Ask your IDE or AI assistant to create projects, deploy templates, manage environments, pull variables, redeploy services, and more.

The Shipyard CLI provides an MCP server for agents to manage Shipyard environments directly: by pulling logs, comparing branches, running tests, and stopping/starting environments..

Manage your Bedrock server with natural language commands using the Bedrock Server Manager API.

Create and manage Terraform modules for cloud-native infrastructure using the Facets.cloud FTF CLI.

Verified GPU compute for humans, applications, and agents.

Deploy Python functions as web apps. Type hints become UI, API, and shareable links. 32 MCP tools for deploy, run, storage, secrets, scheduling, versioning, and sharing.

Run and interpret Kubernetes commands interactively with a provided kubeconfig.

Kubernetes desktop IDE with an embedded MCP server for visual oversight of AI-driven cluster operations. Supports FluxCD, ArgoCD, and Helm.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.