Terragrunt MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_docsA | Search Terragrunt documentation for HCL blocks, CLI commands, functions, and IaC patterns. Modes: search, list sections, get section content, or find code examples. |
| function_referenceC | Get Terragrunt built-in function details (find_in_parent_folders, dependency, read_terragrunt_config, etc.) or list all available functions by category. |
| cli_referenceA | Get Terragrunt CLI command help (terragrunt run-all, plan, apply, init, validate, etc.) or list commands by category. |
| get_hcl_config_referenceB | Get Terragrunt HCL block documentation with syntax and examples. Blocks: remote_state, dependency, dependencies, generate, terraform, inputs, include, locals. |
| get_guidanceC | Get Terragrunt best practices, block comparisons (dependency vs dependencies), or DRY patterns for infrastructure-as-code organization. |
| build_configA | Generate or write Terragrunt HCL configuration files (terragrunt.hcl). Use cases: remote_state backends (S3, GCS, Azure), provider generation, dependency blocks, hooks, and inputs. |
| diagnose_terragrunt_errorA | Diagnose Terragrunt and Terraform error messages with root cause analysis and solutions. Handles dependency cycles, state lock errors, provider issues, and HCL syntax problems. |
| get_server_metricsB | Get Terragrunt MCP server metrics: cache hit rates, tool invocation counts, response times, and memory usage for observability. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/omattsson/terragrunt-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server