🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

feedhook-mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feedhook-mcp - npm Package Compare versions

Comparing version
0.1.0
to
0.2.0
+1
-1
package.json
{
"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.",

@@ -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 @@

@@ -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();