LALIGA Fantasy MCP
v0.1.8Servidor MCP (stdio) para consultar y operar una liga de LALIGA Fantasy
Values you need
| Variable | What it is | |
|---|---|---|
FANTASY_TOKENS_PATH | optional | Ruta del archivo de tokens (acepta $HOME, ${HOME} o ~ como prefijo) |
FANTASY_ACCESS_TOKEN | optional secret | Bearer ya obtenido; sustituye el flujo interactivo de login |
FANTASY_ENABLE_WRITES | optional | Habilita las herramientas que operan en el juego (por defecto false) |
FANTASY_COMPETITION_ID | optional | 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.7Add 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
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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