tfmcp

nwiizo/tfmcp

4.1

tfmcp is hosted online, so all tools can be tested directly either in theInspector tabor in theOnline Client.

If you are the rightful owner of tfmcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

tfmcp is a command-line tool that facilitates interaction with Terraform using the Model Context Protocol (MCP), enabling LLMs to manage Terraform environments.

Try tfmcp with chat:

Tools

Functions exposed to the LLM to take actions

list_terraform_resources

List all resources defined in the Terraform project

destroy_terraform

Destroy all resources defined in the Terraform project (requires TFMCP_DELETE_ENABLED=true)

analyze_terraform

Analyze Terraform configuration files and provide detailed information

get_terraform_plan

Execute 'terraform plan' and return the output

apply_terraform

Apply Terraform configuration (WARNING: This will make actual changes to your infrastructure)

validate_terraform

Validate Terraform configuration files

validate_terraform_detailed

Perform detailed validation of Terraform configuration files with best practice checks

get_terraform_state

Get the current Terraform state

init_terraform

Initialize a Terraform project

get_security_status

Get current security policy and status

search_terraform_providers

Search for Terraform providers in the official registry

get_provider_info

Get detailed information about a specific Terraform provider

get_provider_docs

Get documentation for specific provider resources

set_terraform_directory

Change the current Terraform project directory

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources