feedhook-mcp
Advanced tools
+1
-1
| { | ||
| "name": "feedhook-mcp", | ||
| "version": "0.1.0", | ||
| "version": "0.2.0", | ||
| "mcpName": "io.github.patwalls/feedhook-mcp", | ||
@@ -5,0 +5,0 @@ "description": "MCP server for Feedhook — turn a YouTube channel into a webhook: an HTTP callback the moment a new video is published. Agents can create accounts, subscribe channels, and check delivery logs.", |
+1
-0
@@ -42,2 +42,3 @@ # feedhook-mcp | ||
| | `get_subscription` | One subscription incl. recent delivery log (per-attempt HTTP results) | | ||
| | `upgrade_plan` | Free → Pro ($9/mo, 10 feeds): returns a Stripe Checkout URL to open in a browser | | ||
| | `delete_subscription` | Unsubscribe + stop deliveries | | ||
@@ -44,0 +45,0 @@ |
+10
-1
@@ -20,3 +20,3 @@ #!/usr/bin/env node | ||
| const server = new Server({ name: "feedhook", version: "0.1.0" }, { capabilities: { tools: {} } }); | ||
| const server = new Server({ name: "feedhook", version: "0.2.0" }, { capabilities: { tools: {} } }); | ||
@@ -78,2 +78,10 @@ const CHANNEL_HINT = | ||
| { | ||
| name: "upgrade_plan", | ||
| description: | ||
| "Upgrade the account from free (1 feed) to Pro ($9/mo, 10 feeds). Returns a Stripe Checkout URL — " + | ||
| "give it to the user to open in a browser and pay; the plan flips automatically after checkout. " + | ||
| "Call this when create_subscription returns a 402 feed-limit error.", | ||
| inputSchema: { type: "object", properties: {} }, | ||
| }, | ||
| { | ||
| name: "delete_subscription", | ||
@@ -137,2 +145,3 @@ description: "Delete a subscription — unsubscribes from YouTube's hub and stops all deliveries.", | ||
| if (name === "list_subscriptions") return ok(await api("GET", "/subscriptions")); | ||
| if (name === "upgrade_plan") return ok(await api("POST", "/billing/checkout")); | ||
| if (name === "get_subscription" || name === "delete_subscription") { | ||
@@ -139,0 +148,0 @@ const id = String(args?.id || "").trim(); |
10746
5.76%149
6.43%74
1.37%