โ˜… 364 Rust MIT sse ๆ›ดๆ–ฐ 47ๅˆ†้’Ÿๅ‰

Tf

๐ŸŒ Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integration. โšก๏ธ

ๅฎ‰่ฃ…้…็ฝฎ

docker build -t tfmcp .

README ๆ‘˜่ฆ

# tfmcp: Terraform Model Context Protocol Tool [![Trust Score](https://archestra.ai/mcp-catalog/api/badge/quality/nwiizo/tfmcp)](https://archestra.ai/mcp-catalog/nwiizo__tfmcp) *โš ๏ธ This project includes production-ready security features but is still under active development. While the security system provides robust protection, please review all operations carefully in production environments. โš ๏ธ* tfmcp is a command-line tool that helps you interact with Terraform via the Model Context Protocol (MCP). It allows LLMs to manage and operate your Terraform environments, including: ## ๐ŸŽฎ Demo See tfmcp in action with Claude Desktop: ![tfmcp Demo with Claude Desktop](.github/images/tfmcp-demo.gif) - Reading Terraform configuration files - Analyzing Terraform plan outputs - Applying Terraform configurations - Managing Terraform state - Creating and modifying Terraform configurations ## ๐ŸŽ‰ Latest Release The latest version of tfmcp (v0.1.9) is now available on Crates.io! You can easily install it using Cargo: ```bash cargo install tfmcp ``` ### ๐Ÿ†• What's New in v0.1.9 - **๐Ÿ“Š Plan Analysis**: Structured plan analysis with risk scoring and recommendations - **๐Ÿ” State Analysis**: Deep state inspection with drift detection - **๐Ÿ“ Workspace Management**: Full terraform workspace support (list, show, new, select, delete) - **๐Ÿ“ฅ Import Helper**: Guided resource import with config generation - **โœจ Code Formatting**: terraform fmt integration - **๐Ÿ”— Dependency Graph**: terraform graph visualization with DOT output - **๐Ÿ“ค Output Management**: terraform output access - **๐Ÿท๏ธ Taint/Untaint**: Resource taint management (with deprecation notices for 1.5+) - **๐Ÿ”„ State Refresh**: Explicit state refresh operations - **๐Ÿ“ฆ Provider Info**: Detailed provider information with lock file parsing - **๐Ÿฆ€ Rust Edition 2024**: Migrated to Rust Edition 2024 (requires Rust 1.85.0+) ## Features - ๐Ÿš€ **Terraform Integration** Deeply integrates with the Terraform CLI to analyze and execute operations. - ๐Ÿ“„ **MCP Server Capabilities** Runs as a Model Context Protocol server, allowing AI assistants to access and manage Terraform. - ๐Ÿ”ฌ **Module Health Analysis** Whitebox approach to Infrastructure as Code with cohesion/coupling analysis, health scoring, and refactoring suggestions based on software engineering principles. - ๐Ÿ“Š **Resource Dependency Graph** Visualize resource relationships including explicit depends_on and implicit reference dependencies. - ๐Ÿ“ฆ **Module Registry Integration** Search and explore Terraform modules from the registry, get module details and versions. - ๐Ÿ” **Enterprise Security** Production-ready security controls with configurable policies, audit logging, and access restrictions. - ๐Ÿ“Š **Advanced Analysis** Detailed Terraform configuration analysis with best practice recommendations and security checks. - ๐Ÿ“‹ **Guideline Compliance** (v0.1.8) Future Architect Terraform guidelines integration with compliance scoring, secret detection, and variable quality checks. - โšก๏ธ **Blazing Fast** High-speed processing powered by the Rust ecosystem with optimized parsing and caching. - ๐Ÿ› ๏ธ **Automatic Setup** Automatically creates sample Terraform projects when needed, ensuring smooth operation even for new users. - ๐Ÿณ **Docker Support** Run tfmcp in a containerized environment with all dependencies pre-installed. ## Installation ### From Source ```bash # Clone the repository git clone https://github.com/nwiizo/tfmcp...

็›ธๅ…ณ MCP

Awesome S

A collection of MCP servers.

โ˜… 88072 sse ๅพ…่กฅๅ……
mcp sse

Libre Chat

Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, M...

โ˜… 37614 TypeScript sse ๅพ…่กฅๅ……
mcp sse TypeScript

Github

GitHub's official MCP Server

โ˜… 30243 Go sse ๅพ…่กฅๅ……
mcp sse Go

Fast

๐Ÿš€ The fast, Pythonic way to build MCP servers and clients.

โ˜… 25364 Python sse ๅพ…่กฅๅ……
mcp Python sse