旧扩展 @iflow-mcp/harady-cocos-creator-mcp(164 个细粒度工具 + stdio-bridge
转发)整个删除, 换成 cocos-mcp-server v1.7.9(16 个聚合工具, 靠 action 分派)。
新扩展自身起 streamable-http 服务, 不再需要 stdio 桥, 故 .mcp.json 从
node + stdio-bridge.js 改为 { type: "http", url: "http://127.0.0.1:3000/mcp" }。
原配置指向的 client/stdio-bridge.js 已随旧扩展删除, MCP 因此加载失败。
服务器名保留 cocos-creator-mcp(而非 INSTALL.md 建议的 cocos-creator), 以免
打断 CLAUDE.md、cocos-mcp 技能与 settings.local.json 里的
mcp__cocos-creator-mcp__* 允许规则。
gitignore: 新扩展是商业付费产品(vberai), 非 npm 可重装, dist/sidecar/static
共约 16M 发行产物+加密载荷+平台二进制不入库; 顺带忽略 Claude Code 个人本地
配置与编辑器运行时端口文件。
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
245 lines
12 KiB
JavaScript
245 lines
12 KiB
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
"extension_name": "Cocos MCP Server",
|
|
"description": "AI MCP Server for Cocos Creator 3.8",
|
|
"panel_title": "MCP Server",
|
|
"open_panel": "Open MCP Panel",
|
|
"start_server": "Start Server",
|
|
"stop_server": "Stop Server",
|
|
"server_status": "Server Status",
|
|
"port": "Port",
|
|
"settings": "Settings",
|
|
"connected": "Connected",
|
|
"disconnected": "Disconnected",
|
|
"server_running": "Server is running on port {0}",
|
|
"server_stopped": "Server has stopped",
|
|
"auto_start": "Auto Start",
|
|
"debug_log": "Debug Logging",
|
|
"max_connections": "Max Connections",
|
|
"connection_info": "Connection Info",
|
|
"http_url": "HTTP URL",
|
|
"copy": "Copy",
|
|
"save_settings": "Save Settings",
|
|
"settings_saved": "Settings saved successfully",
|
|
"server_started": "MCP Server Started",
|
|
"server_stopped_msg": "MCP Server Stopped",
|
|
"failed_to_start": "Failed to start server",
|
|
"failed_to_stop": "Failed to stop server",
|
|
"failed_to_save": "Failed to save settings",
|
|
"url_copied": "HTTP URL copied to clipboard",
|
|
"tool_manager": "Tool Manager",
|
|
"open_tool_manager": "Open Tool Manager",
|
|
"create_config": "Create Configuration",
|
|
"edit_config": "Edit Configuration",
|
|
"delete_config": "Delete Configuration",
|
|
"import_config": "Import Configuration",
|
|
"export_config": "Export Configuration",
|
|
"apply_config": "Apply Configuration",
|
|
"select_all": "Select All",
|
|
"deselect_all": "Deselect All",
|
|
"save_changes": "Save Changes",
|
|
"config_name": "Configuration Name",
|
|
"config_description": "Configuration Description",
|
|
"current_config": "Current Configuration",
|
|
"tool_management": "Tool Management",
|
|
"total_tools": "Total Tools",
|
|
"enabled_tools": "Enabled",
|
|
"disabled_tools": "Disabled",
|
|
"no_config_selected": "No Configuration Selected",
|
|
"select_config_first": "Please select a configuration or create a new one first",
|
|
"config_created": "Configuration created successfully",
|
|
"config_updated": "Configuration updated successfully",
|
|
"config_deleted": "Configuration deleted successfully",
|
|
"config_applied": "Configuration applied successfully",
|
|
"config_exported": "Configuration exported successfully",
|
|
"config_imported": "Configuration imported successfully",
|
|
"confirm_delete": "Confirm Delete",
|
|
"delete_config_confirm": "Are you sure you want to delete configuration \"{0}\"? This action cannot be undone.",
|
|
"max_config_slots_reached": "Maximum configuration slots reached ({0})",
|
|
"invalid_config_format": "Invalid configuration format",
|
|
"invalid_json_format": "Invalid JSON format or configuration structure",
|
|
"server_tab": "Server",
|
|
"tools_tab": "Tool Management",
|
|
"available_tools": "Available Tools",
|
|
"scene_tools": "Scene Tools",
|
|
"node_tools": "Node Tools",
|
|
"component_tools": "Component Tools",
|
|
"prefab_tools": "Prefab Tools",
|
|
"project_tools": "Project Tools",
|
|
"debug_tools": "Debug Tools",
|
|
"preferences_tools": "Preferences",
|
|
"server_tools": "Server Tools",
|
|
"broadcast_tools": "Broadcast Tools",
|
|
"scene_advanced_tools": "Advanced Scene Tools",
|
|
"scene_view_tools": "Scene View Tools",
|
|
"reference_image_tools": "Reference Image Tools",
|
|
"asset_advanced_tools": "Advanced Asset Tools",
|
|
"validation_tools": "Validation Tools",
|
|
"brand_name": "LiDaxian MCP Series",
|
|
"brand_subtitle": "LiDaxian MCP Series",
|
|
"contact_email": "Email",
|
|
"contact_wechat": "WeChat",
|
|
"contact_github": "GitHub",
|
|
"machine_id_label": "Machine ID",
|
|
"purchase_renew": "Purchase / Renew",
|
|
"purchase_url": "https://www.vberai.com/game-engines/cocos",
|
|
"auth_title": "Choose a sign-in method",
|
|
"auth_subtitle": "Enter your email and activation code",
|
|
"auth_choose_subtitle": "Choose a sign-in method to continue",
|
|
"email_label": "Email Address",
|
|
"activation_code_label": "Activation Code",
|
|
"email_placeholder": "Enter email",
|
|
"code_placeholder": "Enter code (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX)",
|
|
"activate_button": "Activate",
|
|
"deactivate_button": "Deactivate",
|
|
"activating": "Activating...",
|
|
"deactivating": "Deactivating...",
|
|
"license_status": "License Status",
|
|
"license_type": "License Type",
|
|
"expiry_date": "Expiry Date",
|
|
"days_remaining": "Days Remaining",
|
|
"days_unit": "d",
|
|
"permanent": "Permanent",
|
|
"expiry_warning_title": "License Expiring Soon",
|
|
"expiry_warning_message": "Your license will expire in {0} days. Please renew to avoid service interruption.",
|
|
"renew_now": "Renew Now",
|
|
"i_understand": "I Understand",
|
|
"activation_success": "License activated successfully!",
|
|
"activation_failed": "Activation failed: {0}",
|
|
"invalid_code": "Invalid activation code format",
|
|
"purchase_license": "Purchase License",
|
|
"renew_license": "Renew License",
|
|
"contact_support": "Support",
|
|
"language_switch": "English",
|
|
"version_label": "Version",
|
|
"license_required": "License required to start server",
|
|
"license_check_failed": "License check failed",
|
|
|
|
"status_stopped": "Stopped",
|
|
"status_running": "Running",
|
|
"status_error": "Connection Failed",
|
|
"config_tab": "Quick Config",
|
|
"status_label": "Status",
|
|
"connections_count": "Connections",
|
|
"transport_protocol": "Transport Protocol",
|
|
"transport_type": "Transport Type",
|
|
"mcp_url": "MCP URL",
|
|
"port_fallback_title": "Port {0} unavailable — switched to {1}",
|
|
"port_fallback_reason": "Port {0} is reserved by the system or blocked by a firewall/antivirus (common on Windows with Hyper-V, WSL2 or Docker installed). The server is running normally on the new port.",
|
|
"port_fallback_resynced": "Updated the config for: {0}. Restart these clients for the new port to take effect.",
|
|
"port_fallback_no_clients": "If you have already configured AI clients, re-run the one-click setup to point them at the new port.",
|
|
"port_fallback_dismiss": "Got it",
|
|
"port_label": "Port",
|
|
"auto_start_label": "Auto Start",
|
|
"debug_log_label": "Debug Log",
|
|
"max_connections_label": "Max Connections",
|
|
"server_settings_title": "Server Settings",
|
|
"server_status_title": "Server Status",
|
|
"connection_info_title": "Connection Info",
|
|
"tools_count": "{0} tools",
|
|
"tools_stats": "{0} tools ({1} enabled / {2} disabled)",
|
|
"quick_config_title": "Quick Config MCP Clients",
|
|
"quick_config_desc": "Auto-configure the current MCP server into mainstream AI editors and CLI tools",
|
|
"server_info": "Server Info",
|
|
"server_name_label": "Server Name",
|
|
"server_address": "Server Address",
|
|
"timeout_ms": "Timeout (ms)",
|
|
"auto_config_title": "Auto Config (IDE Editors + Codex CLI)",
|
|
"add_all": "Add All",
|
|
"remove_all": "Remove All",
|
|
"auto_config_note": "Click button to auto-modify config files (Cursor, Windsurf, Trae, Codex CLI)",
|
|
"configured": "Configured",
|
|
"not_configured": "Not Configured",
|
|
"auto_config_btn": "Auto Config",
|
|
"delete_btn": "Delete",
|
|
"copy_config": "Copy Config",
|
|
"open_config": "Open Config",
|
|
"manual_config_title": "Manual Config (Claude CLI + Gemini CLI)",
|
|
"refresh_commands": "Refresh Commands",
|
|
"manual_config_note": "The following CLI tools need manual terminal command execution",
|
|
"config_scope": "Config Scope:",
|
|
"scope_user": "User Level",
|
|
"scope_project": "Project Level",
|
|
"operation_log": "Operation Log",
|
|
"no_logs": "No operation records",
|
|
"copyright_line": "© 2025 LiDaxian - Cocos Creator MCP Server v{0}",
|
|
"protocol_line": "Based on Streamable HTTP Protocol (MCP 2025-03-26)",
|
|
"tools_copyright_line1": "Tool System - 13 intent-level tools, 150+ editor operations, action code dispatch",
|
|
"config_copyright_line1": "Quick Config - Supports Cursor, Windsurf, Trae, Codex CLI, Claude CLI, Gemini CLI",
|
|
"email_required": "Please enter email and activation code",
|
|
"permanent_label": "Permanent",
|
|
"logout_button": "Logout",
|
|
"invite_code_label": "Invite Code",
|
|
"copy_button": "Copy",
|
|
"change_code_button": "Change Code",
|
|
"change_code_title": "Change Activation Code",
|
|
"change_code_desc": "Enter your new activation code. The current device binding will be released first.",
|
|
"confirm_change": "Confirm",
|
|
"cancel": "Cancel",
|
|
"code_required": "Please enter an activation code",
|
|
"expiry_inline_warning": "Expiring soon!",
|
|
"store_purchase_hint": "If you purchased this plugin from Cocos Store, please contact me to get your activation code.",
|
|
"license_expired_title": "License Expired",
|
|
"license_expired_message": "Your license has expired and the server cannot be started. Please renew or reactivate to continue.",
|
|
"go_to_login": "Go to Login",
|
|
|
|
"log_load_config_failed": "Failed to load config status: {0}",
|
|
"log_gen_cli_failed": "Failed to generate CLI commands: {0}",
|
|
"log_add_client_failed": "Failed to add to {0}: {1}",
|
|
"log_remove_client_failed": "Failed to remove from {0}: {1}",
|
|
"quick_config_dialog_title": "One-click Configuration",
|
|
"config_operation_failed": "Configuration operation failed",
|
|
"config_file_not_found_changed_path": "Configuration failed: could not find the config file. {0} may be installed in a custom path.",
|
|
"log_batch_add_failed": "Batch add failed: {0}",
|
|
"log_batch_remove_failed": "Batch remove failed: {0}",
|
|
"log_copied_config": "Copied {0} config to clipboard",
|
|
"log_gen_config_failed": "Failed to generate config",
|
|
"log_copy_config_failed": "Failed to copy config: {0}",
|
|
"log_copied_command": "Copied {0} command to clipboard",
|
|
"log_copy_command_failed": "Failed to copy command: {0}",
|
|
"log_opened_config_file": "Opened config file: {0}",
|
|
"log_open_config_failed": "Failed to open config file",
|
|
"log_open_config_error": "Failed to open config file: {0}",
|
|
|
|
"update_available_title": "Update Available",
|
|
"update_new_version": "New version v{0} is available!",
|
|
"update_now": "Update Now",
|
|
"update_not_now": "Not Now",
|
|
"update_skip_version": "Skip v{0}",
|
|
"check_for_updates": "Check for Updates",
|
|
"update_checking": "Checking...",
|
|
"update_no_update": "You are using the latest version",
|
|
"update_urgency_critical": "Critical Update",
|
|
"update_urgency_high": "Important Update",
|
|
"update_current_version": "Current version: v{0}",
|
|
"update_changelog": "Changelog"
|
|
,"update_changelog_empty": "No release notes were provided for this version."
|
|
,"subscription_login_title": "VberAI subscription account"
|
|
,"subscription_password_label": "Password"
|
|
,"subscription_password_placeholder": "Enter password"
|
|
,"subscription_login_button": "Sign in with VberAI"
|
|
,"subscription_google_button": "Sign in with Google"
|
|
,"subscription_google_pending": "Browser opened. Complete Google authorization, then return to Cocos Creator."
|
|
,"subscription_google_pending_button": "Waiting for Google authorization..."
|
|
,"subscription_register_button": "Create a VberAI account"
|
|
,"subscription_logging_in": "Signing in..."
|
|
,"subscription_credentials_required": "Please enter email and password"
|
|
,"subscription_login_success": "Subscription account signed in"
|
|
,"subscription_login_failed": "Subscription sign-in failed"
|
|
,"subscription_not_entitled": "Your current subscription does not include Cocos 3.x MCP. Upgrade to continue."
|
|
,"subscription_upgrade_to": "Upgrade to {0} to use this product"
|
|
,"subscription_upgrade_action": "Upgrade subscription"
|
|
,"subscription_logged_in": "Signed-in account"
|
|
,"subscription_choose_button": "VberAI subscription account"
|
|
,"license_choose_button": "Activation code"
|
|
,"subscription_method_label": "Subscription"
|
|
,"back_to_login_choices": "← Choose another sign-in method"
|
|
,"subscription_signed_out_other_device": "Signed out: your account was used on another device."
|
|
,"subscription_google_cancelled": "Google sign-in was cancelled."
|
|
,"subscription_request_timeout": "The request timed out. Check your network and try again."
|
|
,"subscription_network_error": "Network connection failed. Check your network and try again."
|
|
,"subscription_server_error": "The server returned an invalid response. Try again later."
|
|
,"subscription_google_authorization_failed": "Google authorization was not completed. Please try again."
|
|
};
|