propline-mcp 0.45.0 → 0.47.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/dist/http.js +12 -5
- package/dist/http.js.map +1 -1
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -311,7 +311,8 @@ var PropLineClient = class {
|
|
|
311
311
|
markets: opts.markets,
|
|
312
312
|
bookmakers: opts.bookmakers,
|
|
313
313
|
devig: opts.devig,
|
|
314
|
-
fair_source: opts.fairSource
|
|
314
|
+
fair_source: opts.fairSource,
|
|
315
|
+
max_age: opts.maxAge
|
|
315
316
|
});
|
|
316
317
|
}
|
|
317
318
|
getEventProjections(sportKey, eventId, opts = {}) {
|
|
@@ -351,7 +352,7 @@ var PropLineClient = class {
|
|
|
351
352
|
};
|
|
352
353
|
|
|
353
354
|
// src/server.ts
|
|
354
|
-
var VERSION = "0.
|
|
355
|
+
var VERSION = "0.47.0";
|
|
355
356
|
var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
|
|
356
357
|
var apiKey = process.env.PROPLINE_API_KEY;
|
|
357
358
|
var baseUrl = process.env.PROPLINE_BASE_URL;
|
|
@@ -1170,7 +1171,12 @@ var tools = [
|
|
|
1170
1171
|
},
|
|
1171
1172
|
fair_source: {
|
|
1172
1173
|
type: "string",
|
|
1173
|
-
description: "Optional anchor override: one book or a comma-separated list tried IN ORDER per line, from pinnacle, polymarket, kalshi, bovada, smarkets (anything else is a 400). Lines none of them anchor are dropped. Omit for the default order."
|
|
1174
|
+
description: "Optional anchor override: one book or a comma-separated list tried IN ORDER per line, from pinnacle, polymarket, kalshi, bovada, smarkets (anything else is a 400). Lines none of them anchor are dropped. Omit for the default order. The single value 'consensus' (not combinable with book names) uses the median no-vig probability across every book quoting a clean, fresh two-sided market (3+ books); each line then lists the books used in fair_books. It is opt-in and NOT a proven better anchor \u2014 never describe it as more profitable."
|
|
1175
|
+
},
|
|
1176
|
+
max_age: {
|
|
1177
|
+
type: "integer",
|
|
1178
|
+
minimum: 0,
|
|
1179
|
+
description: "Optional, seconds. Drops quoted prices the book has not delivered within that many seconds (each outcome carries last_update). The fair line is unaffected."
|
|
1174
1180
|
}
|
|
1175
1181
|
},
|
|
1176
1182
|
required: ["sport_key", "event_id"],
|
|
@@ -1184,7 +1190,8 @@ var tools = [
|
|
|
1184
1190
|
markets: args.markets,
|
|
1185
1191
|
bookmakers: args.bookmakers,
|
|
1186
1192
|
devig: args.devig,
|
|
1187
|
-
fairSource: args.fair_source
|
|
1193
|
+
fairSource: args.fair_source,
|
|
1194
|
+
maxAge: args.max_age
|
|
1188
1195
|
}
|
|
1189
1196
|
);
|
|
1190
1197
|
return filterByMinEv(res, args.min_ev_pct);
|
|
@@ -1254,7 +1261,7 @@ var tools = [
|
|
|
1254
1261
|
{
|
|
1255
1262
|
name: "propline_list_webhooks",
|
|
1256
1263
|
title: "List webhooks",
|
|
1257
|
-
description: "List the API key's webhook subscriptions (Streaming Lite tier and up; other tiers get a 403 with an upgrade URL). Read-only: signing secrets are always masked, and this server deliberately has no create/update/delete tools \u2014 manage subscriptions via the REST API or SDKs. Each row shows url, subscribed events (line_movement, resolution, steam, market_suspended), filters and active status. Use this first to find the webhook id for propline_get_webhook_deliveries.",
|
|
1264
|
+
description: "List the API key's webhook subscriptions (Streaming Lite tier and up; other tiers get a 403 with an upgrade URL). Read-only: signing secrets are always masked, and this server deliberately has no create/update/delete tools \u2014 manage subscriptions via the REST API or SDKs. Each row shows url, subscribed events (line_movement, resolution, steam, market_suspended, ev), filters (incl. min_ev_pct / max_ev_pct for ev events) and active status. Use this first to find the webhook id for propline_get_webhook_deliveries.",
|
|
1258
1265
|
inputSchema: {
|
|
1259
1266
|
type: "object",
|
|
1260
1267
|
properties: {},
|