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。不写时发给先接到的那一台。

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    • Full Spotify Web API coverage - albums, artists, playlists, player controls, and more.

      https://sptfy-mcp.online/mcp
    • Spotify MCP server for ChatGPT, Claude and any AI agent: search songs and artists, list playlists, read playlist songs, create playlist, add songs to playlist, remove songs from playlist, set playlist public or private and save to Liked Songs in your own Spotify account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Spotify yourself; Cotlet does not store your password and you need no Spotify API key. About the official Spotify API: Spotify has a full Web API and, since 23 Apr 2026, an official connector for Claude (checked 5 Nov 2026). The API needs an app you register, and in development mode the app owner must have Premium and the app allows 5 users; unlimited users need a registered business with at least 250,000 monthly users. Setup and FAQ: https://cotlet.dev/integrations/spotify-api-mcp-server

      https://cotlet.dev/mcp/v1/spotify
    • Sonos MCP server: control your Sonos speakers from any MCP client. Play songs, artists and playlists, set volume, group rooms, move music to another room, switch to TV, spoken announcements and reminders. 27 tools, English and Chinese. Works through the official Sonos cloud, so there is no home bridge to install; sign in with OAuth. Requires the free ZoneFoundry iOS app.

      https://relay.zonefoundry.dev/mcp
    • Control your existing Philips lights, Sonos speakers, Roborock vacuums and other supported devices through Port OS cloud. Give ChatGPT, Claude and other MCP-compatible assistants access to the devices you connect. Turn off the living room lights, play music on your speakers, adjust the thermostat, run a vacuum in a room, check a camera snapshot or find a connected tracker. Available actions depend on your linked provider accounts and each device’s supported capabilities. Port OS runs in the cloud; no local server is required. You choose the account, device and capability permissions each assistant receives. Device operations require user OAuth; public tool discovery does not grant device access. Port OS is in alpha. Setup: https://portoperatingsystem.com/docs/getting-started/ Support: https://portoperatingsystem.com/contact/

    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.
      118 npm
      1
      MIT