@tensorfeed/mcp-server 1.22.0 → 1.23.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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to the [TensorFeed.ai MCP server](https://github.com/RipperMercs/tensorfeed-mcp). Free tools work without configuration; premium tools require a bearer token via the `TENSORFEED_TOKEN` env var. Buy credits at [tensorfeed.ai/developers/agent-payments](https://tensorfeed.ai/developers/agent-payments).
4
4
 
5
+ ## 1.23.0 - 2026-05-05
6
+
7
+ ### Added
8
+ - `create_leaderboard_rank_watch` tool. Premium webhook watch (1 credit) fires when a provider crosses a rank threshold on the cross-provider 7-day uptime leaderboard. Operations: `drops_below`, `rises_above`, `changes`. Use case: SRE / vendor-management teams want a notification when their primary AI provider's relative reliability shifts.
9
+ - 5 additional providers covered by every status tool: OpenRouter, ElevenLabs, Stability AI, Runway, Luma. Brings total monitored to 20.
10
+
5
11
  ## 1.22.0 - 2026-05-04
6
12
 
7
13
  ### Added
package/dist/index.js CHANGED
@@ -714,6 +714,33 @@ registerTool('create_digest_watch', 'Register a scheduled digest webhook that fi
714
714
  ],
715
715
  };
716
716
  });
717
+ // ── Tool: create_leaderboard_rank_watch (1 credit) ──────────────────
718
+ registerTool('create_leaderboard_rank_watch', 'Register a webhook that fires when a provider crosses a rank threshold on the cross-provider 7-day uptime leaderboard. Rank 1 = best (highest uptime). drops_below: was rank<=N, now rank>N (got worse). rises_above: was rank>=N, now rank<N (got better). changes: any rank movement. Costs 1 credit at registration. Watch lives 90 days.', {
719
+ provider: z.string().describe('Provider name or slug (case-insensitive). e.g. claude, openai, gemini, bedrock, azure'),
720
+ op: z.enum(['drops_below', 'rises_above', 'changes']).describe('Trigger condition'),
721
+ threshold: z.number().int().min(1).optional().describe('Required for drops_below / rises_above. Integer rank position.'),
722
+ callback_url: z.string().describe('HTTPS URL to POST to when the watch fires'),
723
+ secret: z.string().optional().describe('Optional HMAC shared secret'),
724
+ }, async ({ provider, op, threshold, callback_url, secret }) => {
725
+ const spec = { type: 'leaderboard_rank', provider, op };
726
+ if (threshold !== undefined)
727
+ spec.threshold = threshold;
728
+ const body = { spec, callback_url };
729
+ if (secret !== undefined)
730
+ body.secret = secret;
731
+ const data = (await fetchJSON('/premium/watches', { method: 'POST', body, auth: true }));
732
+ const desc = op === 'changes'
733
+ ? `${provider} rank changes`
734
+ : `${provider} ${op.replace('_', ' ')} #${threshold}`;
735
+ return {
736
+ content: [
737
+ {
738
+ type: 'text',
739
+ text: `Created leaderboard rank watch ${data.watch.id} (${desc}). Expires ${data.watch.expires_at}. Credits remaining: ${data.billing?.credits_remaining ?? '?'}`,
740
+ },
741
+ ],
742
+ };
743
+ });
717
744
  // ── Tool: delete_watch ──────────────────────────────────────────────
718
745
  registerTool('delete_watch', 'Delete one of your active webhook watches by id. Free, requires TENSORFEED_TOKEN.', {
719
746
  watch_id: z.string().describe('The wat_... id from create_price_watch / create_status_watch / list_watches'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tensorfeed/mcp-server",
3
- "version": "1.22.0",
3
+ "version": "1.23.0",
4
4
  "mcpName": "ai.tensorfeed/mcp-server",
5
5
  "description": "MCP server for TensorFeed.ai - AI news, status, model data, and premium endpoints (routing, cost projection, forecast, history series, news search, webhook watches with digest tier, enriched directory) for AI agents",
6
6
  "main": "dist/index.js",
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "ai.tensorfeed/mcp-server",
4
4
  "title": "TensorFeed",
5
5
  "description": "AI news, model pricing, service status, and machine-payable premium tools. AFTA-certified.",
6
- "version": "1.22.0",
6
+ "version": "1.23.0",
7
7
  "websiteUrl": "https://tensorfeed.ai/developers/agent-payments",
8
8
  "repository": {
9
9
  "url": "https://github.com/RipperMercs/tensorfeed-mcp",
@@ -14,7 +14,7 @@
14
14
  "registryType": "npm",
15
15
  "registryBaseUrl": "https://registry.npmjs.org",
16
16
  "identifier": "@tensorfeed/mcp-server",
17
- "version": "1.22.0",
17
+ "version": "1.23.0",
18
18
  "runtimeHint": "npx",
19
19
  "transport": {
20
20
  "type": "stdio"
@@ -76,6 +76,7 @@
76
76
  "create_price_watch",
77
77
  "create_status_watch",
78
78
  "create_digest_watch",
79
+ "create_leaderboard_rank_watch",
79
80
  "delete_watch",
80
81
  "get_account_balance",
81
82
  "get_account_usage"