KickMCP服务
一种高性能的模型上下文协议服务器实现,为第三方应用程序提供了一个标准化的接口,以与Kick流媒体平台API集成。
可用工具 (92 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
getOAuthUrl 6 个参数 需填 3 项
Get OAuth authorization URL
必填参数:client_id、redirect_uri、scope
getAccessToken 5 个参数 需填 4 项
Exchange code for token
必填参数:client_id、client_secret、code、redirect_uri
refreshAccessToken 3 个参数 需填 3 项
Refresh expired token
必填参数:client_id、client_secret、refresh_token
validateToken 1 个参数 需填 1 项
Validate access token
必填参数:access_token
revokeToken 1 个参数 需填 1 项
Revoke access token
必填参数:access_token
getUserProfile 1 个参数 需填 1 项
Get user profile
必填参数:access_token
updateUserProfile 2 个参数 需填 2 项
Update user profile
必填参数:access_token、data
getUserSubscriptions 1 个参数 需填 1 项
Get user subscriptions
必填参数:access_token
getUserEmotes 1 个参数 需填 1 项
Get user emotes
必填参数:access_token
getUserBadges 1 个参数 需填 1 项
Get user badges
必填参数:access_token
getUserFollows 1 个参数 需填 1 项
Get followed channels
必填参数:access_token
getUserBlockedUsers 1 个参数 需填 1 项
Get blocked users
必填参数:access_token
getUserClips 1 个参数 需填 1 项
Get user clips
必填参数:access_token
getUserVideos 1 个参数 需填 1 项
Get user videos
必填参数:access_token
getUserHighlights 1 个参数 需填 1 项
Get user highlights
必填参数:access_token
getUserScheduledStreams 1 个参数 需填 1 项
Get scheduled streams
必填参数:access_token
getUserNotifications 1 个参数 需填 1 项
Get notifications
必填参数:access_token
getUserWallet 1 个参数 需填 1 项
Get wallet info
必填参数:access_token
getUserGifts 1 个参数 需填 1 项
Get gift history
必填参数:access_token
getChatMessages 2 个参数 需填 2 项
Get chat messages
必填参数:access_token、channel_id
sendChatMessage 3 个参数 需填 3 项
Send chat message
必填参数:access_token、channel_id、message
getChatSettings 2 个参数 需填 2 项
Get chat settings
必填参数:access_token、channel_id
banUser 3 个参数 需填 3 项
Ban user from chat
必填参数:access_token、channel_id、user_id
unbanUser 3 个参数 需填 3 项
Unban user from chat
必填参数:access_token、channel_id、user_id
timeoutUser 4 个参数 需填 4 项
Timeout user
必填参数:access_token、channel_id、user_id、duration
deleteMessage 3 个参数 需填 3 项
Delete chat message
必填参数:access_token、channel_id、message_id
clearChat 2 个参数 需填 2 项
Clear all chat messages
必填参数:access_token、channel_id
getChatUserInfo 3 个参数 需填 3 项
Get chat user info
必填参数:access_token、channel_id、user_id
getChannelInfo 1 个参数 需填 1 项
Get channel information
必填参数:channel_id
getChannelFollowers 2 个参数 需填 2 项
Get channel followers
必填参数:access_token、channel_id
getChannelSubscribers 2 个参数 需填 2 项
Get channel subscribers
必填参数:access_token、channel_id
getChannelEmotes 2 个参数 需填 2 项
Get channel emotes
必填参数:access_token、channel_id
getChannelBadges 2 个参数 需填 2 项
Get channel badges
必填参数:access_token、channel_id
getChannelModerators 2 个参数 需填 2 项
Get channel moderators
必填参数:access_token、channel_id
getChannelBans 2 个参数 需填 2 项
Get channel banned users
必填参数:access_token、channel_id
getChannelVips 2 个参数 需填 2 项
Get channel VIP users
必填参数:access_token、channel_id
getChannelClips 2 个参数 需填 2 项
Get channel clips
必填参数:access_token、channel_id
getChannelVideos 2 个参数 需填 2 项
Get channel videos
必填参数:access_token、channel_id
getChannelHighlights 2 个参数 需填 2 项
Get channel highlights
必填参数:access_token、channel_id
getChannelScheduledStreams 2 个参数 需填 2 项
Get channel scheduled streams
必填参数:access_token、channel_id
getChannelChatRules 2 个参数 需填 2 项
Get channel chat rules
必填参数:access_token、channel_id
getChannelChatCommands 2 个参数 需填 2 项
Get channel chat commands
必填参数:access_token、channel_id
getChannelCategories 2 个参数 需填 2 项
Get channel categories
必填参数:access_token、channel_id
getChannelTags 2 个参数 需填 2 项
Get channel tags
必填参数:access_token、channel_id
getChannelGifts 2 个参数 需填 2 项
Get channel gift history
必填参数:access_token、channel_id
getChannelRaids 2 个参数 需填 2 项
Get channel raid history
必填参数:access_token、channel_id
getChannelHosts 2 个参数 需填 2 项
Get channel host history
必填参数:access_token、channel_id
getLivestreams
Get list of current livestreams
该工具无需必填参数,直接调用即可
getLivestreamBySlug 1 个参数 需填 1 项
Get livestream by slug
必填参数:slug
startStream 2 个参数 需填 2 项
Start streaming
必填参数:access_token、channel_id
endStream 2 个参数 需填 2 项
End stream
必填参数:access_token、channel_id
updateStreamInfo 3 个参数 需填 3 项
Update stream info
必填参数:access_token、channel_id、data
updateStreamSettings 3 个参数 需填 3 项
Update stream settings
必填参数:access_token、channel_id、data
getStreamInfo 2 个参数 需填 2 项
Get stream information
必填参数:access_token、channel_id
getStreamViewers 2 个参数 需填 2 项
Get stream viewers
必填参数:access_token、channel_id
getStreamCategories 2 个参数 需填 2 项
Get stream categories
必填参数:access_token、channel_id
getStreamTags 2 个参数 需填 2 项
Get stream tags
必填参数:access_token、channel_id
getStreamStats 2 个参数 需填 2 项
Get stream statistics
必填参数:access_token、channel_id
createPoll 5 个参数 需填 5 项
Create poll
必填参数:access_token、channel_id、title、options、duration
endPoll 3 个参数 需填 3 项
End active poll
必填参数:access_token、channel_id、poll_id
createPrediction 5 个参数 需填 5 项
Create prediction
必填参数:access_token、channel_id、title、options、duration
endPrediction 4 个参数 需填 4 项
End prediction
必填参数:access_token、channel_id、prediction_id、winning_outcome_id
createMarker 3 个参数 需填 3 项
Create stream marker
必填参数:access_token、channel_id、description
createWebhook 3 个参数 需填 3 项
Create webhook
必填参数:access_token、url、events
deleteWebhook 2 个参数 需填 2 项
Delete webhook
必填参数:access_token、webhook_id
listWebhooks 1 个参数 需填 1 项
List webhooks
必填参数:access_token
getWebhookEvents 1 个参数 需填 1 项
Get available webhook events
必填参数:access_token
verifyWebhookSignature 4 个参数 需填 4 项
Verify webhook signature
必填参数:signature、message_id、timestamp、body
getPublicKey
Get public key for signature verification
该工具无需必填参数,直接调用即可
getWebhookPayloads 2 个参数 需填 2 项
Get example webhook payloads
必填参数:access_token、event_type
retryWebhook 3 个参数 需填 3 项
Retry failed webhook
必填参数:access_token、webhook_id、message_id
checkWebhookSubscriptionStatus 2 个参数 需填 2 项
Check webhook subscription status
必填参数:access_token、webhook_id
searchChannels 1 个参数 需填 1 项
Search channels
必填参数:query
searchStreams 1 个参数 需填 1 项
Search streams
必填参数:query
searchUsers 1 个参数 需填 1 项
Search users
必填参数:query
searchCategories 1 个参数 需填 1 项
Search categories
必填参数:query
getCategories 1 个参数 需填 1 项
Get categories
必填参数:access_token
getCategory 2 个参数 需填 2 项
Get category
必填参数:access_token、category_id
getCategoryStreams 2 个参数 需填 2 项
Get category streams
必填参数:access_token、category_id
getTopStreams 2 个参数 需填 2 项
Get top streams
必填参数:access_token、category_id
getRecommendedStreams 2 个参数 需填 2 项
Get recommended streams
必填参数:access_token、category_id
getFollowedStreams 2 个参数 需填 2 项
Get followed streams
必填参数:access_token、category_id
createClip 4 个参数 需填 4 项
Create clip
必填参数:access_token、channel_id、start_time、end_time
getClip 2 个参数 需填 2 项
Get clip
必填参数:access_token、clip_id
deleteClip 2 个参数 需填 2 项
Delete clip
必填参数:access_token、clip_id
updateClip 4 个参数 需填 4 项
Update clip
必填参数:access_token、clip_id、title、description
getChannelBySlug 1 个参数 需填 1 项
Get channel by slug
必填参数:slug
getAppAccessToken 2 个参数 需填 2 项
Get app access token
必填参数:client_id、client_secret
getChatSenderIdentity 2 个参数 需填 2 项
Get chat sender identity
必填参数:access_token、channel_id
getChannelSubscriptionStatus 2 个参数 需填 2 项
Get channel subscription status
必填参数:access_token、channel_id
getWebhookSubscriptions 2 个参数 需填 2 项
Get webhook subscriptions
必填参数:access_token、webhook_id
updateWebhookSubscriptions 3 个参数 需填 3 项
Update webhook subscriptions
必填参数:access_token、webhook_id、subscriptions
服务介绍
🎮 KickMCP - Kick API 集成变得简单
🚀 一个强大的模型上下文协议 (MCP) 服务器,用于无缝集成 Kick.com API
📋 目录
🚀 快速开始
- 安装包:
npm install kick-mcp
- 创建你的 MCP 配置 (mcp.json):
{
"mcpServers": {
"kickmcp": {
"command": "node",
"args": ["./dist/bin/mcp.js"]
}
},
"version": "1.0.0",
"description": "MCP configuration for KickMCP project",
"defaultServer": "kickmcp"
- 获取你的凭证:
- 访问 Kick 开发者设置 以获取你的客户端 ID
- 从 Smithery.ai 获取你的 Smithery 密钥
✨ 功能
-
完整的 Kick API 集成:
- 认证(OAuth、应用访问令牌)
- 支持回复的聊天消息
- 通过 ID 和别名获取频道信息
- 用户个人资料管理
- 流控制(开始/停止/更新)
- 投票和预测
- 直播状态 Webhook
- 类别搜索和趋势内容
-
MCP 标准合规性:
- JSON-RPC 2.0 接口
- 标准化的认证
- 可扩展的端点
- AI 助手兼容性
-
开发者体验:
- 现代化的 TypeScript 代码库
- 全面的文档
- 内置诊断
- 一致的错误处理
👥 用户指南
👀 观众使用
通过 KickMCP 提升您的观看体验:
- 聊天集成:构建支持实时消息的自定义聊天客户端
- 频道通知:当您喜欢的主播上线时接收警报
- 内容发现:发现新的频道和趋势类别
示例:设置聊天通知
const kickmcp = require('kick-mcp');
kickmcp.on('chatMessage', (message) => {
if (message.mentions.includes(yourUsername)) {
sendNotification(`${message.sender} mentioned you!`);
}
});
🎥 主播使用
优化您的直播工作流程:
- 流管理:以编程方式控制您的流设置
- 聊天管理:构建自定义管理工具
- 分析:跟踪观众参与度和频道增长
- 投票与预测:创建互动内容
示例:创建一个投票
const poll = await kickmcp.createPoll({
question: "What game next?",
options: ["Minecraft", "Fortnite", "Valorant"],
duration: 300 // 5 minutes
});
💻 开发者使用
构建强大的 Kick.com 集成:
- OAuth 认证:安全的用户认证流程
- Webhook:实时事件处理
- RESTful API:完整的 API 覆盖
- TypeScript 支持:完整类型定义
示例:设置 Webhook
const webhook = await kickmcp.createWebhook({
events: ['stream.online', 'stream.offline'],
url: 'https://your-server.com/webhook'
});
🔧 安装
npm install kick-mcp
# or with yarn
yarn add kick-mcp
🔑 认证设置
- 访问 Kick 开发者设置
- 创建一个新的应用
- 复制你的 Client ID 和 Client Secret
- 配置你的 MCP 服务器:
const kickmcp = require('kick-mcp');
kickmcp.configure({
clientId: 'YOUR_CLIENT_ID',
clientSecret: 'YOUR_CLIENT_SECRET'
});
📚 API 文档
有关详细的 API 文档,请访问:
🔍 故障排查
常见问题及解决方案:
-
认证错误
- 核实你的 Client ID 和 Secret
- 检查你的 OAuth 重定向 URI
- 确保你的 Smithery 密钥有效
-
速率限制
- 实现适当的请求节流
- 在适当的地方使用缓存
- 监控你的 API 使用情况
🤝 贡献
我们欢迎贡献!详情请参阅我们的 贡献指南。
📄 许可证
MIT © NosytLabs