Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TERRAFORM_WORKING_DIRNoThe default working directory for Terraform operations. If not set, the server will use the current working directory.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
tf_versionA

Get Terraform version

tf_initB

Initialize Terraform working directory

tf_validateC

Validate Terraform configuration

tf_planD

Create execution plan

tf_applyD

Apply Terraform changes

tf_destroyC

Destroy Terraform resources

tf_outputD

Get Terraform outputs

tf_state_listC

List resources in state

tf_state_showC

Show resource in state

tf_state_rmC

Remove resource from state

tf_state_mvC

Move resource in state

tf_importC

Import existing resource into state

tf_refreshC

Refresh state

tf_fmtC

Format Terraform files

tf_workspace_listC

List workspaces

tf_workspace_selectC

Select workspace

tf_workspace_newD

Create workspace

tf_workspace_deleteC

Delete workspace

tf_providersD

List providers

tf_graphC

Generate resource graph (DOT format)

tf_taintC

Mark resource for recreation

tf_untaintC

Remove taint from resource

tf_show_planC

Show saved plan file

tf_list_filesC

List Terraform files in directory

tf_read_fileC

Read a Terraform file

tf_write_fileC

Write a Terraform file

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/mjrestivo16/mcp-terraform'

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