Skip to main content
Glama

tfmcp

by nwiizo
RELEASE_NOTES_v0.1.4.md4.28 kB
# Release Notes - tfmcp v0.1.4 **Release Date:** December 8, 2024 ## 🔧 Critical Bug Fixes This release addresses several critical functionality issues identified during comprehensive testing and verification. All fixes improve the stability and reliability of the MCP server operations. ### Fixed Issues 1. **🚨 Fixed `analyze_terraform` returning null analysis** - **Issue:** The `analyze_terraform` tool was returning `{"analysis": null}` instead of proper analysis data - **Fix:** Modified `TfMcp::analyze_terraform()` to return `TerraformAnalysis` data structure instead of `()` - **Impact:** MCP tool now correctly returns Terraform configuration analysis with resource information 2. **🚨 Fixed `set_terraform_directory` response format error** - **Issue:** MCP handler was returning "Field required" error for proper MCP response format - **Fix:** Converted response to proper MCP text response format with structured message - **Impact:** Directory changes now work correctly through Claude Desktop integration 3. **🔧 Enhanced `get_chunked_response` error handling** - **Issue:** Large responses were causing errors during chunking process - **Fix:** Improved parameter validation and error messages for chunked responses - **Impact:** Better handling of large Terraform outputs and provider documentation 4. **💡 Improved `list_terraform_resources` error messages** - **Issue:** Unhelpful error messages when no Terraform state file exists - **Fix:** Added comprehensive guidance for common scenarios: - No resources created yet (suggest `terraform apply`) - Project not initialized (suggest `terraform init`) - State file deleted or moved - **Impact:** Users get clear actionable guidance when encountering state issues 5. **📚 Fixed `get_provider_docs` empty array returns** - **Issue:** Provider documentation requests were returning empty arrays - **Fix:** Enhanced error handling and added helpful messages when documentation is not found - **Impact:** Better user experience when searching for provider documentation ## 🛠️ Technical Improvements - **Code Quality:** Fixed all compilation warnings and clippy issues - **Testing:** All 106 tests pass successfully across all modules - **CI/CD:** Updated GitHub Actions workflow to handle dead code warnings appropriately - **Documentation:** Enhanced error messages with actionable guidance ## 🧪 Testing & Verification - ✅ **106 tests passing** across unit tests, integration tests, and compilation tests - ✅ **Zero clippy warnings** (with appropriate dead code allowances for future modules) - ✅ **All critical functionality verified** through comprehensive manual testing - ✅ **CI/CD pipeline updated** and working correctly ## 📋 Verification Report Summary All functionality issues from the December 8th verification report have been resolved: | Issue | Status | Description | |-------|--------|-------------| | #1 | ✅ **Fixed** | `analyze_terraform` null analysis | | #2 | ✅ **Fixed** | `set_terraform_directory` format error | | #3 | ✅ **Fixed** | `get_chunked_response` error handling | | #4 | ✅ **Fixed** | `list_terraform_resources` error messages | | #5 | ✅ **Fixed** | `get_provider_docs` empty returns | ## 🚀 Installation & Upgrade ### From Crates.io ```bash cargo install tfmcp ``` ### From Source ```bash git clone https://github.com/nwiizo/tfmcp.git cd tfmcp cargo install --path . ``` ### Claude Desktop Integration Update your `claude_desktop_config.json`: ```json { "mcpServers": { "tfmcp": { "command": "tfmcp", "args": ["mcp"], "env": { "TERRAFORM_DIR": "/path/to/terraform/project" } } } } ``` ## 🔗 Links - **Repository:** https://github.com/nwiizo/tfmcp - **Crates.io:** https://crates.io/crates/tfmcp - **Documentation:** https://docs.rs/tfmcp - **Issues:** https://github.com/nwiizo/tfmcp/issues ## 🙏 Acknowledgments Thank you to all users who provided feedback and testing reports that made this release possible. Your detailed verification and issue reports directly contributed to improving the stability and reliability of tfmcp. --- **Full Changelog:** https://github.com/nwiizo/tfmcp/compare/v0.1.3...v0.1.4

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/nwiizo/tfmcp'

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