{
  "$schema": "https://raw.githubusercontent.com/modelcontextprotocol/specification/main/schema/server-card.json",
  "name": "Flash Radio MCP Server",
  "description": "Flash Radio official MCP Server providing live radio streams, station search, and news articles for AI agents.",
  "version": "1.0.0",
  "homepage": "https://flashradio.live",
  "endpoint": "https://flashradio.live/api/mcp",
  "transport": "http",
  "capabilities": {
    "tools": true,
    "resources": true,
    "prompts": false
  },
  "tools": [
    {
      "name": "search_stations",
      "description": "Search radio stations by name, country or genre",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": { "type": "string", "description": "Search keyword (e.g. Mosaique, Skyrock, Jazz)" },
          "country": { "type": "string", "description": "Country code (e.g. tn, fr, dz, ma)" }
        }
      }
    },
    {
      "name": "get_station_stream",
      "description": "Get stream URL and metadata for a specific station slug",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": { "type": "string", "description": "Station slug (e.g. mosaiquefm, skyrock, ifm)" }
        },
        "required": ["slug"]
      }
    },
    {
      "name": "get_latest_news",
      "description": "Get latest news articles and headlines from Flash Radio",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": { "type": "number", "description": "Number of articles to retrieve" }
        }
      }
    }
  ]
}
