propline-mcp 0.56.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 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 41 tools are served over **Streamable HTTP** at
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
@@ -404,6 +404,9 @@ var PropLineClient = class {
404
404
  includeLinks: opts.includeLinks ? "true" : void 0
405
405
  });
406
406
  }
407
+ getParlayLink(outcomeIds) {
408
+ return this.request("/v1/bet-links/parlay", { outcome_ids: outcomeIds });
409
+ }
407
410
  // ----- Webhooks (READ-ONLY on purpose) -----
408
411
  // Create is excluded because it returns the HMAC signing secret exactly
409
412
  // once — through MCP that lands in a model context window and whatever
@@ -428,7 +431,7 @@ var PropLineClient = class {
428
431
  };
429
432
 
430
433
  // src/server.ts
431
- var VERSION = "0.56.0";
434
+ var VERSION = "0.57.0";
432
435
  var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
433
436
  var apiKey = process.env.PROPLINE_API_KEY;
434
437
  var baseUrl = process.env.PROPLINE_BASE_URL;
@@ -1633,6 +1636,23 @@ var tools = [
1633
1636
  }
1634
1637
  )
1635
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
+ },
1636
1656
  // -- Webhooks: READ-ONLY on purpose. Create returns the HMAC secret exactly
1637
1657
  // once (a credential in a model context); update/delete/test are
1638
1658
  // side-effectful. The read pair is the self-service debugging surface.