使用说明
博彩破坏者mcp服务器
MCP工具服务器将BookieBreaker功能作为Claude工具公开。一个无状态的REST到MCP桥 代理、线路服务、统计服务、模拟引擎、预测引擎和博彩模拟器。
有关将此服务器连接到Claude(第7节)和MCP工具覆盖范围的限制(第4节),请参阅操作员操作手册 01安装 和 04道具与现场表演.
工具
get_edges, get_edge_detail, get_slate, get_prediction, get_lines, place_bet, get_bet_history,
get_performance, ask_analyst, run_pipeline, get_pipeline_status, get_health, get_team_stats,
get_player_stats, get_simulation
资源: bookiebreaker://edges/current, bookiebreaker://performance/summary, bookiebreaker://games/today
运输
- 标准 (默认)--用于克劳德桌面/Claude代码
- 可流式传输的HTTP —
MCP_TRANSPORT=http,服务/mcp端口8007(用于Docker Compose;/health提供容器健康检查)。MCP规范已弃用传统SSE,并且未进行有线连接。
快速入门
使用Docker Compose(推荐)
task up # from BookieBreaker/ root; serves streamable HTTP on :8007
独立
cp .env.example .env # fill in values
task bootstrap
task dev # streamable HTTP with hot reload
task dev:stdio # stdio transport
克劳德桌面/克劳德代码
{
"mcpServers": {
"bookiebreaker": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/bookie-breaker-mcp-server",
"python",
"-m",
"mcp_server"
],
"env": {
"AGENT_URL": "http://localhost:8006",
"LINES_SERVICE_URL": "http://localhost:8001",
"STATISTICS_SERVICE_URL": "http://localhost:8002",
"SIMULATION_ENGINE_URL": "http://localhost:8003",
"PREDICTION_ENGINE_URL": "http://localhost:8004",
"BOOKIE_EMULATOR_URL": "http://localhost:8005"
}
}
}
}
或者对组合堆栈进行可流式传输的HTTP: claude mcp add --transport http bookiebreaker http://localhost:8007/mcp
架构决策
环境变量
看 .env.example 对于所有带有描述的变量。