LALIGA Fantasy MCP

v0.1.8
io.github.odoral/laliga-fantasy-mcp Checked 2 days ago Published 2 days ago

Servidor MCP (stdio) para consultar y operar una liga de LALIGA Fantasy

Values you need

VariableWhat it is
FANTASY_TOKENS_PATHoptional Ruta del archivo de tokens (acepta $HOME, ${HOME} o ~ como prefijo)
FANTASY_ACCESS_TOKENoptional secret Bearer ya obtenido; sustituye el flujo interactivo de login
FANTASY_ENABLE_WRITESoptional Habilita las herramientas que operan en el juego (por defecto false)
FANTASY_COMPETITION_IDoptional ID de competición (1 = Primera División)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add laliga-fantasy-mcp -- npx -y laliga-fantasy-mcp@0.1.7
Add to claude_desktop_config.json
{
  "mcpServers": {
    "laliga-fantasy-mcp": {
      "args": [
        "-y",
        "laliga-fantasy-mcp@0.1.7"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "laliga-fantasy-mcp": {
      "args": [
        "-y",
        "laliga-fantasy-mcp@0.1.7"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "laliga-fantasy-mcp": {
      "args": [
        "-y",
        "laliga-fantasy-mcp@0.1.7"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.laliga-fantasy-mcp]
command = "npx"
args = ["-y", "laliga-fantasy-mcp@0.1.7"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: fantasy_auth_status, fantasy_login_start, fantasy_login_complete, fantasy_logout, fantasy_me, fantasy_leagues, fantasy_teams_master, fantasy_league_teams, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json