drio
Open app

IaC Memory MCP Server

Source

This is a personal project to determine whether or not Claude 3.5 Sonnet can write moderately complex MCP Server code (Python).

Catalog onlyCatalog onlySTDIO

Overview

The IaC Memory MCP Server is a personal project aimed at enhancing Claude AI's capabilities by providing persistent memory storage for Infrastructure-as-Code (IaC) components, focusing on version tracking and relationship mapping for Terraform and Ansible resources.

To use the IaC Memory MCP Server, set up the server with the required environment variables, and utilize the provided commands to manage and analyze IaC components through a structured URI system.

  • Persistent storage and version tracking for IaC components - Hierarchical resource organization with URI-based access - Comprehensive relationship mapping between components - Version-specific documentation management - Automated relationship analysis and insights
  1. Managing Terraform and Ansible resources with version control.
  2. Analyzing relationships between different IaC components.
  3. Providing a structured approach to resource management in cloud infrastructure.

Add to your AI client

Use these steps to connect IaC Memory MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "iac-memory-mcp-server-project-agentwong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-iac-memory-mcp-server-project-agentwong"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "iac-memory-mcp-server-project-agentwong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-iac-memory-mcp-server-project-agentwong"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "iac-memory-mcp-server-project-agentwong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-iac-memory-mcp-server-project-agentwong"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "iac-memory-mcp-server-project-agentwong": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-iac-memory-mcp-server-project-agentwong"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "iac-memory-mcp-server-project-agentwong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-iac-memory-mcp-server-project-agentwong"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "iac-memory-mcp-server-project-agentwong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-iac-memory-mcp-server-project-agentwong"
      ]
    }
  }
}

FAQ

What is the purpose of the IaC Memory MCP Server?

It aims to provide a memory context for IaC components, enhancing AI capabilities in managing infrastructure.

Is there a cost associated with using this project?

This project is a personal initiative and is not intended for commercial use.

Can I contribute to the project?

As of now, the project is not actively maintained, but contributions are welcome if development resumes.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":846,"uuid":"26acaf99-3c3e-45b5-88c7-0ebd3b45dda9","name":"iac-memory-mcp-server-project","title":"IaC Memory MCP Server","description":"This is a personal project to determine whether or not Claude 3.5 Sonnet can write moderately complex MCP Server code (Python).","avatar_url":"https://avatars.githubusercontent.com/u/43461848?v=4","created_at":"2025-01-28T02:14:18.373+00:00","updated_at":"2025-02-23T07:16:03.108+00:00","status":"created","author_name":"AgentWong","author_avatar_url":"https://avatars.githubusercontent.com/u/43461848?v=4","tags":"iac-memory,mcp-server,infrastructure-as-code","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/AgentWong/iac-memory-mcp-server-project","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]

IaC Memory MCP Server — MCP Registry