Skip to content

Add Kling MCP skill for GitHub Copilot 🤖🤖🤖 - #6519

Open
Wlain wants to merge 2 commits into
github:mainfrom
Wlain:codex/kling-mcp-skill
Open

Wlain wants to merge 2 commits into
github:mainfrom
Wlain:codex/kling-mcp-skill

Conversation

@Wlain

@Wlain Wlain commented Nov 19, 2026

Copy link
Copy Markdown

Adds a practical kling-mcp Skill for GitHub Copilot users. It explains how to choose the official Global or China OAuth endpoint, connect it through Copilot CLI or VS Code, distinguish remote MCP from the four regional plugin/CLI npm packages, inspect live tool capabilities, and obtain explicit approval before a credit-consuming generation.

The Skill is written as neutral setup and usage guidance, with account-region, OAuth, credit, upload, and retry limitations. It does not claim that the service is free or that a generation was tested.

Validation performed:

  • npm run skill:validate — passed (465 skills)
  • npm start — passed; generated the skills index entry

I did not run a live OAuth or generation test because that would require configuring a user account and could submit a credit-consuming job.

Disclosure: I work at Kling AI. This is a community contribution, not a paid placement.

References:

@Wlain
Wlain requested review from a team as code owners November 19, 2026 04:07
Copilot AI adaptive review requested due to automatic review settings November 19, 2026 04:07
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

🚦 Submission status: 👀 Ready for review

Risk tier: merge-risk:high — Privileged execution, automation, or review-policy change
Required to merge: passing submission-gate checks plus 1 approval from reviewers with write access, including a maintainer with admin or maintain permission.

Why this tier
  • Label needs-review:HIGH flags a high contributor-risk signal

Automated checks

Check Status Details
Line endings ✅ Passed Passed · logs
Spelling ✅ Passed Passed · logs
Generated README consistency ✅ Passed Passed · logs
Skill validation ✅ Passed Passed · logs
Skill lint (vally) ✅ Passed Passed · logs
Risk scan ✅ Passed Passed · logs
Contributor reputation ✅ Passed Passed · logs
Duplicate resource scan ✅ Passed Passed · logs
PR quality signal ⏭️ Skipped Skipped by its workflow · logs

Review

  • Approvals: 0/1
  • Assigned reviewer: not assigned yet — comment /request-review to ask for one
  • Review target date: not set
  • Still needed: 1 more approval(s); an approval from a maintainer with admin or maintain permission
  • The core-maintainers pool is not staffed yet; an approver with admin or maintain permission is required instead.

Commands

Command Who What it does
/rerun-checks PR author, maintainers Re-runs failed or incomplete checks and re-evaluates this gate
/request-review PR author, maintainers Asks the review rotation to assign a reviewer (adds needs-reviewer)

Updated for d3a5caa · gate run · This comment is maintained automatically — see submission gate docs.

@github-actions github-actions Bot added new-submission PR adds at least one new contribution skills PR touches skills labels Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔒 PR Risk Scan Results

Scanned 1 changed file(s).

Severity Count
🔴 High 0
🟠 Medium 0
ℹ️ Info 0

✅ No matching risk patterns were detected in changed files.

This is an automated soft-gate report. Findings indicate review targets and do not block merge by themselves.

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

🔴 Contributor Reputation Check: HIGH risk

Check Risk
Profile HIGH
Credential audit NONE

Maintainers: please review this contributor before merging.
See the workflow run for full details.
Automated check powered by AGT.

@github-actions github-actions Bot added the needs-review:HIGH Contributor reputation check flagged HIGH risk label Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Vally Lint Results

✅ All checks passed

Scope Checked
Skills 1
Agents 0
Total 1
Severity Count
❌ Errors 0
⚠️ Warnings 0
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ ✅ kling-mcp (2/2 checks passed)
ℹ️ ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
ℹ️ ✓ spec-compliance: All spec checks passed.
ℹ️ ✓ [valid-refs] All file references across 1 skill(s) are valid.
ℹ️ ✓ valid-refs: All file references resolve to existing files within the skill directory.
ℹ️ 1 skill(s) linted, 1 passed
Full linter output
### Linting skills/kling-mcp
✅ kling-mcp (2/2 checks passed)
    ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
        ✓ spec-compliance: All spec checks passed.
    ✓ [valid-refs] All file references across 1 skill(s) are valid.
        ✓ valid-refs: All file references resolve to existing files within the skill directory.

1 skill(s) linted, 1 passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Approval should wait for maintainer verification of the live regional OAuth/MCP endpoints, package and tool contracts, and credit-bearing generation workflow, which were not validated offline.

No open issues 🎉

What changed in this PR

Adds a Kling AI MCP skill that helps GitHub Copilot users connect to the correct regional service, discover available capabilities, and manage image and video generation workflows.

Changes:

  • Adds regional OAuth endpoint and Copilot CLI/VS Code setup guidance.
  • Documents official client packages, live capability discovery, asset handling, task queries, and generation safeguards.
  • Registers the new skill in the generated skills catalog.
File Description
skills/​kling-mcp/​SKILL.md Adds Kling AI MCP setup, regional account guidance, tool discovery, asset handling, task management, and generation workflow guidance.
docs/​README.skills.md Adds the generated catalog entry for the kling-mcp skill.

Review effort: Lite (adaptive)

Copilot AI adaptive review requested due to automatic review settings November 19, 2026 04:09
@Wlain

Wlain commented Nov 19, 2026

Copy link
Copy Markdown
Author

/request-review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Live validation was not performed for the third-party OAuth/MCP service, leaving endpoint, tool, regional access, workspace, consent, and credit-use claims unverified and potentially consequential.

No open issues 🎉

Review effort: Lite (adaptive)

@github-actions

Copy link
Copy Markdown
Contributor

🙋 Added needs-reviewer. Reviewer routing is assigning a reviewer now.

@github-actions github-actions Bot added merge-risk:high ready-for-review Submission passed intake validation and is ready for maintainer review and removed merge-risk:medium awaiting-automation labels Nov 19, 2026
@Wlain

Wlain commented Nov 19, 2026

Copy link
Copy Markdown
Author

Thanks for the review. To make a no-charge maintainer check actionable, the official regional client configs are Global and China. An OAuth connection followed by MCP initialize and tools/list can verify endpoint reachability and the live tool schemas without invoking generation, uploading files, or submitting tasks.

The Skill directs the agent to discover live capabilities, show the final model/settings and credit use, and wait for explicit approval before generation. This PR does not claim that a credit-bearing generation was live-tested; please assess that workflow from the published instructions and official setup guide: https://kling.ai/app/mcp/guide.

@Wlain

Wlain commented Nov 19, 2026

Copy link
Copy Markdown
Author

No-charge endpoint verification: I just sent an unauthenticated MCP initialize request to each official regional endpoint. Both responded with HTTP 401 and an OAuth protected-resource challenge:

  • Global https://kling.ai/mcp/plugin → https://kling.ai/.well-known/oauth-protected-resource/mcp/plugin
  • China https://klingai.com/mcp/plugin → https://klingai.com/.well-known/oauth-protected-resource/mcp/plugin

This confirms both routes are reachable and advertise OAuth; it does not verify an authenticated session or tools/list. No files were uploaded and no generation was submitted, so this check used no Kling credits. The active official Registry records are also publicly queryable here.

@Wlain

Wlain commented Nov 19, 2026

Copy link
Copy Markdown
Author

/request-review

@github-actions

Copy link
Copy Markdown
Contributor

🙋 Added needs-reviewer. Reviewer routing is assigning a reviewer now.

@Wlain

Wlain commented Nov 20, 2026

Copy link
Copy Markdown
Author

/request-review

@github-actions

Copy link
Copy Markdown
Contributor

🙋 Added needs-reviewer. Reviewer routing is assigning a reviewer now.

@Wlain

Wlain commented Nov 20, 2026

Copy link
Copy Markdown
Author

@github/awesome-copilot-content-reviewers Could someone from the content review team manually assign a reviewer for this PR? It is marked ready for review and the automated checks pass, but two /request-review attempts have not assigned anyone. The bot reviewer also noted that a maintainer should verify the live regional OAuth/MCP setup. I cannot provide production credentials or trigger credit-bearing generation, but the public Global/China configs and no-charge OAuth challenge checks are linked above. Thank you.

@Wlain

Wlain commented Nov 22, 2026

Copy link
Copy Markdown
Author

Public endpoint check (2026-11-22): unauthenticated initialize requests to both official /mcp/plugin endpoints return the expected 401 Bearer challenge with the matching Global or China protected-resource URL. The official MCP Registry currently marks Global v1.0.1 and China v1.0.0 as active/latest and lists the matching regional endpoints. This verifies public OAuth discovery and registry metadata only; I did not sign in, call tools/list or tools/call, or run generation, so I am not claiming authenticated tool or credit-flow validation. The skill directs Copilot to discover the live tool schema after connection and discloses that generations use the corresponding account credits. If the maintainers require broader non-billable validation, please point me to an acceptable test profile or process.

@Wlain

Wlain commented Nov 22, 2026

Copy link
Copy Markdown
Author

/request-review

@github-actions

Copy link
Copy Markdown
Contributor

🙋 Added needs-reviewer. Reviewer routing is assigning a reviewer now.

@Wlain

Wlain commented Nov 25, 2026

Copy link
Copy Markdown
Author

/request-review

@github-actions

Copy link
Copy Markdown
Contributor

🙋 Added needs-reviewer. Reviewer routing is assigning a reviewer now.

@Wlain

Wlain commented Nov 29, 2026

Copy link
Copy Markdown
Author

Read-only endpoint check (no credentials, MCP tool invocation, or generation): unauthenticated GET requests to both official regional endpoints returned HTTP 401 with OAuth challenges pointing to each host's protected-resource metadata. This confirms reachability and that authentication is required; it does not verify tools/list, regional account eligibility, workspace permissions, or credit behavior. I have not run those user-authenticated or credit-consuming checks, so the Skill stays explicit about that limit and relies on Kling's official setup guide: https://kling.ai/app/mcp/guide

@Wlain

Wlain commented Nov 29, 2026

Copy link
Copy Markdown
Author

Additional read-only verification for the review:

  • The official npm registry currently resolves @klingai/plugin-global and @klingai/plugin-cn at 1.0.9, and @klingai/cli-global and @klingai/cli-cn at 0.2.5. The registry descriptions identify the plugin packages as Kling image/video creation integrations and the CLI packages as thin MCP clients. These are separate packages; this Skill directs Copilot users to the hosted MCP endpoint.
  • Unauthenticated GETs to both official regional endpoints return HTTP 401, confirming that the hosts are reachable and require OAuth. The Global response advertises the protected-resource metadata URL.
  • The Skill's generation safeguards and region/credit limitations are sourced from Kling's first-party guide and defer runtime capability selection to who_am_i and the connected server's live tool schemas. I have not performed an authenticated generation or claimed independent verification of the credit workflow.

Sources: https://www.npmjs.com/package/@klingai/plugin-global ; https://www.npmjs.com/package/@klingai/plugin-cn ; https://www.npmjs.com/package/@klingai/cli-global ; https://www.npmjs.com/package/@klingai/cli-cn ; https://kling.ai/app/mcp/guide

@Wlain

Wlain commented Nov 29, 2026

Copy link
Copy Markdown
Author

/request-review

@github-actions

Copy link
Copy Markdown
Contributor

🙋 Added needs-reviewer. Reviewer routing is assigning a reviewer now.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk:high needs-review:HIGH Contributor reputation check flagged HIGH risk needs-reviewer new-submission PR adds at least one new contribution ready-for-review Submission passed intake validation and is ready for maintainer review skills PR touches skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants