{
  "$schema": "https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json",
  "version": "1.0",
  "protocolVersion": "2025-06-18",
  "serverInfo": {
    "name": "magictiles-games",
    "title": "MagicTiles.org Games MCP",
    "version": "0.1.0"
  },
  "description": "Read-only MCP server for the MagicTiles.org public games catalog and browser navigation helpers.",
  "documentationUrl": "https://magictiles.org/docs/api#mcp",
  "transport": {
    "type": "streamable-http",
    "endpoint": "/mcp"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    }
  },
  "authentication": {
    "required": false,
    "schemes": []
  },
  "tools": [
    {
      "name": "search_games",
      "title": "Search games",
      "description": "Search the MagicTiles.org game catalog by keyword.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Keyword to match against game titles, categories, and content."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20,
            "description": "Maximum number of results to return."
          }
        },
        "required": [
          "query"
        ]
      },
      "annotations": {
        "readOnlyHint": true
      }
    },
    {
      "name": "get_game_details",
      "title": "Get game details",
      "description": "Fetch one detailed game record by slug.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Game slug such as \"magic-tiles-3\"."
          }
        },
        "required": [
          "slug"
        ]
      },
      "annotations": {
        "readOnlyHint": true
      }
    },
    {
      "name": "list_categories",
      "title": "List categories",
      "description": "Summarize the game categories available in the public catalog.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "readOnlyHint": true
      }
    }
  ]
}
