facets-module-mcp

facets-module-mcp

3.3

If you are the rightful owner of facets-module-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This MCP Server for the Facets Module assists in creating and managing Terraform modules for infrastructure as code.

The Facets Module MCP Server is designed to streamline the creation and management of Terraform modules, integrating seamlessly with Facets.cloud's FTF CLI. It provides a secure and robust environment for module generation, validation, and management, supporting cloud-native infrastructure workflows. The server ensures secure file operations, offers modular MCP tools, and supports interactive workflows for generating Terraform modules. It also includes features for module preview and testing, cloud environment integration, and supplementary instructions support. The server is equipped with a comprehensive set of tools for file operations, module generation, validation, and deployment, making it an essential component for teams working with Terraform and Facets.cloud.

Features

  • Secure File Operations: Limits all file operations to within the working directory to ensure safety and integrity.
  • Modular MCP Tools: Offers comprehensive tools for file listing, reading, writing, module generation, validation, and previews.
  • Facets Module Generation: Interactive prompt-driven workflows facilitate generation of Terraform modules with metadata, variable, and input management using FTF CLI.
  • Supplementary Instructions Support: Automatically reads additional project-specific instructions from the `mcp_instructions` directory.
  • Module Preview and Testing: Comprehensive deployment workflow supporting module preview, testing in dedicated test projects, and real-time deployment monitoring.

Tools

  1. FIRST_STEP_get_instructions

    Loads all module writing instructions from the module_instructions directory and supplementary instructions from mcp_instructions.

  2. list_files

    Lists all files in the specified module directory securely within the working directory.

  3. read_file

    Reads the content of a file within the working directory.

  4. edit_file_block

    Apply surgical edits to specific blocks of text in files. Makes precise changes without rewriting entire files.

  5. write_config_files

    Writes and validates facets.yaml configuration files with dry-run and diff previews.