Terraform MCP Server
JSON →Integrates with Terraform Registry APIs for Infrastructure as Code development, supporting provider and module discovery.
Tools · 45
- read_plan Read and analyze a Terraform plan file
- validate Validate the Terraform configuration in a directory
- plan Generate a Terraform execution plan
- apply Apply a Terraform plan
- destroy Destroy Terraform-managed infrastructure
- init Initialize a Terraform working directory
- fmt Format Terraform configuration files
- validate_input_variables Validate input variables for a Terraform configuration
- list_resources List resources in the Terraform state
- list_outputs List output values from the Terraform state
- list_modules List modules used in the Terraform configuration
- list_providers List providers required by the Terraform configuration
- list_variables List input variables for the Terraform configuration
- show_state Show the current Terraform state
- show_plan Show details of a Terraform plan
- show_plan_json Show a Terraform plan in JSON format
- show_state_json Show the Terraform state in JSON format
- show_version Show the Terraform version
- show_providers Show provider information
- show_modules Show module information
- show_variables Show variable information
- show_outputs Show output information
- show_resources Show resource information
- show_data_sources Show data source information
- show_workspaces Show workspace information
- show_backend Show backend configuration
- show_lock Show lock information
- show_unlock Unlock the Terraform state
- show_force_unlock Force unlock the Terraform state
- show_refresh Refresh the Terraform state
- show_taint Taint a resource
- show_untant Untaint a resource
- show_import Import a resource into the Terraform state
- show_rm Remove a resource from the Terraform state
- show_mv Move a resource in the Terraform state
- show_state_push Push a Terraform state
- show_state_pull Pull a Terraform state
- show_state_replace_provider Replace a provider in the Terraform state
- show_state_list List resources in the Terraform state
- show_state_show Show a specific resource in the Terraform state
- show_state_rm Remove a resource from the Terraform state
- show_state_mv Move a resource in the Terraform state
- show_state_push Push a Terraform state
- show_state_pull Pull a Terraform state
- show_state_replace_provider Replace a provider in the Terraform state
Environment variables
TRANSPORT_HOSTTRANSPORT_PORT
Links
★ 1,384 GitHub stars