MCP.so
登录

Opentofu

@opentofu

关于 Opentofu

OpenTofu MCP Server for accessing the OpenTofu Registry

基本信息

分类

其他

传输方式

stdio

发布者

opentofu

提交者

James Humphries

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

5

Search 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.

概览

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 `

评论

其他 分类下的更多 MCP 服务器