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
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • rulego
  • ⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.

  • sigoden
  • Cree fácilmente herramientas y agentes de LLM utilizando funciones Plain Bash/JavaScript/Python.

  • hkr04
  • SDK liviano C ++ MCP (Protocolo de contexto del modelo)

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 Qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 DiFy 、 Claude 、 Gemini 、 Xai 、 PPIO 、 Ollama 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 Chatglm 、 SillyTraven 、 MCP 等 LLM 的机器人 / Agente | Plataforma de bots de mensajería instantánea basada en LLM, admite Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

  • dmayboroda
  • Trapo conversacional local con contenedores configurables

  • modelscope
  • Iniciar aplicaciones de múltiples agentes empoderadas con Building LLM de manera más fácil.

  • evilsocket
  • El kit de desarrollo de agentes simples.

  • ragu6963
  • Reviews

    5 (0)