mirror of
https://github.com/HappyLifeOk/cc-3-8-x-mcp.git
synced 2026-06-10 17:56:47 +00:00
14c5b00f14
Cocos Creator 3.8.x MCP bridge extension with a built-in offline CLI. Components: - Editor extension: in-process MCP server exposing scene / asset-db / preview / local / editor-process-control tools - stdio router: aggregates multiple editor instances on one machine, with shortName dedup - offline CLI (cocos-mcp-cli): headless prefab read/write + a wrapper around the Cocos CLI build Pure Node.js, zero third-party dependencies. Licensed under Apache-2.0.
8 lines
172 B
JavaScript
Executable File
8 lines
172 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
'use strict';
|
|
|
|
require('../src/index.js'); // 确保模块可正常加载
|
|
const { main } = require('../src/cli/main.js');
|
|
|
|
main(process.argv.slice(2));
|