Model Context Protocol

Serveur MCP Footalytics

Les mêmes pronostics foot IA que le site, via le Model Context Protocol : nommez un match et le serveur renvoie les probabilités victoire/nul/défaite, la confiance, plus/moins 2.5 et les deux équipes marquent — chaque appel est noté publiquement sur le tableau de précision.

Présentation

Un serveur MCP sur mesure en HTTP streamable : JSON-RPC 2.0 (initialize, tools/list, tools/call), sans état de session, sans SSE. La découverte est ouverte — initialize et tools/list sont des métadonnées publiques du catalogue ; les appels d'outils s'authentifient avec un jeton Bearer (une clé API Footalytics fxk_… ou un jeton d'accès OAuth fxt_…, le même modèle de compte que l'API REST). Les appels de pronostic réussis facturent 1 crédit, comme le point de terminaison REST.

Outils

OutilFonction
get_match_predictionAI football prediction: combines the algorithm with live data, analyses the match in depth, and predicts the score. Returns win/draw/loss probabilities, confidence, Over/Under 2.5 and Both-Teams-To-Score. Keep those numbers in the answer. Team names must be English (Arsenal, not 阿森纳). Uses 1 credit per successful call. Identify the match with fixture=<id> OR home+away (date optional, UTC).
get_account_creditsRemaining Footalytics credits on the connected account. Call this before a prediction when the user asks about their quota, or when a prediction call failed with insufficient_credits.
list_fixturesUpcoming football fixtures with fixture ids and a has_prediction flag (1 credit per successful call). Use it to discover matches, then call get_match_prediction with the fixture id or English team names.
get_teamTeam profile from the Footalytics ratings table: current rating, games tracked and league (1 credit per successful call).
list_resultsSettled official predictions with the real score and the grade — hit/miss per market and Brier score; the public accuracy record (1 credit per successful call).

Comment se connecter

Pointez tout client MCP vers le point de terminaison HTTP streamable ci-dessous et authentifiez-vous avec votre clé API :

{
  "mcpServers": {
    "footalytics": {
      "type": "http",
      "url": "https://footalytics.farvor.com/mcp",
      "headers": { "Authorization": "Bearer fxk_YOUR_API_KEY" }
    }
  }
}

Obtenez une clé sur la page des clés API — les nouveaux comptes commencent avec 5 appels gratuits. Les clients OAuth utilisent les documents de découverte standard sous /.well-known/.