Skip to content

Add Kling AI Global and China MCP plugins 🤖🤖🤖 - #6787

Open
Wlain wants to merge 1 commit into
github:mainfrom
Wlain:codex/kling-ai-mcp-plugins-20261204
Open

Wlain wants to merge 1 commit into
github:mainfrom
Wlain:codex/kling-ai-mcp-plugins-20261204

Conversation

@Wlain

@Wlain Wlain commented Dec 3, 2026

Copy link
Copy Markdown

Summary

Add separate Kling AI Global and China plugins for GitHub Copilot CLI and VS Code.

Each plugin bundles an Agent Plugin manifest, a remote Streamable HTTP MCP configuration for the official regional endpoint, and a self-contained Skill. The READMEs disclose OAuth and credit usage, link the official regional setup guide and plugin source, and point to the corresponding npm plugin and CLI packages. The two account regions remain separate.

Validation

  • npm run plugin:validate — passed
  • npm run skill:validate — passed (all 471 skills)
  • npm run build — passed; regenerated plugin and skill indexes
  • git diff --check — passed

@Wlain
Wlain requested review from a team as code owners December 3, 2026 18:03
Copilot AI adaptive review requested due to automatic review settings December 3, 2026 18:03
@github-actions github-actions Bot added new-submission PR adds at least one new contribution plugin PR touches plugins skills PR touches skills labels Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

🔒 PR Risk Scan Results

Scanned 9 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 Dec 3, 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
  • plugins/kling-ai-china-plugin/mcp.json is a high-risk path (automation, scripts, MCP config, hooks, or review policy)
  • plugins/kling-ai-global-plugin/mcp.json is a high-risk path (automation, scripts, MCP config, hooks, or review policy)
  • Declares an MCP server or hook command in plugins/kling-ai-china-plugin/mcp.json
  • Declares an MCP server or hook command in plugins/kling-ai-global-plugin/mcp.json
  • 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
Plugin and extension validation ✅ Passed Passed · logs
Plugin structure ✅ 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
Canvas/plugin smoke test ✅ Passed Passed · 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 8c32d28 · gate run · This comment is maintained automatically — see submission gate docs.

@github-actions

github-actions Bot commented Dec 3, 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 Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

🔍 Vally Lint Results

✅ All checks passed

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

Summary

Level Finding
ℹ️ ✅ kling-ai-china-plugin (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
ℹ️ ✅ kling-ai-global-plugin (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.
Full linter output
### Linting skills/kling-ai-china-plugin
✅ kling-ai-china-plugin (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

### Linting skills/kling-ai-global-plugin
✅ kling-ai-global-plugin (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

@github-actions github-actions Bot added ready-for-review Submission passed intake validation and is ready for maintainer review and removed awaiting-automation labels Dec 3, 2026

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

Structural and build checks do not establish regional OAuth isolation, Copilot tool access, or confirmation/retry behavior for credit-consuming MCP workflows, which require representative live validation.

No open issues 🎉

What changed in this PR

Adds separate Kling AI Global and China plugins to the Copilot catalog for image and video creation.

Changes:

  • Adds regional plugin manifests and remote MCP configurations.
  • Bundles skills covering account separation, credit confirmation, and safe retries.
  • Documents installation and updates generated discovery indexes.
File Description
skills/​kling-ai-global-plugin/​SKILL.md Defines Global account usage safeguards.
skills/​kling-ai-china-plugin/​SKILL.md Defines China account usage safeguards.
plugins/​kling-ai-global-plugin/​README.md Documents Global setup and official resources.
plugins/​kling-ai-global-plugin/​plugin.json Declares Global plugin metadata and skill.
plugins/​kling-ai-global-plugin/​mcp.json Configures the Global MCP endpoint.
plugins/​kling-ai-china-plugin/​README.md Documents China setup and official resources.
plugins/​kling-ai-china-plugin/​plugin.json Declares China plugin metadata and skill.
plugins/​kling-ai-china-plugin/​mcp.json Configures the China MCP endpoint.
docs/​README.skills.md Lists both regional skills.
docs/​README.plugins.md Lists both regional plugins.
.github/​plugin/​marketplace.json Registers both plugins for discovery.

Review effort: Balanced (adaptive)

@Wlain

Wlain commented Dec 3, 2026

Copy link
Copy Markdown
Author

/request-review

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

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

@Wlain

Wlain commented Dec 4, 2026

Copy link
Copy Markdown
Author

/request-review

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

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

@Wlain

Wlain commented Dec 4, 2026

Copy link
Copy Markdown
Author

Additional safe live evidence for regional isolation (checked 2026-12-04): the unauthenticated 401 challenges from the two production MCP URLs point to distinct RFC 9728 metadata resources. The Global document identifies https://kling.ai/mcp/plugin with authorization server https://kling.ai/auth; the China document identifies https://klingai.com/mcp/plugin with authorization server https://klingai.com/auth. Both advertise generation.create, generation.read, and account.credit.read. This verifies that the published OAuth discovery metadata is separated by region and matches the PR endpoints.

Scope limit: I did not authenticate, invoke Copilot tools/call, generate media, or validate credit-confirmation/retry behavior against a live account. I will not use production credentials for those checks; if the review requires authenticated end-to-end validation, it needs a dedicated non-production test profile and an approved non-billable test path. MCP authorization reference: https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization

@Wlain

Wlain commented Dec 4, 2026

Copy link
Copy Markdown
Author

/request-review

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

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

@Wlain

Wlain commented Dec 4, 2026

Copy link
Copy Markdown
Author

Review-routing check (2026-12-05): this PR is marked needs-reviewer, but the current review-routing.yml still has dry_run: true, and its plugin pool has no configured reviewers. That explains why /request-review adds the label without creating an actual reviewer request. The submission gate and plugin/skill validation checks are passing. Could a maintainer manually assign a reviewer with write access, or enable and populate the plugin reviewer pool so this ready-for-review PR can proceed? Thank you.

@Wlain

Wlain commented Dec 4, 2026

Copy link
Copy Markdown
Author

/request-review

@github-actions

github-actions Bot commented Dec 4, 2026

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 plugin PR touches plugins 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