@davincibets/mcp-server 1.3.1 → 1.4.0
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/README.md +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -8
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Your key looks like: `dvb_live_a3f2...` — copy it immediately (shown once).
|
|
|
16
16
|
|
|
17
17
|
#### Claude Desktop
|
|
18
18
|
|
|
19
|
-
Edit `~/.config/Claude/claude_desktop_config.json` (
|
|
19
|
+
Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `~/.config/Claude/claude_desktop_config.json` (Linux) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
|
|
20
20
|
|
|
21
21
|
```json
|
|
22
22
|
{
|
|
@@ -193,7 +193,7 @@ Get verified win rates, ROI, and historical performance from settled predictions
|
|
|
193
193
|
|
|
194
194
|
| Tier | Per Hour | Per Day | Who |
|
|
195
195
|
|------|----------|---------|-----|
|
|
196
|
-
| Personal |
|
|
196
|
+
| Personal | 100 | 500 | $14.99/mo subscribers |
|
|
197
197
|
| Partner | 500 | 10,000 | Marketing agencies (DVB-Social) |
|
|
198
198
|
| Internal | Unlimited | Unlimited | Da Vinci Bets systems |
|
|
199
199
|
|
|
@@ -224,7 +224,7 @@ Contact support@davincibets.io for partner API key provisioning.
|
|
|
224
224
|
## Requirements
|
|
225
225
|
|
|
226
226
|
- Node.js 18+
|
|
227
|
-
- A Da Vinci Bets premium subscription ($
|
|
227
|
+
- A Da Vinci Bets premium subscription ($14.99/mo)
|
|
228
228
|
- An API key from Settings → API tab
|
|
229
229
|
|
|
230
230
|
## Development
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* Da Vinci Bets MCP Server v1.3.
|
|
3
|
+
* Da Vinci Bets MCP Server v1.3.2
|
|
4
4
|
*
|
|
5
5
|
* Gives any AI assistant (Claude, Cursor, Windsurf, etc.) native access
|
|
6
6
|
* to Da Vinci Bets predictions via the user's personal API key.
|
|
@@ -1122,7 +1122,7 @@ async function apiFetch(opts) {
|
|
|
1122
1122
|
Authorization: `Bearer ${API_KEY}`,
|
|
1123
1123
|
Accept: opts.raw ? "image/png" : "application/json",
|
|
1124
1124
|
},
|
|
1125
|
-
signal: AbortSignal.timeout(opts.raw ?
|
|
1125
|
+
signal: AbortSignal.timeout(opts.raw ? 50_000 : 15_000),
|
|
1126
1126
|
});
|
|
1127
1127
|
}
|
|
1128
1128
|
catch {
|
|
@@ -1196,7 +1196,7 @@ function formatRateLimit(rl) {
|
|
|
1196
1196
|
// ─── Server Setup ───────────────────────────────────────────────────────────
|
|
1197
1197
|
const server = new McpServer({
|
|
1198
1198
|
name: "Da Vinci Bets",
|
|
1199
|
-
version: "1.
|
|
1199
|
+
version: "1.4.0", // 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. " +
|
|
@@ -1759,8 +1759,10 @@ server.tool("get_batch_cards", "Render multiple pick cards and return permanent
|
|
|
1759
1759
|
}
|
|
1760
1760
|
});
|
|
1761
1761
|
// ─── Tool: get_performance ──────────────────────────────────────────────────
|
|
1762
|
-
server.tool("get_performance", "Get a snapshot of current active predictions across sports
|
|
1763
|
-
"Shows prediction counts, confidence distribution, and available coverage."
|
|
1762
|
+
server.tool("get_performance", "Get a snapshot of current active predictions across sports. " +
|
|
1763
|
+
"Shows prediction counts, confidence distribution, and available coverage. " +
|
|
1764
|
+
"Note: when market is omitted the underlying API defaults to moneyline — " +
|
|
1765
|
+
"pass market explicitly for spread/totals snapshots.", {
|
|
1764
1766
|
sport: z
|
|
1765
1767
|
.enum(["NBA", "NFL", "NHL", "MLB"])
|
|
1766
1768
|
.optional()
|
|
@@ -1827,9 +1829,9 @@ server.tool("get_track_record", "Get verified win rates, ROI, and historical per
|
|
|
1827
1829
|
"Includes current streak and recent settled picks. " +
|
|
1828
1830
|
"Public endpoint — does not count against your API rate limit.", {
|
|
1829
1831
|
sport: z
|
|
1830
|
-
.enum(["NBA", "NFL", "NHL", "MLB"])
|
|
1832
|
+
.enum(["NBA", "NFL", "NHL", "MLB", "TENNIS", "TENNIS_ATP", "TENNIS_WTA"])
|
|
1831
1833
|
.optional()
|
|
1832
|
-
.describe("Filter to a specific sport. Omit for all."),
|
|
1834
|
+
.describe("Filter to a specific sport. Omit for all. TENNIS collapses both tours."),
|
|
1833
1835
|
days: z
|
|
1834
1836
|
.number()
|
|
1835
1837
|
.int()
|
|
@@ -1972,7 +1974,7 @@ function errorResult(err) {
|
|
|
1972
1974
|
async function main() {
|
|
1973
1975
|
const transport = new StdioServerTransport();
|
|
1974
1976
|
await server.connect(transport);
|
|
1975
|
-
console.error("Da Vinci Bets MCP Server v1.3.
|
|
1977
|
+
console.error("Da Vinci Bets MCP Server v1.3.2 — connected via stdio");
|
|
1976
1978
|
console.error(`API: ${API_BASE}`);
|
|
1977
1979
|
console.error(`Key: dvb_live_***`);
|
|
1978
1980
|
console.error(`Teams: ${TEAMS.length} teams loaded across 4 sports`);
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@davincibets/mcp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"mcpName": "io.github.DaVinciPicks/davincibets-mcp",
|
|
4
5
|
"description": "MCP server for Da Vinci Bets — AI sports predictions in your AI assistant",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "dist/index.js",
|
|
7
8
|
"bin": {
|
|
8
|
-
"davincibets-mcp": "
|
|
9
|
+
"davincibets-mcp": "dist/index.js"
|
|
9
10
|
},
|
|
10
11
|
"files": [
|
|
11
12
|
"dist",
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
"license": "MIT",
|
|
31
32
|
"repository": {
|
|
32
33
|
"type": "git",
|
|
33
|
-
"url": "https://github.com/DaVinciPicks/davincibets-mcp"
|
|
34
|
+
"url": "git+https://github.com/DaVinciPicks/davincibets-mcp.git"
|
|
34
35
|
},
|
|
35
36
|
"engines": {
|
|
36
37
|
"node": ">=18.0.0"
|