Opentofu Mcp Server
FreeNot checkedOpenTofu MCP Server for accessing the OpenTofu Registry
About
OpenTofu MCP Server for accessing the OpenTofu Registry
README
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 sourcesget-provider-details: Get detailed information about a specific providerget-module-details: Get detailed information about a specific moduleget-resource-docs: Get documentation for a specific resourceget-datasource-docs: Get documentation for a specific data source
Install Opentofu Mcp Server in Claude Desktop, Claude Code & Cursor
unyly install opentofu-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add opentofu-mcp-server -- npx -y @opentofu/opentofu-mcp-serverFAQ
Is Opentofu Mcp Server MCP free?
Yes, Opentofu Mcp Server MCP is free — one-click install via Unyly at no cost.
Does Opentofu Mcp Server need an API key?
No, Opentofu Mcp Server runs without API keys or environment variables.
Is Opentofu Mcp Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Opentofu Mcp Server in Claude Desktop, Claude Code or Cursor?
Open Opentofu Mcp Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Opentofu Mcp Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
