|
17 | 17 |
|
18 | 18 | [](https://sonarcloud.io/summary/new_code?id=sourcefuse_terraform-aws-arc-waf) |
19 | 19 |
|
| 20 | +> [!TIP] |
| 21 | +> 🤖 **New:** Use this module with AI assistants via the [ARC IaC MCP Server](https://github.com/sourcefuse/arc-iac-mcp) — search, scaffold, and security-scan ARC modules from natural language. [Quick setup ↓](#ai-assistant-integration-arc-iac-mcp) |
| 22 | +
|
20 | 23 |
|
21 | 24 | ## Overview |
22 | 25 |
|
@@ -183,6 +186,50 @@ By specifying this , it will bump the version and if you dont specify this in yo |
183 | 186 | ```sh |
184 | 187 | go test -timeout 30m |
185 | 188 | ``` |
| 189 | +## AI Assistant Integration (ARC IaC MCP) |
| 190 | + |
| 191 | +The **[ARC IaC MCP Server](https://github.com/sourcefuse/arc-iac-mcp)** is a hosted Model Context Protocol service that lets AI assistants browse, search, scaffold, compare, and security-scan any of the SourceFuse ARC Terraform modules — directly from natural language. |
| 192 | + |
| 193 | +**What you can do with it:** |
| 194 | + |
| 195 | +- **Discover** — search and filter modules by keyword or AWS resource type. |
| 196 | +- **Understand** — get inputs, outputs, and resources for any module without leaving your editor. |
| 197 | +- **Scaffold** — generate production-ready, multi-file Terraform with cross-module wiring already done. |
| 198 | +- **Secure** — scan generated or existing HCL for misconfigurations before it hits a PR. |
| 199 | +- **Compare** — diff modules side-by-side to make informed architectural decisions. |
| 200 | + |
| 201 | +### Setup (one minute) |
| 202 | + |
| 203 | +The MCP endpoint is `https://arc-iac-mcp.sourcef.us/mcp`. Pick your client: |
| 204 | + |
| 205 | +**Claude Code CLI:** |
| 206 | +```bash |
| 207 | +claude mcp add arc-iac --transport http https://arc-iac-mcp.sourcef.us/mcp |
| 208 | +``` |
| 209 | + |
| 210 | +**Claude Desktop** — edit `~/Library/Application Support/Claude/claude_desktop_config.json`: |
| 211 | +```json |
| 212 | +{ |
| 213 | + "mcpServers": { |
| 214 | + "arc-iac": { |
| 215 | + "url": "https://arc-iac-mcp.sourcef.us/mcp" |
| 216 | + } |
| 217 | + } |
| 218 | +} |
| 219 | +``` |
| 220 | + |
| 221 | +**Cursor / Windsurf / Kiro** — add the same block to `.cursor/mcp.json` (or the equivalent for your client). |
| 222 | + |
| 223 | +### Example prompts to try |
| 224 | + |
| 225 | +- *"List all ARC modules sorted by downloads"* |
| 226 | +- *"What inputs does `arc-ecs` require?"* |
| 227 | +- *"Scaffold a production-ready `arc-db` Aurora setup with Secrets Manager"* |
| 228 | +- *"Compare `arc-eks` and `arc-ecs` for running 10 microservices"* |
| 229 | +- *"Scan this Terraform before I raise a PR: `<paste HCL>`"* |
| 230 | + |
| 231 | +See the [ARC IaC MCP repo](https://github.com/sourcefuse/arc-iac-mcp) for the full tool reference, troubleshooting tips, and local-development instructions. |
| 232 | + |
186 | 233 | ## Contributing |
187 | 234 |
|
188 | 235 | See [CONTRIBUTING.md](./CONTRIBUTING.md) for commit conventions and development setup. |
|
0 commit comments