360 Secure SkillHub
360 安全技能中心

Kling MCP via WeChat

该 Skill 是一套接入说明:通过腾讯维护的 OpenClaw 微信通道,把微信私信接到 OpenClaw 代理,再连接 Kling 官方 MCP。内容覆盖微信插件安装、OAuth 登录、MCP 探测、区域选择与常见故障排查,并提醒不要用消耗 Kling 额度的生成操作做测试。

分类:自动化
klingai-dev
klingai-dev
热度 2.82
最近更新 2026-11-24 08:15:40

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add klingai-dev/kling-wechat-mcp-plugin
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
kling-wechat-mcp-plugin
description
Connect Kling AI's official MCP to OpenClaw and use it through Tencent's Weixin channel. Use when configuring or troubleshooting the WeChat → OpenClaw → Kling MCP path.
metadata
{"short-description":"Use Kling MCP from WeChat through OpenClaw"}

Kling MCP through WeChat and OpenClaw

This is a bridge, not a native WeChat MCP client:

WeChat DM → Tencent-maintained OpenClaw Weixin channel → OpenClaw agent → Kling official MCP

The Global and China Kling MCP endpoints use OAuth. OpenClaw supports remote Streamable HTTP MCP with OAuth.

Set up the Weixin channel

  1. Check that OpenClaw is installed and updated. Use OpenClaw 2026.5.12 or newer with Node.js 22.13.0 or newer for the Tencent plugin's current peer requirement.

  2. Install Tencent's channel plugin:

    openclaw plugins install "@tencent-weixin/openclaw-weixin"
    openclaw config set plugins.entries.openclaw-weixin.enabled true
    openclaw gateway restart
    
  3. On the machine running the Gateway, start Weixin login:

    openclaw channels login --channel openclaw-weixin
    

    The account holder scans and confirms the QR code themselves. Never request or copy session credentials. Use the channel's pairing/allowlist controls before accepting messages from other senders.

Connect Kling MCP

Use the endpoint for the user's Kling account region. Global and China accounts, credits, and tasks are separate; configure one region per OpenClaw instance.

Global:

openclaw mcp add kling-ai \
  --url https://kling.ai/mcp/plugin \
  --transport streamable-http \
  --auth oauth \
  --header X-Kling-Integration=Plugin-OpenClaw \
  --connect-timeout 30 \
  --timeout 60 \
  --no-probe

China:

openclaw mcp add kling-ai \
  --url https://klingai.com/mcp/plugin \
  --transport streamable-http \
  --auth oauth \
  --header X-Kling-Integration=Plugin-OpenClaw \
  --connect-timeout 30 \
  --timeout 60 \
  --no-probe

Then authorize in a browser and inspect the tools:

openclaw mcp login kling-ai
openclaw mcp status --verbose
openclaw mcp probe kling-ai

Do not paste OAuth tokens into config files or chat. If the user already has a kling-ai MCP entry, inspect its region before changing it; do not overwrite an existing account setup without explicit direction.

Verify without spending credits

  • Confirm OAuth status and that the MCP probe discovers Kling tools.
  • If the conversation agent offers a read-only identity or account-credit query, use it only when the user asks to verify account access.
  • Do not call image/video generation, upload, task creation, or other credit-consuming actions as a test. Explain that real generations use the user's Kling credits and wait for an explicit generation request.
  • A successful MCP probe verifies OAuth connectivity and tool discovery. It does not by itself verify that WeChat messages reach the agent.
  • To verify the full route, the account holder must send a DM to the paired Weixin bot. Start with a non-generating request such as asking for the available Kling tools; report clearly whether the DM round trip was tested.

Troubleshoot

  • OAuth not authorized: run openclaw mcp login kling-ai and complete the browser flow as the account holder.
  • No Kling tools: run openclaw mcp probe kling-ai, confirm the endpoint region, then restart the Gateway and start a new conversation.
  • Weixin not connected: check openclaw channels status --probe; verify the channel plugin is enabled and that the QR login was completed on the Gateway host.
  • Unknown sender cannot message the agent: inspect the OpenClaw pairing/allowlist configuration and have the account owner approve the sender.

Official references