Skip to directory

About OpenTofu MCP

Searches the OpenTofu Registry and retrieves provider, module, resource, and data-source documentation and configuration examples.

What you can use it for

  • Find providers and modules in the OpenTofu Registry
  • Read resource and data-source documentation
  • Retrieve OpenTofu configuration examples
Connection and setup
Hosting
both
Transport
Not documented
Endpoint
https://mcp.opentofu.org/mcp
Authentication
No inputs or credentials are documented for the hosted service; the local server likewise documents no authentication requirement.

Requirements

  • For the local implementation, Node.js/npm and an MCP-compatible client. Hosted use requires network access.

Setup steps

  1. Hosted: add https://mcp.opentofu.org/mcp as a Streamable HTTP MCP server.
  2. Claude Code example: `claude mcp add opentofu -t streamable-http https://mcp.opentofu.org/mcp`.
  3. Local alternative: configure command `npx` and args `-y`, `@opentofu/opentofu-mcp-server`.
  4. Refresh the client and try a read-only registry search.
Tools 5

The OpenTofu maintainer README enumerates exactly five registry tools matching stored identifiers: search plus provider, module, resource and datasource documentation lookups. Hosted endpoint is mcp.opentofu.org/mcp; no authentication inputs are documented.

  • search-opentofu-registry

    Search the OpenTofu Registry for providers, modules, resources and data sources.

    01
  • get-provider-details

    Retrieve details for a specific provider.

    02
  • get-module-details

    Retrieve details for a specific module.

    03
  • get-resource-docs

    Retrieve documentation for a provider resource.

    04
  • get-datasource-docs

    Retrieve documentation for a provider data source.

    05
Limitations and notes
  • This server searches and reads registry documentation; it is not the OpenTofu CLI and does not itself apply infrastructure changes.
Original sources
  • official tool reference

    The OpenTofu maintainer README enumerates exactly five registry tools matching stored identifiers: search plus provider, module, resource and datasource documentation lookups. Hosted endpoint is mcp.opentofu.org/mcp; no authentication inputs are documented.

  • official documentation or source

    The OpenTofu maintainer README enumerates exactly five registry tools matching stored identifiers: search plus provider, module, resource and datasource documentation lookups. Hosted endpoint is mcp.opentofu.org/mcp; no authentication inputs are documented.

Documentation checked 2026-10-28T13:45:00.000Z. Connection has not been runtime tested.