The Blue Alliance

v1.4.0
io.github.withinfocus/tba Checked 2 days ago Published 3 months ago

The Blue Alliance MCP Server

Values you need

VariableWhat it is
TBA_API_KEYrequired secret The Blue Alliance API key

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add tba -e 'TBA_API_KEY=<TBA_API_KEY>' -- npx -y --package=@withinfocus/tba-mcp-server@1.4.0 mcp-server-tba
Add to claude_desktop_config.json
{
  "mcpServers": {
    "tba": {
      "args": [
        "-y",
        "--package=@withinfocus/tba-mcp-server@1.4.0",
        "mcp-server-tba"
      ],
      "command": "npx",
      "env": {
        "TBA_API_KEY": "<TBA_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "tba": {
      "args": [
        "-y",
        "--package=@withinfocus/tba-mcp-server@1.4.0",
        "mcp-server-tba"
      ],
      "command": "npx",
      "env": {
        "TBA_API_KEY": "<TBA_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "TBA_API_KEY",
      "id": "tba-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "tba": {
      "args": [
        "-y",
        "--package=@withinfocus/tba-mcp-server@1.4.0",
        "mcp-server-tba"
      ],
      "command": "npx",
      "env": {
        "TBA_API_KEY": "${input:tba-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.tba]
command = "npx"
args = ["-y", "--package=@withinfocus/tba-mcp-server@1.4.0", "mcp-server-tba"]
env = { "TBA_API_KEY" = "<TBA_API_KEY>" }

For AI agents

  1. Ask the user for: TBA_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_team, get_team_events, get_team_awards, get_team_matches, get_events, get_event, get_event_teams, get_event_rankings, ….
  5. 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