Overview
The IaC Memory MCP Server is a Model Context Protocol (MCP) server designed to enhance 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 prompts and tools for managing IaC components. You can integrate it with Claude Desktop for enhanced functionality.
- 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
- Managing Terraform and Ansible resources with version control.
- Analyzing relationships between different IaC components.
- Providing a structured approach to resource management in cloud environments.
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": {
"agentwong-iac-memory-mcp-server-project-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-agentwong-iac-memory-mcp-server-project-mcp-mirror"
]
}
}
}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": {
"agentwong-iac-memory-mcp-server-project-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-agentwong-iac-memory-mcp-server-project-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"agentwong-iac-memory-mcp-server-project-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-agentwong-iac-memory-mcp-server-project-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"agentwong-iac-memory-mcp-server-project-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-agentwong-iac-memory-mcp-server-project-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"agentwong-iac-memory-mcp-server-project-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-agentwong-iac-memory-mcp-server-project-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"agentwong-iac-memory-mcp-server-project-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-agentwong-iac-memory-mcp-server-project-mcp-mirror"
]
}
}
}FAQ
Can the IaC Memory MCP Server manage all types of IaC components?
Yes! It supports Terraform and Ansible resources.
Is there a cost associated with using the IaC Memory MCP Server?
The project was initially personal and is not intended for further development, but it is available for use.
How can I contribute to the IaC Memory MCP Server?
Contributions can be made through the GitHub repository.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1384,"uuid":"a1995fe1-7f39-47c2-af5e-92c95bf2efb1","name":"AgentWong_iac-memory-mcp-server-project","title":"IaC Memory MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"$D2025-02-20T15:33:46.756Z","updated_at":"$D2025-02-23T07:20:27.949Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"iac,memory,mcp,server,terraform,ansible","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/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"}]]}]