propline-mcp 0.55.0 → 0.57.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 +2 -1
- package/dist/http.js +70 -1
- package/dist/http.js.map +1 -1
- package/dist/index.js +70 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,13 +63,14 @@ The model uses these tools transparently:
|
|
|
63
63
|
| `propline_get_event_ev` | Pro: cross-book +EV with no-vig fair lines (`devig`: multiplicative or shin; `fair_source`: pick the anchor book(s), tried in order) |
|
|
64
64
|
| `propline_get_event_projections` | Hobby+: market-implied consensus projection per (market, player) |
|
|
65
65
|
| `propline_get_best_line` | Hobby+: cross-book line shopping — best price per (market, player, line) across all comparable books, `all_prices` sorted best-first; optional `bookmakers` filter |
|
|
66
|
+
| `propline_get_parlay_link` | One bet-slip link with several legs at DraftKings, FanDuel or Fanatics, from PropLine outcome ids (the book may still refuse the combination) |
|
|
66
67
|
| `propline_list_webhooks` | Streaming Lite+: list webhook subscriptions (read-only, secrets masked) |
|
|
67
68
|
| `propline_get_webhook_deliveries` | Streaming Lite+: recent delivery attempts for a webhook — status, HTTP code, attempts, payload; `before_id` pages backwards. The "why isn't my webhook firing" tool |
|
|
68
69
|
| `propline_create_free_api_key` | Sign the user up for a free personal key from inside the chat. Takes the email **the user gives**; the key is emailed to them (never returned), with a ready-made connector URL to reconnect. The only tool that is not read-only |
|
|
69
70
|
|
|
70
71
|
## Hosted endpoint (no install)
|
|
71
72
|
|
|
72
|
-
The same
|
|
73
|
+
The same 42 tools are served over **Streamable HTTP** at
|
|
73
74
|
|
|
74
75
|
```
|
|
75
76
|
https://mcp.prop-line.com/mcp
|
package/dist/http.js
CHANGED
|
@@ -161,6 +161,21 @@ var PropLineClient = class {
|
|
|
161
161
|
}
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
|
+
/** Order-book depth history for the exchanges. Hobby+. */
|
|
165
|
+
getDepthHistory(sportKey, eventId, opts = {}) {
|
|
166
|
+
return this.request(
|
|
167
|
+
`/v1/sports/${sportKey}/events/${eventId}/odds/depth/history`,
|
|
168
|
+
{
|
|
169
|
+
markets: opts.markets,
|
|
170
|
+
bookmakers: opts.bookmakers,
|
|
171
|
+
from: opts.from,
|
|
172
|
+
to: opts.to,
|
|
173
|
+
interval: opts.interval,
|
|
174
|
+
period: opts.period,
|
|
175
|
+
limit: opts.limit === void 0 ? void 0 : String(opts.limit)
|
|
176
|
+
}
|
|
177
|
+
);
|
|
178
|
+
}
|
|
164
179
|
/**
|
|
165
180
|
* Grade placed bets against their closing lines (CLV). Hobby+.
|
|
166
181
|
* See the propline_grade_clv tool description for the semantics that
|
|
@@ -389,6 +404,9 @@ var PropLineClient = class {
|
|
|
389
404
|
includeLinks: opts.includeLinks ? "true" : void 0
|
|
390
405
|
});
|
|
391
406
|
}
|
|
407
|
+
getParlayLink(outcomeIds) {
|
|
408
|
+
return this.request("/v1/bet-links/parlay", { outcome_ids: outcomeIds });
|
|
409
|
+
}
|
|
392
410
|
// ----- Webhooks (READ-ONLY on purpose) -----
|
|
393
411
|
// Create is excluded because it returns the HMAC signing secret exactly
|
|
394
412
|
// once — through MCP that lands in a model context window and whatever
|
|
@@ -413,7 +431,7 @@ var PropLineClient = class {
|
|
|
413
431
|
};
|
|
414
432
|
|
|
415
433
|
// src/server.ts
|
|
416
|
-
var VERSION = "0.
|
|
434
|
+
var VERSION = "0.57.0";
|
|
417
435
|
var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
|
|
418
436
|
var apiKey = process.env.PROPLINE_API_KEY;
|
|
419
437
|
var baseUrl = process.env.PROPLINE_BASE_URL;
|
|
@@ -627,6 +645,40 @@ var tools = [
|
|
|
627
645
|
}
|
|
628
646
|
)
|
|
629
647
|
},
|
|
648
|
+
{
|
|
649
|
+
name: "propline_get_depth_history",
|
|
650
|
+
title: "Get order-book depth history",
|
|
651
|
+
description: "Hobby+ endpoint. Order-book depth history for one event on the exchanges (kalshi, polymarket, polymarket_us, prophetx): every recorded change of an outcome's best price, takeable size (liquidity, dollars) and the levels beyond it (depth: [{price, size}], best first). Use it to backtest with the size that was really there. Recorded from 2026-11-10. Paged: when next_from is set, call again with from=next_from. Free tier returns redacted structure.",
|
|
652
|
+
inputSchema: {
|
|
653
|
+
type: "object",
|
|
654
|
+
properties: {
|
|
655
|
+
sport_key: { type: "string" },
|
|
656
|
+
event_id: { type: ["string", "number"] },
|
|
657
|
+
markets: { type: "string", description: "Comma-separated market keys (default h2h,spreads,totals)." },
|
|
658
|
+
bookmakers: { type: "string", description: "Comma-separated subset of kalshi, polymarket, polymarket_us, prophetx. Default all four." },
|
|
659
|
+
from: { type: "string", description: "ISO timestamp; states at or after. Pass next_from here to page." },
|
|
660
|
+
to: { type: "string", description: "ISO timestamp; states at or before." },
|
|
661
|
+
interval: { type: "string", enum: ["30s", "1m", "5m", "15m", "30m", "1h"], description: "Keep the last state per outcome per bucket." },
|
|
662
|
+
period: { type: "string", description: "Game-period filter; omitted = full game, 'all' = every period." },
|
|
663
|
+
limit: { type: "number", description: "States per page (default 5000, max 20000)." }
|
|
664
|
+
},
|
|
665
|
+
required: ["sport_key", "event_id"],
|
|
666
|
+
additionalProperties: false
|
|
667
|
+
},
|
|
668
|
+
handler: (args) => client().getDepthHistory(
|
|
669
|
+
args.sport_key,
|
|
670
|
+
args.event_id,
|
|
671
|
+
{
|
|
672
|
+
markets: args.markets,
|
|
673
|
+
bookmakers: args.bookmakers,
|
|
674
|
+
from: args.from,
|
|
675
|
+
to: args.to,
|
|
676
|
+
interval: args.interval,
|
|
677
|
+
period: args.period,
|
|
678
|
+
limit: args.limit
|
|
679
|
+
}
|
|
680
|
+
)
|
|
681
|
+
},
|
|
630
682
|
{
|
|
631
683
|
name: "propline_get_odds_closing",
|
|
632
684
|
title: "Get opening & closing lines",
|
|
@@ -1584,6 +1636,23 @@ var tools = [
|
|
|
1584
1636
|
}
|
|
1585
1637
|
)
|
|
1586
1638
|
},
|
|
1639
|
+
{
|
|
1640
|
+
name: "propline_get_parlay_link",
|
|
1641
|
+
title: "Get multi-leg bet-slip link",
|
|
1642
|
+
description: "One link that opens a sportsbook with several legs on the bet slip. Pass PropLine outcome ids (the outcome_id on propline_get_best_line price rows with include_links=true), 1-12, all at one book: DraftKings, FanDuel or Fanatics. Returns bet_link plus each leg's book ids. The link only LOADS the legs; the book may still refuse to combine them (some same-game parlays), so tell the user to check the slip. No prices; every tier.",
|
|
1643
|
+
inputSchema: {
|
|
1644
|
+
type: "object",
|
|
1645
|
+
properties: {
|
|
1646
|
+
outcome_ids: {
|
|
1647
|
+
type: "string",
|
|
1648
|
+
description: "Comma-separated PropLine outcome ids, e.g. '16263784960,16263949931'."
|
|
1649
|
+
}
|
|
1650
|
+
},
|
|
1651
|
+
required: ["outcome_ids"],
|
|
1652
|
+
additionalProperties: false
|
|
1653
|
+
},
|
|
1654
|
+
handler: (args) => client().getParlayLink(String(args.outcome_ids))
|
|
1655
|
+
},
|
|
1587
1656
|
// -- Webhooks: READ-ONLY on purpose. Create returns the HMAC secret exactly
|
|
1588
1657
|
// once (a credential in a model context); update/delete/test are
|
|
1589
1658
|
// side-effectful. The read pair is the self-service debugging surface.
|