{
  "$schema": "https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json",
  "version": "1.0",
  "protocolVersion": "2025-06-18",
  "serverInfo": {
    "name": "@aio-geo/mcp-server",
    "title": "AIO.GEO MCP Server",
    "version": "0.3.7"
  },
  "description": "AIO.GEO structural AI Search Readiness tools. Public audit needs no key. We do not sell LLM rankings.",
  "websiteUrl": "https://www.aiogeoprotocol.com",
  "repository": {
    "url": "https://github.com/DigitalCurrensy/aio-geo-protocol",
    "source": "github"
  },
  "transport": {
    "type": "streamable-http",
    "url": "https://www.aiogeoprotocol.com/mcp"
  },
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@aio-geo/mcp-server",
      "version": "0.3.7",
      "transport": { "type": "stdio" }
    }
  ],
  "authentication": { "required": false, "schemes": [] },
  "configSchema": {
    "type": "object",
    "required": [],
    "properties": {
      "AIO_API_KEY": {
        "type": "string",
        "title": "AIO.GEO API key",
        "description": "Optional operator key (ag_live_...). Public tools work without it.",
        "x-from": { "header": "x-aio-api-key" }
      }
    }
  },
  "resources": [],
  "prompts": [],
  "tools": [
    {
      "name": "audit_url",
      "title": "Audit URL",
      "description": "Run a structural AI Search Readiness audit for a public URL or domain. Returns pillar scores, recommendations, a brief link, and a CLI command. Not an LLM ranking. No API key required.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": { "type": "string", "description": "Public domain or https URL to inspect (for example example.com). Localhost is blocked." },
          "domain": { "type": "string", "description": "Alias of url. Use either url or domain, not both." }
        }
      },
      "outputSchema": {
        "type": "object",
        "required": ["ok", "domain", "overallScore"],
        "properties": {
          "ok": { "type": "boolean" },
          "domain": { "type": "string" },
          "overallScore": { "type": "number", "description": "Structural readiness 0-100. Not an LLM ranking." },
          "pillars": { "type": "array" },
          "recommendations": { "type": "array", "items": { "type": "string" } },
          "briefUrl": { "type": "string" }
        }
      },
      "annotations": {
        "title": "Audit URL",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "list_fixes",
      "title": "List fixes",
      "description": "Return a dry-run structural fix pack (robots, schema, anchors) for a public domain. No files are written. No API key required.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": { "type": "string", "description": "Public domain or https URL to inspect." },
          "domain": { "type": "string", "description": "Alias of url. Use either url or domain, not both." }
        }
      },
      "outputSchema": {
        "type": "object",
        "required": ["ok", "dryRun"],
        "properties": {
          "ok": { "type": "boolean" },
          "dryRun": { "type": "boolean" },
          "files": { "type": "array" }
        }
      },
      "annotations": {
        "title": "List fixes",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "apply_fix",
      "title": "Apply fix",
      "description": "Generate a structural fix pack for a public domain. Public calls stay dry-run (no writes). Set dryRun false only with an operator key.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": { "type": "string", "description": "Public domain or https URL to inspect." },
          "domain": { "type": "string", "description": "Alias of url. Use either url or domain, not both." },
          "dryRun": {
            "type": "boolean",
            "default": true,
            "description": "When true (default) only preview the pack. Writes stay off on the public endpoint."
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "required": ["ok", "dryRun"],
        "properties": {
          "ok": { "type": "boolean" },
          "dryRun": { "type": "boolean" },
          "files": { "type": "array" }
        }
      },
      "annotations": {
        "title": "Apply fix",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "rescore_url",
      "title": "Rescore URL",
      "description": "Run a fresh public structural audit (rescore) for a URL or domain. Same engine as audit_url. Not an LLM ranking. No API key required.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": { "type": "string", "description": "Public domain or https URL to inspect." },
          "domain": { "type": "string", "description": "Alias of url. Use either url or domain, not both." }
        }
      },
      "outputSchema": {
        "type": "object",
        "required": ["ok", "domain", "overallScore"],
        "properties": {
          "ok": { "type": "boolean" },
          "domain": { "type": "string" },
          "overallScore": { "type": "number" }
        }
      },
      "annotations": {
        "title": "Rescore URL",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "check_health",
      "title": "Check health",
      "description": "Return environment and API health. Never returns secrets. No API key required.",
      "inputSchema": { "type": "object", "properties": {} },
      "outputSchema": {
        "type": "object",
        "required": ["version", "api_key"],
        "properties": {
          "version": { "type": "string" },
          "api_key": { "type": "string", "description": "set or unset — never the raw secret" },
          "health": { "type": "object" }
        }
      },
      "annotations": {
        "title": "Check health",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "get_brief",
      "title": "Get brief",
      "description": "Return an executive structural brief for a domain: score, top gaps, and a shareable brief path. Not an LLM ranking. No API key required.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": { "type": "string", "description": "Public domain or https URL to inspect." },
          "domain": { "type": "string", "description": "Alias of url. Use either url or domain, not both." }
        }
      },
      "outputSchema": {
        "type": "object",
        "required": ["ok", "domain", "overallScore", "sharePath"],
        "properties": {
          "ok": { "type": "boolean" },
          "domain": { "type": "string" },
          "overallScore": { "type": "number" },
          "sharePath": { "type": "string" }
        }
      },
      "annotations": {
        "title": "Get brief",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    }
  ]
}
