Skip to main content
Glama

OpenTofu MCP Server

Official
by opentofu

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
opentofu-registry-info

Tools

Functions exposed to the LLM to take actions

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/opentofu/opentofu-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server