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