|
17 | 17 |
|
18 | 18 | [](https://sonarcloud.io/summary/new_code?id=sourcefuse_terraform-aws-arc-bootstrap) |
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 an S3 bucket and DynamoDB table for Terraform remote state storage with encryption, versioning, and access controls. |
@@ -263,6 +266,50 @@ pre-commit run -a |
263 | 266 | ``` |
264 | 267 |
|
265 | 268 |
|
| 269 | +## AI Assistant Integration (ARC IaC MCP) |
| 270 | + |
| 271 | +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. |
| 272 | + |
| 273 | +**What you can do with it:** |
| 274 | + |
| 275 | +- **Discover** — search and filter modules by keyword or AWS resource type. |
| 276 | +- **Understand** — get inputs, outputs, and resources for any module without leaving your editor. |
| 277 | +- **Scaffold** — generate production-ready, multi-file Terraform with cross-module wiring already done. |
| 278 | +- **Secure** — scan generated or existing HCL for misconfigurations before it hits a PR. |
| 279 | +- **Compare** — diff modules side-by-side to make informed architectural decisions. |
| 280 | + |
| 281 | +### Setup (one minute) |
| 282 | + |
| 283 | +The MCP endpoint is `https://arc-iac-mcp.sourcef.us/mcp`. Pick your client: |
| 284 | + |
| 285 | +**Claude Code CLI:** |
| 286 | +```bash |
| 287 | +claude mcp add arc-iac --transport http https://arc-iac-mcp.sourcef.us/mcp |
| 288 | +``` |
| 289 | + |
| 290 | +**Claude Desktop** — edit `~/Library/Application Support/Claude/claude_desktop_config.json`: |
| 291 | +```json |
| 292 | +{ |
| 293 | + "mcpServers": { |
| 294 | + "arc-iac": { |
| 295 | + "url": "https://arc-iac-mcp.sourcef.us/mcp" |
| 296 | + } |
| 297 | + } |
| 298 | +} |
| 299 | +``` |
| 300 | + |
| 301 | +**Cursor / Windsurf / Kiro** — add the same block to `.cursor/mcp.json` (or the equivalent for your client). |
| 302 | + |
| 303 | +### Example prompts to try |
| 304 | + |
| 305 | +- *"List all ARC modules sorted by downloads"* |
| 306 | +- *"What inputs does `arc-ecs` require?"* |
| 307 | +- *"Scaffold a production-ready `arc-db` Aurora setup with Secrets Manager"* |
| 308 | +- *"Compare `arc-eks` and `arc-ecs` for running 10 microservices"* |
| 309 | +- *"Scan this Terraform before I raise a PR: `<paste HCL>`"* |
| 310 | + |
| 311 | +See the [ARC IaC MCP repo](https://github.com/sourcefuse/arc-iac-mcp) for the full tool reference, troubleshooting tips, and local-development instructions. |
| 312 | + |
266 | 313 | ## Contributing |
267 | 314 | See [CONTRIBUTING.md](./CONTRIBUTING.md) for commit conventions and development setup. |
268 | 315 |
|
|
0 commit comments