Opentofu
@opentofu
About Opentofu
OpenTofu MCP Server for accessing the OpenTofu Registry
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"opentofu": {
"command": "npx",
"args": [
"-y",
"@opentofu/opentofu-mcp-server"
]
}
}
}Tools
5Search the OpenTofu Registry to find providers, modules, resources, and data sources. Use simple terms without prefixes like 'terraform-provider-' or 'terraform-module-'.
Get detailed information about a specific OpenTofu provider by namespace and name. Do NOT include 'terraform-provider-' prefix in the name.
Get detailed information about a specific OpenTofu module by namespace, name, and target. Use the simple module name, NOT the full repository name.
Get detailed documentation for a specific OpenTofu resource by provider namespace, provider name, and resource name.
Get detailed documentation for a specific OpenTofu data source by provider namespace, provider name, and data source name.
Overview
What is OpenTofu MCP Server?
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 MCP Server?
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 MCP Server
- 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 MCP Server
- 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
FAQ from OpenTofu MCP Server
Do I need to install anything to use the hosted service?
No, the hosted service at `
Frequently asked questions
Do I need to install anything to use the hosted service?
No, the hosted service at `
Basic information
More Other MCP servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Codelf
unbugA search tool helps dev to solve the naming things problem.
Comments