Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

MCPMeta

MCPMeta Logo

TwitterWebsite

Vision

A revolutionary Web3 gaming ecosystem powered by the Metaverse Creation Protocol (MCP), seamlessly integrating AI-driven creation tools, Meta Public Chain, and a creator-centric distribution platform with 90% revenue allocation to creators.

"The MCP Protocol is the global passport for game creation, bridging Minecraft's blocky worlds to the boundless possibilities of the metaverse."

Core Architecture

MCPMeta consists of four integrated components:

  • MCP Protocol: Open-source protocol for blockchainifying traditional games
  • Creator Platform: AI-driven zero-code game creation tools
  • Distribution Platform: Decentralized marketplace with flexible issuance
  • Meta Public Chain: High-performance Solana-based sidechain (50,000 TPS)

Technical Implementation

MCP Protocol

The protocol standardizes game modules with a layered structure:

class MCPModule {
  constructor(config) {
    this.id = config.id || generateUUID();
    this.name = config.name;
    this.version = config.version || '1.0.0';
    this.creator = config.creator;
    this.category = config.category || 'misc';
    this.layers = {
      terrain: config.layers?.terrain || [],  // 3D environments
      character: config.layers?.character || [], // NPCs and entities
      logic: config.layers?.logic || [],  // Game mechanics
      interaction: config.layers?.interaction || [] // UI and player interactions
    };
    this.metadata = config.metadata || {};
  }
  
  async uploadToIPFS() {
    // IPFS content addressing ensures immutable storage
    return "ipfs://Qm...";
  }
  
  async registerOnChain(options = {}) {
    // Register module ownership on Meta Public Chain
    return "0x..."; // Transaction hash
  }
}

AI-Driven Game Creation

Natural language processing transforms descriptive text into complete game modules:

class NLPGameGenerator:
    def generate_game(self, description, category="auto", complexity=0.7):
        """Generate a complete game from natural language description"""
        
        # Detect category if set to auto
        if category == "auto":
            category = self._detect_category(description)
            
        # Generate game structure
        game_structure = self._generate_game_structure(description, category, complexity)
        
        # Generate game elements
        terrain = self._generate_terrain(game_structure['terrain_description'])
        characters = self._generate_characters(game_structure['character_descriptions'])
        logic = self._generate_logic(game_structure['logic_description'], complexity)
        interactions = self._generate_interactions(game_structure['interaction_description'])
        
        # Combine into MCP module format
        module = {
            "name": game_structure['name'],
            "description": game_structure['description'],
            "category": category,
            "layers": {
                "terrain": terrain,
                "character": characters,
                "logic": logic,
                "interaction": interactions
            },
            "metadata": {
                "complexity": complexity,
                "generated": True,
                "originalDescription": description
            }
        }
        
        return module

Distribution Marketplace

The platform leverages Solana smart contracts for secure, high-performance transactions:

// Calculate fees (90% to creator, 10% to platform)
let platform_fee = (module.price * marketplace.fee_percentage as u64) / 100;
let creator_amount = module.price - platform_fee;

// Process payment via Solana Program
msg!("Processing payment of {} $META", module.price);
msg!("Creator receives: {} $META", creator_amount);
msg!("Platform fee: {} $META", platform_fee);

Traditional Game Blockchainification

Seamlessly convert existing games to blockchain-compatible modules:

async function convertMinecraftMod() {
  // 1. Read the Minecraft mod file
  const modBuffer = fs.readFileSync(config.inputMod);
  
  // 2. Parse the mod using MCP Parser
  const module = MCPParser.parseMinecraftMod(modBuffer);
  
  // 3. Customize module metadata
  module.creator = config.creatorWallet;
  module.metadata.issuanceType = config.issuanceType;
  module.metadata.price = config.price;
  
  // 4. Validate & export as MCP JSON
  if (module.validate()) {
    const moduleJson = module.toJSON();
    fs.writeFileSync(jsonPath, JSON.stringify(moduleJson, null, 2));
  }
  
  // 5. Upload to IPFS & register on Meta Public Chain
  let ipfsCid = await module.uploadToIPFS();
  const txHash = await module.registerOnChain({
    ipfsCid,
    price: config.issuanceType === 'paid' ? config.price : 0,
    isFreeTips: config.issuanceType === 'free'
  });
  
  return {
    moduleId: module.id,
    moduleName: module.name,
    ipfsCid,
    price: config.price,
    issuanceType: config.issuanceType
  };
}

Key Technical Features

  • Module Standardization: JSON Schema-defined content layers with WebAssembly logic
  • Zero-Knowledge Proofs: Secure module validation with SHA-256 encryption
  • Hybrid Consensus: Combined PoA+DPoS for high-speed validation (50,000 TPS)
  • Revenue Distribution: Smart contracts enforce 90% creator, 10% platform split
  • Cross-Chain Bridges: Connect Solana, Ethereum, and Polygon ecosystems

Getting Started

# Clone the repository
git clone https://github.com/mcpmeta/mcpmeta.git

# Install dependencies
npm install

# Start the development server
npm run dev

# Create game with natural language
curl -X POST http://localhost:3000/api/creator/generate \
  -H "Content-Type: application/json" \
  -d '{"description": "A cyberpunk city with hoverbike racing"}'

Connect With Us

License

MIT

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • dmayboroda
  • 带有可配置容器的本地对话抹布

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

  • evilsocket
  • 简单的代理开发套件。

  • tommyming
  • 只需获得一些乐趣即可使用Swift构建MCP版本。

    Reviews

    5 (0)