Skip to main content
Glama

看看播放器 MCP

Cloud connector for 看看播放器.
云端连接器:通过账号控制已登录的电脑或手机播放器。

This is a thin MCP shell. It is not the main player repository, and it has no local database. All calls go to the official API at https://kankanplayer.com.

Default install = remote HTTPS → https://kankanplayer.com/api/bot-mcp/v1/mcp
An optional stdio shell (.mcp.stdio.json / npx) is included for local Claude Desktop. It calls the same official API with the same key.

The logo in assets/logo.png is the official 看看播放器 mark from the product website.

Contact: support@kankanplayer.com


English

What this is

A thin Model Context Protocol surface that lets an assistant pause, resume, skip, seek, change volume, play a link or a list item, and read status on a logged-in 看看播放器.

The player itself does the work. The cloud path is:

account → API key → official API → a logged-in Windows, Android, or iOS player that is already open.

Commands live for two minutes. The tool waits a short time for the player to answer.

What this is not

  • Not the main 看看播放器 product repo

  • No local database, no media files, no playback engine

  • This connector talks to the official API. Keep 看看播放器 open and logged in on the computer or phone you want to control, with Grok Bot enabled for the account

Root mcp.json / .mcp.json already default to remote. After install, fill the kkp_ key (plugin variables card, Grok secure card, or headers).

{
  "mcpServers": {
    "kankan-player": {
      "url": "https://kankanplayer.com/api/bot-mcp/v1/mcp",
      "headers": {
        "Authorization": "Bearer ${KANKAN_PLAYER_MCP_API_KEY}"
      }
    }
  }
}
  1. Ask an admin to enable Grok Bot for the account if it is still closed.

  2. Sign in at kankanplayer.com/account.html, open 云端控制, and generate a key (kkp_…). The full key is shown once.

  3. Install this GitHub repo or paste the URL into Grok Bot / Cursor MCP settings.

  4. Set KANKAN_PLAYER_MCP_API_KEY (or paste Bearer kkp_… into headers). Never commit a real key.

  5. Open 看看播放器 on the computer or phone, and stay logged in.

Auth: Authorization: Bearer kkp_… (or X-Api-Key). v1 is stateless JSON (no SSE session).
Do not put the key in the URL or in this repo.

Manual Cursor user config can use ${env:KANKAN_PLAYER_MCP_API_KEY} instead of the plugin ${KANKAN_PLAYER_MCP_API_KEY} placeholder. See REMOTE.md and AUTH.md.

The official host is kankanplayer.com. Do not point this connector at api.kankanplayer.com.

Optional: stdio (local Claude Desktop / Cursor)

Only if you need a local Node process. Copy .mcp.stdio.json or:

npx -y github:sdrom2008/kankan-player-mcp
{
  "mcpServers": {
    "kankan-player": {
      "command": "npx",
      "args": ["-y", "github:sdrom2008/kankan-player-mcp"],
      "env": {
        "KANKAN_PLAYER_MCP_API_KEY": "kkp_xxxxxxxx"
      }
    }
  }
}

Or clone + npm install + npm run build and point command at dist/index.js.

The process reads only KANKAN_PLAYER_MCP_API_KEY.
Optional KANKAN_PLAYER_MCP_BASE_URL must be https on kankanplayer.com. A local API needs KANKAN_PLAYER_MCP_ALLOW_INSECURE_LOCAL=1 and http://localhost or http://127.0.0.1. Optional KANKAN_PLAYER_MCP_ALLOWED_HOST_SUFFIX defaults to kankanplayer.com and must itself be kankanplayer.com or a subdomain of it.

Tools

Tool

Purpose

account_status

Whether this key can control logged-in players, and which ones are currently listening

player_status

What the player is playing

player_playlist

Current list

player_pause / player_resume / player_toggle / player_stop

Playback

player_next / player_previous

Move in the list

player_seek

Jump or skip, with seconds or delta

player_volume

Volume 0–100

player_play

Play a list item (playlistIndex / name) or an http(s) link (source)

target may be windows, android, ios, phone, or any. If omitted, the first player that picks up the command handles it. phone is phones only.

Suggested flow: account_status → player_status or player_playlist → pause, skip, seek, play.

Auth

See AUTH.md. Keys look like kkp_ plus hex. This repo never stores account secrets.

License

MIT


Related MCP server: Spotify MCP Server

中文

这是看看播放器的云端连接器,不是播放器主仓库,也不带本地数据库。默认连到正式地址 https://kankanplayer.com/api/bot-mcp/v1/mcp。

要控制播放,需要:

  1. 管理员先为这个账号打开 Grok Bot。

  2. 在官网账号页生成密钥,开头是 kkp_,完整内容只显示一次。

  3. 把密钥填进助手的安全卡或插件变量,不要写进仓库或网址。

  4. 电脑或手机上的看看播放器保持打开,并登录同一个账号。

云端这条路走的是账号。要控制哪台电脑或手机,就在那台上打开看看播放器并保持登录。

先调用 account_status,查看账号是否可用、哪台播放器在线,再查看或控制播放。target 可以是 windows、android、ios、phone 或 any。不写时发给先接到的那一台。

Available Tools

12 tools
account_statusB
Read-only

查看这把密钥对应的账号是否可以控制已登录的播放器。

Inputs: no named parameters.

player_nextC

播放下一集。

Inputs: target.

player_pauseB

暂停已登录的播放器。

Inputs: target.

player_playC

播放列表里的某一条,或主人给出的网址。用 playlistIndex、name 或 source。

Inputs: name, source, target, playlistIndex.

player_playlistC
Read-only

查看已登录播放器的列表。

Inputs: target.

player_previousC

播放上一集。

Inputs: target.

player_resumeC

继续播放。

Inputs: target.

player_seekB

跳到指定时间,或快进快退。用 seconds 或 delta,单位是秒。

Inputs: delta, target, seconds.

player_statusB
Read-only

查看已登录播放器正在播什么。

Inputs: target.

player_stopC

停止播放。

Inputs: target.

player_toggleC

在暂停和继续之间切换。

Inputs: target.

player_volumeB

设置音量,0 到 100。

Inputs: level (required), target.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 12 tools

    Disambiguation4/5

    Each tool maps to a distinct player action (status, playlist, pause, resume, stop, next, previous, seek, volume, play), and descriptions clarify the boundaries. The only mild overlaps are pause/resume vs. toggle and player_play vs. player_resume, but the descriptions ('toggle between pause and resume', 'play a specific item or URL') make the intended use clear.

    Naming Consistency4/5

    Almost every tool uses a consistent snake_case player_<action> pattern, making the set predictable. The only deviation is account_status with a different prefix, which is justified since it targets the account rather than the player, plus noun-style names (player_status, player_playlist) sit alongside verb-style ones, a minor but readable inconsistency.

    Tool Count5/5

    Twelve tools is a well-scoped size for a media player remote. Each one corresponds to a real, frequently used playback operation (transport controls, seek, volume, playlist, status, auth check) and none feels redundant.

    Completeness4/5

    The surface covers the full basic playback lifecycle — inspect status/playlist, play, pause, resume, toggle, stop, skip, seek, volume, and an auth check. Minor gaps exist around queue/library browsing (search, shuffle/repeat modes, adding items), but agents can accomplish core control workflows without dead ends.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      Enables control of Spotify playback through OAuth authentication, including play/pause, track navigation, volume control, device management, and searching/playing songs by artist or track name.
      11
      1
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables control of Spotify playback via the official Web API, including search/play, pause, skip, volume, queue, and device management.
      127 npm
      1
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to control Spotify playback, search the catalog, and manage playlists and liked songs through natural language. Supports reading currently playing tracks, queues and devices, plus play, pause, skip, queueing, volume control, and playlist creation and editing.
      30
      -