IaC Memory MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_DEBUGNoEnable debug logging when set.
DATABASE_URLNoSQLite database location.
MCP_TEST_MODENoEnable test mode for database resets.

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
search_resourcesSearch for IaC resources
analyze_entityAnalyze an entity and its relationships
terraform_providerGet information about a Terraform provider
ansible_moduleGet information about an Ansible module

Resources

Contextual data attached and managed by the client

NameDescription
Terraform ProviderAccess Terraform provider information and resources
Terraform ResourceAccess specific Terraform resource type information
Ansible CollectionAccess Ansible collection information and modules
Ansible ModuleAccess specific Ansible module information
EntityAccess entity information including observations and relationships
Entity RelationshipsAccess entity relationship information

Tools

Functions exposed to the LLM to take actions

NameDescription
get_terraform_provider_info

Retrieve comprehensive information about a Terraform provider

list_terraform_providers

List all cached Terraform providers with basic metadata

get_provider_version_history

Retrieve version history for a specific Terraform provider

get_terraform_resource_info

Retrieve comprehensive information about a Terraform resource including schema and documentation

list_provider_resources

List all resources associated with a specific Terraform provider

get_ansible_collection_info

Retrieve comprehensive information about an Ansible collection

list_ansible_collections

List all cached Ansible collections with basic metadata

get_collection_version_history

Retrieve version history for a specific Ansible collection

get_ansible_module_info

Retrieve comprehensive information about an Ansible module including schema and documentation

get_resource_version_compatibility

Check resource compatibility across provider versions

add_terraform_provider

Add a new Terraform provider to the memory store with version and documentation information

update_provider_version

Update an existing Terraform provider's version information and documentation links

add_terraform_resource

Add a new Terraform resource definition with its schema and version information

update_resource_schema

Update an existing Terraform resource's schema and related information

add_ansible_collection

Add a new Ansible collection to the memory store with version and documentation information

update_collection_version

Update an existing Ansible collection's version information and documentation links

add_ansible_module

Add a new Ansible module definition with its schema and version information

update_module_version

Update an existing Ansible module's schema and related information

get_module_version_compatibility

Check module compatibility across collection versions

create_entity

Create a new entity in the knowledge graph with optional initial observations

update_entity

Update an existing entity's properties and add new observations

delete_entity

Remove an entity and its relationships from the knowledge graph

view_relationships

Retrieve all relationships and observations for a specific entity