|
17 | 17 |
|
18 | 18 | [](https://sonarcloud.io/summary/new_code?id=sourcefuse_terraform-aws-arc-synthetic-monitoring) |
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 | ## Overview |
21 | 24 |
|
22 | 25 | Creates CloudWatch Synthetics canaries for endpoint availability and performance monitoring with SNS alerting. |
@@ -190,6 +193,50 @@ By specifying this , it will bump the version and if you don't specify this in y |
190 | 193 | go test -timeout 30m |
191 | 194 | ``` |
192 | 195 |
|
| 196 | +## AI Assistant Integration (ARC IaC MCP) |
| 197 | + |
| 198 | +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. |
| 199 | + |
| 200 | +**What you can do with it:** |
| 201 | + |
| 202 | +- **Discover** — search and filter modules by keyword or AWS resource type. |
| 203 | +- **Understand** — get inputs, outputs, and resources for any module without leaving your editor. |
| 204 | +- **Scaffold** — generate production-ready, multi-file Terraform with cross-module wiring already done. |
| 205 | +- **Secure** — scan generated or existing HCL for misconfigurations before it hits a PR. |
| 206 | +- **Compare** — diff modules side-by-side to make informed architectural decisions. |
| 207 | + |
| 208 | +### Setup (one minute) |
| 209 | + |
| 210 | +The MCP endpoint is `https://arc-iac-mcp.sourcef.us/mcp`. Pick your client: |
| 211 | + |
| 212 | +**Claude Code CLI:** |
| 213 | +```bash |
| 214 | +claude mcp add arc-iac --transport http https://arc-iac-mcp.sourcef.us/mcp |
| 215 | +``` |
| 216 | + |
| 217 | +**Claude Desktop** — edit `~/Library/Application Support/Claude/claude_desktop_config.json`: |
| 218 | +```json |
| 219 | +{ |
| 220 | + "mcpServers": { |
| 221 | + "arc-iac": { |
| 222 | + "url": "https://arc-iac-mcp.sourcef.us/mcp" |
| 223 | + } |
| 224 | + } |
| 225 | +} |
| 226 | +``` |
| 227 | + |
| 228 | +**Cursor / Windsurf / Kiro** — add the same block to `.cursor/mcp.json` (or the equivalent for your client). |
| 229 | + |
| 230 | +### Example prompts to try |
| 231 | + |
| 232 | +- *"List all ARC modules sorted by downloads"* |
| 233 | +- *"What inputs does `arc-ecs` require?"* |
| 234 | +- *"Scaffold a production-ready `arc-db` Aurora setup with Secrets Manager"* |
| 235 | +- *"Compare `arc-eks` and `arc-ecs` for running 10 microservices"* |
| 236 | +- *"Scan this Terraform before I raise a PR: `<paste HCL>`"* |
| 237 | + |
| 238 | +See the [ARC IaC MCP repo](https://github.com/sourcefuse/arc-iac-mcp) for the full tool reference, troubleshooting tips, and local-development instructions. |
| 239 | + |
193 | 240 | ## Contributing |
194 | 241 |
|
195 | 242 | See [CONTRIBUTING.md](./CONTRIBUTING.md) for commit conventions and development setup. |
|
0 commit comments