Queries the College Football Data API for games, teams and stats.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add cfbd --env CFB_API_KEY='<CFB_API_KEY>' --env PATH='<PATH>' -- npx -y @smithery/cli install cfbd --client claude~/.codex/config.toml
[mcp_servers.cfbd]
command = "npx"
args = ["-y", "@smithery/cli", "install", "cfbd", "--client", "claude"]
env = { CFB_API_KEY = "<CFB_API_KEY>", PATH = "<PATH>" }
# codex mcp add cfbd --env CFB_API_KEY='<CFB_API_KEY>' --env PATH='<PATH>' -- npx -y @smithery/cli install cfbd --client claude~/.cursor/mcp.json
{
"mcpServers": {
"cfbd": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"cfbd",
"--client",
"claude"
],
"env": {
"CFB_API_KEY": "<CFB_API_KEY>",
"PATH": "<PATH>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"cfbd": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"cfbd",
"--client",
"claude"
],
"env": {
"CFB_API_KEY": "<CFB_API_KEY>",
"PATH": "<PATH>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"cfbd": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"cfbd",
"--client",
"claude"
],
"env": {
"CFB_API_KEY": "<CFB_API_KEY>",
"PATH": "<PATH>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"cfbd": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"cfbd",
"--client",
"claude"
],
"env": {
"CFB_API_KEY": "<CFB_API_KEY>",
"PATH": "<PATH>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"cfbd": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"cfbd",
"--client",
"claude"
],
"env": {
"CFB_API_KEY": "<CFB_API_KEY>",
"PATH": "<PATH>"
}
}
}
}需要的环境变量
CFB_API_KEYPATH
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。