{
  "name": "ECA Guide",
  "description": "Documentation and authoring server for Drupal's ECA (Events-Conditions-Actions) module.",
  "version": "1.0.0",
  "websiteUrl": "https://ecaguide.org/",
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://ecaguide.org/mcp"
    }
  ],
  "tools": [
    {
      "name": "search_docs",
      "description": "Search the ECA documentation prose.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          },
          "top_k": {
            "type": "integer"
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "get_page",
      "description": "Read a specific documentation page by path.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path"
        ]
      }
    },
    {
      "name": "list_sections",
      "description": "List the top-level documentation sections and their pages.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "get_plugin_schema",
      "description": "Get the complete authoring contract for one ECA plugin.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "plugin_id": {
            "type": "string"
          },
          "plugin_type": {
            "type": "string"
          }
        },
        "required": [
          "plugin_id"
        ]
      }
    },
    {
      "name": "search_plugins",
      "description": "Find ECA plugin IDs by purpose.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          },
          "plugin_type": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "top_k": {
            "type": "integer"
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "get_model_examples",
      "description": "Show real, working ECA model examples.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "plugin_id": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "limit": {
            "type": "integer"
          }
        }
      }
    },
    {
      "name": "validate_model",
      "description": "Statically validate an `eca.eca.*.yml` ECA model before importing it.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "model_yaml": {
            "type": "string"
          }
        },
        "required": [
          "model_yaml"
        ]
      }
    }
  ]
}
