Terraform MCP Server
✓ verifiedLook up Terraform providers, modules, and registry docs.
Don't have ToolPiper? We'll take you to the download.
Publisher
License
MPL-2.0
Transport
Local subprocess
Tools
4
What this server does
HashiCorp's Terraform MCP server gives the assistant accurate, current information from the Terraform Registry: provider resource docs, module inputs and outputs, and version details. It is read-only against the public registry, so it does not touch your state or run plans. The value is correctness: instead of the model guessing at a provider argument from stale training data, it reads the real schema. Wire it up to write or review Terraform with the right attribute names the first time. Runs as a Docker container; Docker must be installed.
Tools included
search_providers
Search the Terraform Registry for providers.
get_provider_docs
Fetch documentation for a provider resource or data source.
search_modules
Search the Terraform Registry for modules.
get_module_details
Fetch inputs, outputs, and usage for a module.
The authoritative list comes from the server's tools/list at runtime. This catalog entry may lag the upstream until the next ToolPiper release.
Install in ToolPiper
ToolPiper handles the JSON configuration. Click Install, fill in any required tokens, and the server is ready in your chat.
Don't have ToolPiper? We'll take you to the download.
Install in another client
Install in another MCP client (Claude Desktop, Cursor, Continue, Cline)
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json.
{
"mcpServers": {
"terraform": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"hashicorp/terraform-mcp-server:0.5.0"
]
}
}
}Example prompts
"What arguments does the aws_s3_bucket resource accept in the latest AWS provider?"
"Find a well-maintained module for an AWS VPC and show me its inputs."
"How do I configure the google provider for a specific project and region?"
Security notes
Read-only against the public Terraform Registry, so there are no credentials and no access to your state, plans, or cloud accounts. The only requirement is a working Docker install, since the server ships as a container image. The information returned is public registry documentation. Optional TFE_TOKEN and TFE_ADDRESS variables enable Terraform Cloud lookups; add them only if you need that and treat the token as a credential.
Related tools
GitHub
✓ verifiedCreate issues, manage pull requests, and search repositories from your AI assistant.
Developer ToolsLocal subprocess5 toolsGitHub (Remote)
✓ verified MAXOAuth-protected GitHub MCP. Manage repos, issues, and pull requests with no token to copy.
Developer ToolsRemote HTTP5 toolsGit
✓ verifiedRead, search, and manipulate Git repositories on disk.
Developer ToolsLocal subprocess5 toolsEverything
✓ verifiedReference test server exercising every MCP feature.
Developer ToolsLocal subprocess5 tools