{
  "$schema": "https://modelcontextprotocol.io/schemas/server-card/v1.json",
  "name": "Lokii Games MCP Server",
  "version": "1.0.0",
  "description": "Model Context Protocol server for Lokii Games. Provides agent discovery, structured search, and direct play links for over 2,000 free HTML5 web games.",
  "homepage": "https://lokiigame.com",
  "endpoint": "https://lokiigame.com/api/mcp",
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "search_games",
      "description": "Search 2,000+ free online HTML5 games on Lokii Games by keyword, category, or title.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search keyword or game title (e.g. drift, moto, puzzle)"
          },
          "category": {
            "type": "string",
            "description": "Optional category filter (e.g. racing, arcade, action, puzzle, sports, 3d)"
          },
          "limit": {
            "type": "integer",
            "description": "Max results to return (default 10)",
            "default": 10
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "get_game_details",
      "description": "Retrieve complete game details, controls, and direct play URL by game slug or title.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Game slug (e.g. drift-hunters, moto-x3m) or exact title"
          }
        },
        "required": [
          "slug"
        ]
      }
    },
    {
      "name": "list_categories",
      "description": "List all game categories available on Lokii Games with page URLs.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
  ],
  "resources": [
    {
      "uri": "https://lokiigame.com/games.json",
      "name": "Full Games Catalogue",
      "mimeType": "application/json",
      "description": "Authoritative JSON catalogue of all 1,999 games on Lokii Games"
    },
    {
      "uri": "https://lokiigame.com/llms.txt",
      "name": "LLMs Site Summary",
      "mimeType": "text/markdown",
      "description": "Standard llms.txt site description and index"
    },
    {
      "uri": "https://lokiigame.com/sitemap.xml",
      "name": "XML Sitemap",
      "mimeType": "application/xml",
      "description": "Complete site map for all pages, categories, and games"
    }
  ],
  "contact": {
    "name": "Lokii Games Support",
    "email": "contact@lokiigame.com",
    "telephone": "+1-800-555-0199",
    "url": "https://lokiigame.com/contact.html"
  }
}
