MCP.so
Sign In

Overview

What is IaC Memory MCP Server?

IaC Memory MCP Server is a Model Context Protocol (MCP) server that provides persistent memory storage, version tracking, and relationship mapping for Infrastructure-as-Code (IaC) components, specifically for Terraform and Ansible resources. It is designed to enhance Claude AI’s ability to maintain accurate, version-aware context for IaC resources.

How to use IaC Memory MCP Server?

Configure via Claude Desktop’s mcpServers using uv run (development) or uvx from the Git repository (production). Set the DATABASE_URL environment variable to the SQLite database path. Once connected, use the server’s prompts and tools (e.g., search_resources, analyze_entity, get_terraform_provider_info, add_ansible_collection) via the MCP protocol.

Key features of IaC Memory MCP Server

  • Persistent storage and version tracking for IaC components
  • Hierarchical resource organization with URI-based access
  • Comprehensive relationship mapping between components
  • Version-specific documentation management
  • Schema validation and temporal metadata tracking
  • Automated relationship analysis and insights

Use cases of IaC Memory MCP Server

  • Searching and retrieving Terraform provider or resource information
  • Analyzing an infrastructure entity and its dependencies
  • Registering and updating Ansible collections with version history
  • Managing and querying resource relationships for impact analysis

FAQ from IaC Memory MCP Server

What platforms does IaC Memory MCP Server support?

It supports Terraform, Ansible, and a general “iac” category for infrastructure entities, using URIs like resources://terraform/providers/aws or resources://ansible/collections/community.aws.

How do I integrate IaC Memory MCP Server with Claude Desktop?

Add an entry to mcpServers in Claude Desktop’s configuration. For development use uv run, for production use uvx from the Git repository, and set the DATABASE_URL environment variable.

What environment variables does IaC Memory MCP Server require?

DATABASE_URL (SQLite database location) is required. Optional variables: MCP_DEBUG (enable debug logging) and MCP_TEST_MODE (enable test mode for database resets).

Is IaC Memory MCP Server still maintained?

The author notes that due to cost prohibitive reasons, they do not intend to develop or maintain this project further.

Where does data for IaC Memory MCP Server live?

All data is stored in a SQLite database, whose path is specified by the DATABASE_URL environment variable.

Tags

More from Memory & Knowledge