Skip to main content
Glama

🧠 MCP-FWCC:Cocos 通用槽框架知识服务器

模型上下文协议(MCP) 服务器,为 Cocos Creator 2.4 中的 cc-common 槽框架 SDK 提供丰富的语义搜索、AST 类探索、架构关系图和分步指南。


🌟 特性

  • 📚 307+ 个索引 SDK 模块:完整覆盖 cc-core-lib、cc-network、cc-slot-module、cc-slot-mechanics 和 cc-slot-features。

  • ⚡ 高速 MiniSearch 引擎:跨类定义、属性、方法、装饰器和实现源码进行即时模糊全文搜索。

  • 🕸️ 概念图引擎:映射 Director、Table 模块、Symbol 管理器、Payline 信息、GameDataStore 和事件总线之间的关系。

  • 🔌 多传输支持:

    • HTTP JSON-RPC 2.0(POST http://localhost:8925/)

    • 服务器发送事件 SSE(http://localhost:8925/sse 和 /messages)

    • Stdio 传输(--stdio)

  • 🩺 实时健康检查:http://localhost:8925/health


Related MCP server: Cocos Creator MCP Server

🛠️ MCP 工具

工具

描述

fwcc_search_docs

在 307+ 个 cc-common SDK 文章、类、方法和机制中进行模糊搜索

fwcc_get_doc

检索任何模块的完整 Markdown 文档和源码摘录

fwcc_list_topics

列出 cc-common 中可用的类别和主题,以及导出的类

fwcc_get_class_api

获取详细的类签名、属性、方法和继承层次结构

fwcc_get_related_topics

通过图遍历查找相关的类、机制和事件流


🚀 快速开始

1. 构建与运行

npm install
npm run build
npm start

2. 客户端配置

Antigravity / Gemini IDE(.agents/mcp_config.json)

{
  "mcpServers": {
    "mcp-fwcc": {
      "command": "node",
      "args": ["c:/Users/ADMIN/lamnino/cc20-new-all-in-one/mcp/mcp-fwcc/dist/index.js"]
    }
  }
}

Cursor(.cursor/mcp.json)

{
  "mcpServers": {
    "mcp-fwcc": {
      "url": "http://localhost:8925/sse"
    }
  }
}

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to directly control the Cocos Creator 3.8.x editor via MCP protocol, providing over 130 tools for scene, node, component, asset, and project operations.
      44
      -
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to interact with the Cocos Creator 3.8+ editor through standardized protocols for scene, node, component, prefab, asset, project, debugging, and server operations.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to search and analyze Unity project assets, including references and dependencies, via the Model Context Protocol.
      -