This MCP (Model Context Protocol) Server for the Facets Module assists in creating and managing Terraform modules for infrastructure as code. It
This MCP (Model Context Protocol) Server for the Facets Module assists in creating and managing Terraform modules for infrastructure as code. It integrates with
The MCP Server requires uv for MCP orchestration. The package is available on PyPI: facets-module-mcp
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| list_files | Lists all files in the specified module directory securely within the working directory. |
| read_file | Reads the content of a file within the working directory. |
| edit_file_block | Apply surgical edits to specific blocks of text in files. Makes precise changes without rewriting entire files. Cannot edit outputs.tf or facets.yaml files. |
| write_config_files | Writes and validates facets.yaml configuration files with dry-run and diff previews. |
| write_resource_file | Writes Terraform resource files (main.tf, variables.tf, etc.) safely. Excludes outputs.tf and facets.yaml. |
| write_outputs | Writes the outputs.tf file for a module with output attributes and interfaces in a local block. |
| write_readme_file | Writes a README.md file for the module directory with AI-generated content. |
| write_generic_file | Writes files generically with working directory and file type checks. Path: facets_mcp/tools/module_files.py |
| generate_module_with_user_confirmation | Generates a new Terraform module scaffold with dry-run preview and user confirmation. |
| validate_module | Validates a Terraform module directory using FTF CLI standards and checks output types. |
| push_preview_module_to_facets_cp | Previews a module by pushing a test version to the control plane with git context extracted automatically. |
| register_output_type | Registers a new output type in the Facets control plane with interfaces and attributes and providers. |
| get_output_type_details | Retrieves details for a specific output type from the Facets control plane. |
{
"mcpServers": {
"facets-module": {
"command": "uvx",
"args": [
"facets-module-mcp@latest",
"/Path/to/working-directory"
],
"env": {
"FACETS_PROFILE": "default",
"FACETS_USERNAME": "<YOUR_USERNAME>",
"FACETS_TOKEN": "YOUR_FACETS_TOKEN",
"CONTROL_PLANE_URL": "<YOUR_CONTROL_PLANE_URL>"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
The MCP Server requires uv for MCP orchestration. The package is available on PyPI: facets-module-mcp
| Variable | Description | Required |
|---|---|---|
| FACETS_PROFILE | Declared in the maintainer’s client configuration. | Check documentation |
| FACETS_USERNAME | Declared in the maintainer’s client configuration. | Check documentation |
| FACETS_TOKEN | Declared in the maintainer’s client configuration. | Check documentation |
| CONTROL_PLANE_URL | Declared in the maintainer’s client configuration. | Check documentation |
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.
kubectl with a conversational interface — inspect pods, read logs, diagnose clusters and manage workloads.