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