@mambalabsdev/mcp-kick-channels-streams 0.0.0-stage → 1.0.1
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/LICENSE +21 -0
- package/README.md +115 -2
- package/SECURITY.md +31 -0
- package/build/index.js +210 -0
- package/package.json +52 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Mamba Labs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,116 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Kick Channels, Streams, and Clips MCP Server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://registry.modelcontextprotocol.io/v0/servers?search=com.mambabuilt/mcp-kick-channels-streams&limit=1) [](https://www.npmjs.com/package/@mambalabsdev/mcp-kick-channels-streams) [](https://www.npmjs.com/package/@mambalabsdev/mcp-kick-channels-streams) [](https://github.com/mambalabsdev/mcp-kick-channels-streams/blob/main/LICENSE)
|
|
4
|
+
|
|
5
|
+
An MCP server for the Mamba Labs Kick Channels, Streams, and Clips actor on Apify. Kick.com channels, live streams, and clips as rows.
|
|
6
|
+
|
|
7
|
+
## What's Inside
|
|
8
|
+
|
|
9
|
+
- [What it does](#what-it-does)
|
|
10
|
+
- [Quick start](#quick-start)
|
|
11
|
+
- [Prerequisites](#prerequisites)
|
|
12
|
+
- [Example prompts](#example-prompts)
|
|
13
|
+
- [Tool](#tool)
|
|
14
|
+
- [Inputs](#inputs)
|
|
15
|
+
- [Pricing](#pricing)
|
|
16
|
+
- [Full actor documentation](#full-actor-documentation)
|
|
17
|
+
- [License](#license)
|
|
18
|
+
|
|
19
|
+
## What it does
|
|
20
|
+
|
|
21
|
+
Takes Kick channel names, links, or search words and returns one row per channel with followers, socials, and live status, with optional past broadcasts and clips, and can list streams live now by category and language.
|
|
22
|
+
|
|
23
|
+
All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.
|
|
24
|
+
|
|
25
|
+
## Quick start
|
|
26
|
+
|
|
27
|
+
You need Node.js 18 or newer and an Apify account with an API token.
|
|
28
|
+
|
|
29
|
+
Add this to your Claude Desktop config (`claude_desktop_config.json`), Cursor, or any MCP client:
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"mcpServers": {
|
|
34
|
+
"mamba-kick-channels-streams": {
|
|
35
|
+
"command": "npx",
|
|
36
|
+
"args": [
|
|
37
|
+
"-y",
|
|
38
|
+
"@mambalabsdev/mcp-kick-channels-streams"
|
|
39
|
+
],
|
|
40
|
+
"env": {
|
|
41
|
+
"APIFY_TOKEN": "your-apify-token"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Restart the client. The `get_kick_channels_streams` tool appears.
|
|
49
|
+
|
|
50
|
+
## Prerequisites
|
|
51
|
+
|
|
52
|
+
- Node.js 18 or newer.
|
|
53
|
+
- An Apify API token from [console.apify.com/account/integrations](https://console.apify.com/account/integrations), set as `APIFY_TOKEN`. The server lists its tool without a token; a call needs one.
|
|
54
|
+
|
|
55
|
+
## Example prompts
|
|
56
|
+
|
|
57
|
+
- "How many followers does the Kick channel xqc have, and is it live now?"
|
|
58
|
+
- "List the 20 most viewed clips of adinross on Kick."
|
|
59
|
+
- "Which English streams are live on Kick in Just Chatting right now, by viewers?"
|
|
60
|
+
|
|
61
|
+
## Tool
|
|
62
|
+
|
|
63
|
+
`get_kick_channels_streams`. One tool. Example arguments:
|
|
64
|
+
|
|
65
|
+
```json
|
|
66
|
+
{
|
|
67
|
+
"channels": [
|
|
68
|
+
"xqc"
|
|
69
|
+
],
|
|
70
|
+
"include_clips": true,
|
|
71
|
+
"max_clips_per_channel": 10
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Inputs
|
|
76
|
+
|
|
77
|
+
Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.
|
|
78
|
+
|
|
79
|
+
| Input | Type | Required | Description |
|
|
80
|
+
|---|---|---|---|
|
|
81
|
+
| `channels` | array | no | Kick channel names (xqc or @xqc) or links (https://kick.com/xqc). Each channel returns one row with followers, verified mark, bio, social links, recent categories, and live status. |
|
|
82
|
+
| `search` | array | no | Optional. Words to search Kick channels with, such as poker or valorant. Each word returns its top channels, and each found channel gets a channel row. |
|
|
83
|
+
| `max_channels_per_search` | number | no | How many channels to keep from each search word, in Kick's order. Default 5, maximum 20. |
|
|
84
|
+
| `include_videos` | boolean | no | yes to add one row per past broadcast (VOD) of each channel, newest first. Default no. |
|
|
85
|
+
| `max_videos_per_channel` | number | no | Past broadcasts to return per channel. Kick keeps a limited history, often the last 30 days. Default 20, maximum 500. |
|
|
86
|
+
| `include_clips` | boolean | no | yes to add one row per clip of each channel. Default no. |
|
|
87
|
+
| `max_clips_per_channel` | number | no | Clips to return per channel. Kick sends 20 a page. Default 20, maximum 1000. |
|
|
88
|
+
| `clips_sort` | string | no | view (default): most viewed first. date: newest first, in Kick's order by clip ID, where clips made within the same minute can appear slightly out of time order. |
|
|
89
|
+
| `clips_period` | string | no | Which clips: day, week, month, or all (default). |
|
|
90
|
+
| `live_now` | boolean | no | yes to return streams live now, most viewers first, one row per stream. Default no. |
|
|
91
|
+
| `live_category` | string | no | Optional, with live_now. A Kick category as it appears in its kick.com link: a main category (games, irl, music, gambling, creative, alternative) or a subcategory such as just-chatting, slots, or valorant. |
|
|
92
|
+
| `live_language` | string | no | Optional, with live_now. Keep only streams in this language, such as English, Spanish, or en. |
|
|
93
|
+
| `max_live_streams` | number | no | Live streams to return, with live_now. Default 50, maximum 1000. |
|
|
94
|
+
| `max_charge_usd` | number | no | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. |
|
|
95
|
+
|
|
96
|
+
## Pricing
|
|
97
|
+
|
|
98
|
+
Pay per event on Apify, billed to your Apify account. Prices in USD.
|
|
99
|
+
|
|
100
|
+
| Event | Free plan | Bronze | Silver | Gold |
|
|
101
|
+
|---|---|---|---|---|
|
|
102
|
+
| `channel-row`, one channel | $0.003 | $0.00285 | $0.0027 | $0.00255 |
|
|
103
|
+
| `video-row`, one past broadcast | $0.003 | $0.00285 | $0.0027 | $0.00255 |
|
|
104
|
+
| `clip-row`, one clip | $0.003 | $0.00285 | $0.0027 | $0.00255 |
|
|
105
|
+
| `live-stream-row`, one live stream | $0.003 | $0.00285 | $0.0027 | $0.00255 |
|
|
106
|
+
| `apify-actor-start`, per run start | $0.005 | $0.005 | $0.005 | $0.005 |
|
|
107
|
+
|
|
108
|
+
Channels that do not exist, banned channels, search and live summaries, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.
|
|
109
|
+
|
|
110
|
+
## Full actor documentation
|
|
111
|
+
|
|
112
|
+
[apify.com/mambalabs/kick-channels-streams](https://apify.com/mambalabs/kick-channels-streams)
|
|
113
|
+
|
|
114
|
+
## License
|
|
115
|
+
|
|
116
|
+
MIT. See [LICENSE](LICENSE).
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported versions
|
|
4
|
+
|
|
5
|
+
The latest published `1.x` release of
|
|
6
|
+
`@mambalabsdev/mcp-kick-channels-streams` receives security updates.
|
|
7
|
+
|
|
8
|
+
| Version | Supported |
|
|
9
|
+
| ------- | ------------------ |
|
|
10
|
+
| 1.x | :white_check_mark: |
|
|
11
|
+
| < 1.0 | :x: |
|
|
12
|
+
|
|
13
|
+
## Reporting a vulnerability
|
|
14
|
+
|
|
15
|
+
Please do not open a public GitHub issue for security reports.
|
|
16
|
+
|
|
17
|
+
Email security reports to **labs@mambamindsetgrowth.com** with:
|
|
18
|
+
|
|
19
|
+
- a description of the issue and its impact,
|
|
20
|
+
- steps to reproduce, and
|
|
21
|
+
- any relevant logs or proof of concept.
|
|
22
|
+
|
|
23
|
+
We aim to acknowledge reports within 3 business days and to provide a remediation
|
|
24
|
+
timeline after triage. Coordinated disclosure is appreciated.
|
|
25
|
+
|
|
26
|
+
## Handling of credentials
|
|
27
|
+
|
|
28
|
+
This server reads an `APIFY_TOKEN` from the environment and uses it only to call
|
|
29
|
+
the Apify API on your behalf. The token is never logged or written to disk by this
|
|
30
|
+
package. Treat your `APIFY_TOKEN` as a secret and rotate it at
|
|
31
|
+
https://console.apify.com/account/integrations if you believe it has been exposed.
|
package/build/index.js
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { readFileSync } from "node:fs";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
4
|
+
import { dirname, join } from "node:path";
|
|
5
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
6
|
+
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
const here = dirname(fileURLToPath(import.meta.url));
|
|
9
|
+
const pkg = JSON.parse(readFileSync(join(here, "..", "package.json"), "utf8"));
|
|
10
|
+
// Distinctive UA so Apify run meta.userAgent marks MCP-originated runs.
|
|
11
|
+
const USER_AGENT = `mambalabs-mcp ${pkg.name}@${pkg.version}`;
|
|
12
|
+
// Drop undefined values so optional inputs are not sent to the actor.
|
|
13
|
+
function compact(obj) {
|
|
14
|
+
const out = {};
|
|
15
|
+
for (const [k, v] of Object.entries(obj)) {
|
|
16
|
+
if (v !== undefined)
|
|
17
|
+
out[k] = v;
|
|
18
|
+
}
|
|
19
|
+
return out;
|
|
20
|
+
}
|
|
21
|
+
// How long the actor run itself is allowed to take, in seconds. Fleet standard
|
|
22
|
+
// (standing build rule 5, 2026-10-05). A run of 50 searches of 100 posts each
|
|
23
|
+
const ACTOR_RUN_TIMEOUT_SECS = 1800;
|
|
24
|
+
// How long this wrapper waits for that run, in milliseconds. The actor's own
|
|
25
|
+
// timeout plus two minutes, so the run's own TIMED-OUT status is what the
|
|
26
|
+
// caller sees rather than the wrapper giving up first and reporting nothing.
|
|
27
|
+
const WRAPPER_WAIT_MS = (ACTOR_RUN_TIMEOUT_SECS + 120) * 1000;
|
|
28
|
+
const POLL_INTERVAL_MS = 3000;
|
|
29
|
+
const TERMINAL = new Set(["SUCCEEDED", "FAILED", "TIMED-OUT", "ABORTED", "ABORTING"]);
|
|
30
|
+
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
31
|
+
// Shared caller. actorPath is the actor's immutable Apify actor ID (a stable key
|
|
32
|
+
// that survives Store renames). The /v2/acts/{id} endpoint accepts it directly,
|
|
33
|
+
// so a Store rename never breaks these calls.
|
|
34
|
+
//
|
|
35
|
+
// START AND POLL, NOT RUN-SYNC. Apify's synchronous endpoints carry a platform
|
|
36
|
+
// ceiling of 300 seconds on the HTTP wait itself and answer 408 past it whatever
|
|
37
|
+
// the timeout parameter says, so a long run reads as a timeout even though the
|
|
38
|
+
// actor goes on to finish. Starting the run, polling it to a terminal status and
|
|
39
|
+
// then reading the dataset is the only way to wait as long as the actor needs.
|
|
40
|
+
//
|
|
41
|
+
// The token is read here rather than at module load, so the tool registers
|
|
42
|
+
// unconditionally and a server started without APIFY_TOKEN still advertises its
|
|
43
|
+
// capabilities instead of reporting none.
|
|
44
|
+
async function runActor(actorPath, actorLabel, input) {
|
|
45
|
+
const APIFY_TOKEN = process.env.APIFY_TOKEN;
|
|
46
|
+
if (!APIFY_TOKEN) {
|
|
47
|
+
return { isError: true, content: [{ type: "text", text: "APIFY_TOKEN is not set. Create a token at https://console.apify.com/account/integrations and set it as the APIFY_TOKEN environment variable." }] };
|
|
48
|
+
}
|
|
49
|
+
const headers = {
|
|
50
|
+
Authorization: `Bearer ${APIFY_TOKEN}`,
|
|
51
|
+
"Content-Type": "application/json",
|
|
52
|
+
"User-Agent": USER_AGENT,
|
|
53
|
+
};
|
|
54
|
+
const httpError = async (response) => {
|
|
55
|
+
let detail = "";
|
|
56
|
+
try {
|
|
57
|
+
const body = (await response.json());
|
|
58
|
+
if (body?.error?.message)
|
|
59
|
+
detail = ` ${body.error.message}`;
|
|
60
|
+
}
|
|
61
|
+
catch {
|
|
62
|
+
detail = "";
|
|
63
|
+
}
|
|
64
|
+
switch (response.status) {
|
|
65
|
+
case 400:
|
|
66
|
+
return `The ${actorLabel} run was rejected as invalid input.${detail}`;
|
|
67
|
+
case 401:
|
|
68
|
+
return "Invalid Apify token. Check your APIFY_TOKEN environment variable.";
|
|
69
|
+
case 402:
|
|
70
|
+
return "Insufficient Apify credits. Check your account balance at https://console.apify.com/billing";
|
|
71
|
+
default:
|
|
72
|
+
return `Apify request to ${actorLabel} failed with status ${response.status}.${detail}`;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
// 1. Start the run.
|
|
76
|
+
let started;
|
|
77
|
+
try {
|
|
78
|
+
started = await fetch(`https://api.apify.com/v2/acts/${actorPath}/runs?timeout=${ACTOR_RUN_TIMEOUT_SECS}`, { method: "POST", headers, body: JSON.stringify(input) });
|
|
79
|
+
}
|
|
80
|
+
catch (err) {
|
|
81
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
82
|
+
return { isError: true, content: [{ type: "text", text: `Could not reach the Apify API: ${message}` }] };
|
|
83
|
+
}
|
|
84
|
+
if (!started.ok) {
|
|
85
|
+
return { isError: true, content: [{ type: "text", text: await httpError(started) }] };
|
|
86
|
+
}
|
|
87
|
+
let run;
|
|
88
|
+
try {
|
|
89
|
+
run = (await started.json()).data ?? {};
|
|
90
|
+
}
|
|
91
|
+
catch (err) {
|
|
92
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
93
|
+
return { isError: true, content: [{ type: "text", text: `The ${actorLabel} run start returned a response that could not be parsed: ${message}` }] };
|
|
94
|
+
}
|
|
95
|
+
const runId = run.id;
|
|
96
|
+
if (!runId) {
|
|
97
|
+
return { isError: true, content: [{ type: "text", text: `The ${actorLabel} run start returned no run id, so there is nothing to wait for.` }] };
|
|
98
|
+
}
|
|
99
|
+
// 2. Poll to a terminal status.
|
|
100
|
+
const deadline = Date.now() + WRAPPER_WAIT_MS;
|
|
101
|
+
let status = run.status ?? "READY";
|
|
102
|
+
let datasetId = run.defaultDatasetId;
|
|
103
|
+
while (!TERMINAL.has(status)) {
|
|
104
|
+
if (Date.now() >= deadline) {
|
|
105
|
+
return {
|
|
106
|
+
isError: true,
|
|
107
|
+
content: [{ type: "text", text: `The ${actorLabel} run ${runId} was still ${status} after ${Math.round(WRAPPER_WAIT_MS / 1000)} seconds and this call stopped waiting. The run itself is still on Apify: read it at https://console.apify.com/actors/runs/${runId}` }],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
await sleep(POLL_INTERVAL_MS);
|
|
111
|
+
let poll;
|
|
112
|
+
try {
|
|
113
|
+
poll = await fetch(`https://api.apify.com/v2/actor-runs/${runId}`, { headers });
|
|
114
|
+
}
|
|
115
|
+
catch (err) {
|
|
116
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
117
|
+
return { isError: true, content: [{ type: "text", text: `Lost contact with the Apify API while waiting for ${actorLabel} run ${runId}: ${message}` }] };
|
|
118
|
+
}
|
|
119
|
+
if (!poll.ok) {
|
|
120
|
+
return { isError: true, content: [{ type: "text", text: await httpError(poll) }] };
|
|
121
|
+
}
|
|
122
|
+
const body = (await poll.json());
|
|
123
|
+
status = body.data?.status ?? status;
|
|
124
|
+
datasetId = body.data?.defaultDatasetId ?? datasetId;
|
|
125
|
+
}
|
|
126
|
+
// 3. A run that did not succeed is a failure the caller must see, never an
|
|
127
|
+
// empty success. Surfacing it here is what keeps a crashed run from reading
|
|
128
|
+
// as "no results found".
|
|
129
|
+
if (status !== "SUCCEEDED") {
|
|
130
|
+
return {
|
|
131
|
+
isError: true,
|
|
132
|
+
content: [{ type: "text", text: `The ${actorLabel} run did not succeed (run ID: ${runId}, status: ${status}).` }],
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
if (!datasetId) {
|
|
136
|
+
return { isError: true, content: [{ type: "text", text: `The ${actorLabel} run ${runId} succeeded but reported no dataset, so there is nothing to return.` }] };
|
|
137
|
+
}
|
|
138
|
+
// 4. Read the dataset.
|
|
139
|
+
let ds;
|
|
140
|
+
try {
|
|
141
|
+
ds = await fetch(`https://api.apify.com/v2/datasets/${datasetId}/items?format=json`, { headers });
|
|
142
|
+
}
|
|
143
|
+
catch (err) {
|
|
144
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
145
|
+
return { isError: true, content: [{ type: "text", text: `Could not read the ${actorLabel} dataset: ${message}` }] };
|
|
146
|
+
}
|
|
147
|
+
if (!ds.ok) {
|
|
148
|
+
return { isError: true, content: [{ type: "text", text: await httpError(ds) }] };
|
|
149
|
+
}
|
|
150
|
+
let items;
|
|
151
|
+
try {
|
|
152
|
+
items = await ds.json();
|
|
153
|
+
}
|
|
154
|
+
catch (err) {
|
|
155
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
156
|
+
return { isError: true, content: [{ type: "text", text: `The ${actorLabel} run returned a response that could not be parsed: ${message}` }] };
|
|
157
|
+
}
|
|
158
|
+
if (!Array.isArray(items)) {
|
|
159
|
+
const asObj = items;
|
|
160
|
+
const detail = asObj?.error?.message
|
|
161
|
+
? `${asObj.error.message}`
|
|
162
|
+
: JSON.stringify(items);
|
|
163
|
+
return { isError: true, content: [{ type: "text", text: `The ${actorLabel} run did not return a dataset. ${detail}` }] };
|
|
164
|
+
}
|
|
165
|
+
return { content: [{ type: "text", text: JSON.stringify(items, null, 2) }] };
|
|
166
|
+
}
|
|
167
|
+
// The actor's number and on or off inputs are text fields (Apify checks input
|
|
168
|
+
// types before the actor starts, and Clay sends text), so numbers and booleans
|
|
169
|
+
// from the model are sent as text.
|
|
170
|
+
function asActorInput(args) {
|
|
171
|
+
const out = {};
|
|
172
|
+
for (const [k, v] of Object.entries(compact(args))) {
|
|
173
|
+
out[k] = typeof v === "number" || typeof v === "boolean" ? String(v) : v;
|
|
174
|
+
}
|
|
175
|
+
return out;
|
|
176
|
+
}
|
|
177
|
+
const server = new McpServer({
|
|
178
|
+
name: "mamba-kick-channels-streams",
|
|
179
|
+
version: pkg.version,
|
|
180
|
+
});
|
|
181
|
+
// Kick Channels, Streams, and Clips (immutable actor ID REl7yEdagIx2YvoQU). Every buyer facing input of the actor is exposed.
|
|
182
|
+
server.registerTool("get_kick_channels_streams", {
|
|
183
|
+
title: "Get Kick channels, streams, and clips",
|
|
184
|
+
description: "Read public Kick.com data. For each channel name or link: followers, verified mark, bio, social links, recent categories, and live status, with optional past broadcasts and clips. Also searches channels by word and reads the live directory, most viewers first, filtered by category and language.",
|
|
185
|
+
annotations: {
|
|
186
|
+
title: "Get Kick channels, streams, and clips",
|
|
187
|
+
readOnlyHint: true,
|
|
188
|
+
destructiveHint: false,
|
|
189
|
+
idempotentHint: true,
|
|
190
|
+
openWorldHint: true,
|
|
191
|
+
},
|
|
192
|
+
inputSchema: {
|
|
193
|
+
channels: z.array(z.string()).optional().describe("Kick channel names (xqc or @xqc) or links (https://kick.com/xqc). Each channel returns one row with followers, verified mark, bio, social links, recent categories, and live status."),
|
|
194
|
+
search: z.array(z.string()).optional().describe("Optional. Words to search Kick channels with, such as poker or valorant. Each word returns its top channels, and each found channel gets a channel row."),
|
|
195
|
+
max_channels_per_search: z.number().optional().describe("How many channels to keep from each search word, in Kick's order. Default 5, maximum 20."),
|
|
196
|
+
include_videos: z.boolean().optional().describe("yes to add one row per past broadcast (VOD) of each channel, newest first. Default no."),
|
|
197
|
+
max_videos_per_channel: z.number().optional().describe("Past broadcasts to return per channel. Kick keeps a limited history, often the last 30 days. Default 20, maximum 500."),
|
|
198
|
+
include_clips: z.boolean().optional().describe("yes to add one row per clip of each channel. Default no."),
|
|
199
|
+
max_clips_per_channel: z.number().optional().describe("Clips to return per channel. Kick sends 20 a page. Default 20, maximum 1000."),
|
|
200
|
+
clips_sort: z.enum(["view", "date"]).optional().describe("view (default): most viewed first. date: newest first, in Kick's order by clip ID, where clips made within the same minute can appear slightly out of time order."),
|
|
201
|
+
clips_period: z.enum(["all", "month", "week", "day"]).optional().describe("Which clips: day, week, month, or all (default)."),
|
|
202
|
+
live_now: z.boolean().optional().describe("yes to return streams live now, most viewers first, one row per stream. Default no."),
|
|
203
|
+
live_category: z.string().optional().describe("Optional, with live_now. A Kick category as it appears in its kick.com link: a main category (games, irl, music, gambling, creative, alternative) or a subcategory such as just-chatting, slots, or valorant."),
|
|
204
|
+
live_language: z.string().optional().describe("Optional, with live_now. Keep only streams in this language, such as English, Spanish, or en."),
|
|
205
|
+
max_live_streams: z.number().optional().describe("Live streams to return, with live_now. Default 50, maximum 1000."),
|
|
206
|
+
max_charge_usd: z.number().optional().describe("Optional. The run stops before a charge that would pass this amount. Summary rows are always returned."),
|
|
207
|
+
},
|
|
208
|
+
}, async (args) => runActor("REl7yEdagIx2YvoQU", "Kick Channels, Streams, and Clips", asActorInput(args)));
|
|
209
|
+
const transport = new StdioServerTransport();
|
|
210
|
+
await server.connect(transport);
|
package/package.json
CHANGED
|
@@ -1,6 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mambalabsdev/mcp-kick-channels-streams",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "MCP server for Kick Channels, Streams, and Clips: Kick.com channels, live streams, past broadcasts, and clips.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"mcp-kick-channels-streams": "./build/index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"build",
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE",
|
|
13
|
+
"SECURITY.md"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsc && chmod +x build/index.js",
|
|
17
|
+
"test": "npm run build && node --test test/*.test.js",
|
|
18
|
+
"prepublishOnly": "npm run build"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"mcp",
|
|
22
|
+
"model-context-protocol",
|
|
23
|
+
"kick",
|
|
24
|
+
"kick-com",
|
|
25
|
+
"live-streaming",
|
|
26
|
+
"streamers",
|
|
27
|
+
"clips",
|
|
28
|
+
"vods",
|
|
29
|
+
"scraper",
|
|
30
|
+
"apify",
|
|
31
|
+
"mcp",
|
|
32
|
+
"apify",
|
|
33
|
+
"clay"
|
|
34
|
+
],
|
|
35
|
+
"author": "Mamba Labs <labs@mambamindsetgrowth.com>",
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"homepage": "https://apify.com/mambalabs/kick-channels-streams",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "https://github.com/mambalabsdev/mcp-kick-channels-streams"
|
|
41
|
+
},
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=18"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
47
|
+
"zod": "^4.4.3"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/node": "^26.2.0",
|
|
51
|
+
"typescript": "5.9.3"
|
|
52
|
+
},
|
|
53
|
+
"mcpName": "com.mambabuilt/mcp-kick-channels-streams"
|
|
54
|
+
}
|