{
  "schemaVersion": "1.0",
  "serverInfo": {
    "name": "MovieFarming MCP Server",
    "version": "1.0.0",
    "description": "Model Context Protocol (MCP) server providing real-time movie search, streaming provider availability, 4K player links, and AI recommendations."
  },
  "transport": {
    "type": "sse",
    "url": "https://www.moviefarming.com/api/mcp/sse"
  },
  "capabilities": {
    "tools": {
      "listChanged": true
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "search_movies",
      "description": "Search for movies and TV shows across global streaming providers by title, genre, year, or actor",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search terms"
          },
          "type": {
            "type": "string",
            "enum": [
              "all",
              "movie",
              "tv"
            ],
            "default": "all"
          },
          "year": {
            "type": "string",
            "description": "Release year"
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "get_streaming_availability",
      "description": "Find where to stream, rent, or buy any movie or TV series globally",
      "inputSchema": {
        "type": "object",
        "properties": {
          "tmdbId": {
            "type": "string",
            "description": "TMDB media ID"
          },
          "type": {
            "type": "string",
            "enum": [
              "movie",
              "tv"
            ],
            "default": "movie"
          },
          "country": {
            "type": "string",
            "default": "US"
          }
        },
        "required": [
          "tmdbId"
        ]
      }
    },
    {
      "name": "get_movie_details",
      "description": "Get deep movie metadata including rating, cast, runtime, release date, and official trailers",
      "inputSchema": {
        "type": "object",
        "properties": {
          "tmdbId": {
            "type": "string",
            "description": "TMDB media ID"
          },
          "type": {
            "type": "string",
            "enum": [
              "movie",
              "tv"
            ],
            "default": "movie"
          }
        },
        "required": [
          "tmdbId"
        ]
      }
    }
  ]
}