Skip to content
VS Code

LALIGA Fantasy MCP for VS Code

io.github.odoral/laliga-fantasy-mcp

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

client:VS Code transport:stdio runtime:npm

Install LALIGA Fantasy MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "fantasy-tokens-path",
      "description": "FANTASY_TOKENS_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fantasy-access-token",
      "description": "FANTASY_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fantasy-enable-writes",
      "description": "FANTASY_ENABLE_WRITES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fantasy-competition-id",
      "description": "FANTASY_COMPETITION_ID",
      "password": true
    }
  ],
  "servers": {
    "laliga-fantasy-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "laliga-fantasy-mcp"
      ],
      "env": {
        "FANTASY_TOKENS_PATH": "${input:fantasy-tokens-path}",
        "FANTASY_ACCESS_TOKEN": "${input:fantasy-access-token}",
        "FANTASY_ENABLE_WRITES": "${input:fantasy-enable-writes}",
        "FANTASY_COMPETITION_ID": "${input:fantasy-competition-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

LALIGA Fantasy MCP in other clients