@davincibets/mcp-server 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1196,12 +1196,20 @@ function formatRateLimit(rl) {
|
|
|
1196
1196
|
// ─── Server Setup ───────────────────────────────────────────────────────────
|
|
1197
1197
|
const server = new McpServer({
|
|
1198
1198
|
name: "Da Vinci Bets",
|
|
1199
|
-
version: "1.4.
|
|
1199
|
+
version: "1.4.1", // keep in sync with package.json
|
|
1200
1200
|
});
|
|
1201
1201
|
// ─── Tool: get_predictions ──────────────────────────────────────────────────
|
|
1202
1202
|
server.tool("get_predictions", "Fetch AI-powered sports predictions filtered by sport, market, team, and confidence. " +
|
|
1203
1203
|
"Returns predictions with win probabilities, odds, edge values, confidence tiers, and game IDs. " +
|
|
1204
|
-
|
|
1204
|
+
// Markets are named generically on purpose. This string is baked into a
|
|
1205
|
+
// PUBLISHED npm package, so it cannot track the live suppression state the
|
|
1206
|
+
// way the web copy now does (lib/constants/suppressed-markets.ts): a paused
|
|
1207
|
+
// market would leave a stale claim in every installed copy until the next
|
|
1208
|
+
// release. The API itself already returns only what we publish, so naming
|
|
1209
|
+
// no specific market is both accurate and stable. All four spread cells
|
|
1210
|
+
// have been paused since June 2026.
|
|
1211
|
+
"Covers NBA, NFL, NHL, and MLB. The markets returned are whichever we are " +
|
|
1212
|
+
"currently publishing; the response reflects live coverage. " +
|
|
1205
1213
|
"Use the team parameter to find predictions for a specific team (e.g., 'Lakers', 'NYY', 'Chiefs'). " +
|
|
1206
1214
|
"Game IDs from results can be used with get_pick_card to render shareable images.", {
|
|
1207
1215
|
sport: z
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@davincibets/mcp-server",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"mcpName": "io.github.DaVinciPicks/davincibets-mcp",
|
|
5
5
|
"description": "MCP server for Da Vinci Bets — AI sports predictions in your AI assistant",
|
|
6
6
|
"type": "module",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "tsc",
|
|
18
18
|
"dev": "tsx src/index.ts",
|
|
19
|
-
"prepublishOnly": "npm run build"
|
|
19
|
+
"prepublishOnly": "bash scripts/check-version-sync.sh && npm run build"
|
|
20
20
|
},
|
|
21
21
|
"keywords": [
|
|
22
22
|
"mcp",
|