Summary
The instructions.md file references several enterprise monitoring tools that don't appear to be implemented yet:
|
- **Monitoring**: `get_plan_details`/`get_plan_logs` for plans, `get_apply_details`/`get_apply_logs` for applies |
- Monitoring:
get_plan_details/get_plan_logs for plans, get_apply_details/get_apply_logs for applies
Use Case
I'm setting up this MCP server with Claude Code to help troubleshoot Terraform plan and apply errors. Being able to retrieve plan/apply logs programmatically would significantly improve the debugging workflow by allowing the AI assistant to:
- Analyze plan output for errors and warnings
- Identify resource conflicts or provider issues
- Suggest fixes based on actual error messages
Current Behavior
These tools are documented in instructions.md under "HCP Terraform/TFE Tools" but are not present in the pkg/tools/tfe/ directory. The available TFE tools include get_run_details, list_runs, workspace management, and variable operations, but no plan/apply log
retrieval.
Questions
- Is there a plan to implement these monitoring tools?
- Is there a general timeline for when they might become available?
- Are there any alternative approaches to retrieve plan/apply logs using the current toolset or are we limited to direct curl commands through the terraform cloud API?
Environment
- terraform-mcp-server version: v0.3.3
- Using HCP Terraform with valid TFE_TOKEN configured
Summary
The instructions.md file references several enterprise monitoring tools that don't appear to be implemented yet:
terraform-mcp-server/cmd/terraform-mcp-server/instructions.md
Line 43 in 87f9bfe
get_plan_details/get_plan_logsfor plans,get_apply_details/get_apply_logsfor appliesUse Case
I'm setting up this MCP server with Claude Code to help troubleshoot Terraform plan and apply errors. Being able to retrieve plan/apply logs programmatically would significantly improve the debugging workflow by allowing the AI assistant to:
Current Behavior
These tools are documented in instructions.md under "HCP Terraform/TFE Tools" but are not present in the pkg/tools/tfe/ directory. The available TFE tools include get_run_details, list_runs, workspace management, and variable operations, but no plan/apply log
retrieval.
Questions
Environment