Labsco
MCP SERVER

Terraform Registry MCP Server

by thrashr888

Look up a resource's arguments, a module's inputs and outputs, or a worked example of a resource, while the HCL file is still open.

Framework & SDK Documentation LookupVerified
Summary
The argument you half-remember, without leaving the file.

resourceArgumentDetails returns required and optional attributes with their nested blocks, so writing an unfamiliar resource stops being a trip to the registry site and back. providerGuides carries the upgrade notes, which is the page you actually want open when a provider's major version moves under you.

What it is

A read-only client for the Terraform Registry in 10 tools: providers with their resources, data sources, functions and guides; modules with versions, inputs, outputs and dependencies; and policy libraries.

What you get
  • A resource type's full argument set — required and optional attributes, nested blocks, and their descriptions — for a given provider and version
  • An example usage of a resource together with the resources related to it
  • Provider details by namespace, name and optional version, and every data source a provider exposes
  • Module search by query, and a module's metadata: versions, inputs, outputs and dependencies
  • Provider functions documented one at a time, and provider guides including version-upgrade guides
  • Policy libraries searched, and one read in detail with its latest version
Requirements

Npx on your PATH. It reads the Terraform Registry and takes no credentials.

Setup effort

One command — npx -y terraform-mcp-server