The Blue Alliance
v1.4.0The Blue Alliance MCP Server
Values you need
| Variable | What it is | |
|---|---|---|
TBA_API_KEY | required 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-tbaAdd 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
- Ask the user for: TBA_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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: get_team, get_team_events, get_team_awards, get_team_matches, get_events, get_event, get_event_teams, get_event_rankings, ….
- 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