Skip to main content
Glama
AgentWong

IAC Memory MCP Server

by AgentWong

list_terraform_providers

Retrieve cached Terraform providers with metadata to manage Infrastructure-as-Code resources. Filter results using name patterns for targeted access.

Instructions

List all cached Terraform providers with basic metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filter_criteriaNoOptional filtering criteria

Implementation Reference

  • Schema definition for the list_terraform_providers tool, specifying input parameters including optional filter_criteria with name_pattern for provider names.
    "list_terraform_providers": {
        "type": "object",
        "description": "List all cached Terraform providers with basic metadata",
        "required": [],
        "properties": {
            "filter_criteria": {
                "type": "object",
                "description": "Optional filtering criteria",
                "properties": {
                    "name_pattern": {
                        "type": "string",
                        "description": "Regex pattern to filter provider names",
                    }
                },
            }
        },
    },
  • Registration of the list_tools handler which includes 'list_terraform_providers' via TOOL_SCHEMAS from db/tools.py.
    @server.call_tool()
    async def call_tool(
        name: str, arguments: Dict[str, Any], ctx: RequestContext | None = None
    ):
        return await handle_call_tool(name, arguments, ctx)
    
    @server.list_tools()
    async def list_tools(ctx: RequestContext = None):
        return await handle_list_tools(ctx)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AgentWong/iac-memory-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server