Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP server port (default: 3002) | 3002 |
| TRANSPORT_MODE | No | Transport mode: stdio (default) or http | stdio |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_modules | Search for Terraform modules in the public registry. Args:
query: Search query string (module name or keywords)
provider: Filter by provider (e.g., 'aws', 'azurerm', 'google')
offset: Pagination offset (default: 0)
limit: Maximum results to return (default: 20, max: 50)
Returns:
Dictionary containing search results with module names, providers, descriptions |
| get_module_details | Get detailed information about a specific Terraform module. Args:
namespace: Module namespace/publisher (e.g., 'terraform-aws-modules')
name: Module name (e.g., 'vpc')
provider: Provider name (e.g., 'aws')
version: Module version (default: 'latest')
Returns:
Dictionary containing detailed module information including inputs, outputs, resources |
| get_latest_module_version | Get the latest version of a Terraform module. Args:
namespace: Module namespace/publisher
name: Module name
provider: Provider name
Returns:
Dictionary containing the latest version number and published date |
| list_module_versions | List all available versions of a Terraform module. Args:
namespace: Module namespace/publisher
name: Module name
provider: Provider name
Returns:
Dictionary containing all available versions |
| search_providers | Search for Terraform providers in the public registry. Args:
query: Search query (provider name or keywords, optional)
tier: Filter by tier ('official', 'partner', 'community', optional)
offset: Pagination offset (default: 0)
limit: Maximum results to return (default: 20, max: 100)
Returns:
Dictionary containing provider search results |
| get_provider_details | Get detailed information about a specific Terraform provider. Args:
namespace: Provider namespace (e.g., 'hashicorp')
name: Provider name (e.g., 'aws', 'azurerm', 'google')
version: Provider version (default: 'latest')
Returns:
Dictionary containing detailed provider information |
| get_latest_provider_version | Get the latest version of a Terraform provider. Args:
namespace: Provider namespace (e.g., 'hashicorp')
name: Provider name (e.g., 'aws')
Returns:
Dictionary containing the latest version number and metadata |
| list_provider_versions | List all available versions of a Terraform provider. Args:
namespace: Provider namespace
name: Provider name
Returns:
Dictionary containing all available versions |
| get_provider_docs | Get the main documentation page for a Terraform provider. This fetches the provider's overview documentation from GitHub which typically includes:
- Version information and compatibility notes
- Authentication and configuration
- Example usage
- Important notes about breaking changes
- Upgrade guides between versions
Args:
namespace: Provider namespace (e.g., 'hashicorp')
name: Provider name (e.g., 'aws', 'azurerm', 'google')
version: Provider version (default: 'latest')
Returns:
Dictionary containing provider documentation content in markdown format |
| get_provider_resource_docs | Get detailed documentation for a specific provider resource. Fetches the full documentation from GitHub including:
- Description and use cases
- Example usage code
- Argument reference (required and optional)
- Attribute reference (exported values)
- Import instructions
- Timeouts configuration
Args:
namespace: Provider namespace (e.g., 'hashicorp')
name: Provider name (e.g., 'aws')
resource_name: Resource name (e.g., 'aws_instance', 'azurerm_virtual_machine')
version: Provider version (default: 'latest')
Returns:
Dictionary containing detailed resource documentation in markdown format |
| get_provider_data_source_docs | Get detailed documentation for a specific provider data source. Fetches the full documentation from GitHub including:
- Description and use cases
- Example usage code
- Argument reference
- Attribute reference (exported values)
Args:
namespace: Provider namespace (e.g., 'hashicorp')
name: Provider name (e.g., 'aws')
data_source_name: Data source name (e.g., 'aws_ami', 'azurerm_subscription')
version: Provider version (default: 'latest')
Returns:
Dictionary containing detailed data source documentation in markdown format |
| search_provider_docs | Search within provider documentation for specific errors, topics, or troubleshooting info.
Useful for questions like:
- "What does error X mean?"
- "How do I configure authentication?"
- "What are the timeout options?"
- "How do I handle rate limiting?"
Args:
namespace: Provider namespace (e.g., 'hashicorp')
name: Provider name (e.g., 'aws', 'azurerm')
query: Search terms or error message to look for
version: Provider version (default: 'latest')
Returns:
Dictionary containing search results with matched sections from documentation |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |