{
  "$schema": "https://modelcontextprotocol.io/schema/server-card.json",
  "name": "Amal Alexander MCP Server",
  "description": "Model Context Protocol (MCP) server exposing search data, site audits, and crawler execution tools.",
  "version": "1.0.0",
  "transports": [
    {
      "type": "sse",
      "endpoint": "https://amal-alexander.in/api/mcp/sse"
    },
    {
      "type": "stdio",
      "package": "@amal-alexander/mcp"
    }
  ],
  "capabilities": {
    "tools": true,
    "resources": true,
    "prompts": true
  },
  "tools": [
    {
      "name": "crawl_website",
      "description": "Crawl target web pages and audit HTTP status, meta tags, and internal link structure",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": { "type": "string" }
        },
        "required": ["url"]
      }
    },
    {
      "name": "serp_query",
      "description": "Extract real-time Google search rankings and featured snippets",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": { "type": "string" },
          "country": { "type": "string", "default": "us" }
        },
        "required": ["query"]
      }
    },
    {
      "name": "extract_markdown",
      "description": "Convert HTML page to clean Markdown text for LLMs",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": { "type": "string" }
        },
        "required": ["url"]
      }
    }
  ]
}
