MiniWorld Connection Protocol
A protocol bridge allowing Minecraft Java Edition clients to connect to MiniWorld servers.
Version: Victoria v3.0-20260605 Phase8 Stable
Date: 2026-06-05
MnMCP is a protocol bridge that enables Minecraft Java Edition clients to connect to MiniWorld servers. It translates protocols between the two games, allowing seamless cross-platform gameplay.
- Pure Python implementation
- Type-safe with full type annotations
- Modular architecture
- Async/await support
- Comprehensive test suite
MnMCP/
├── mnmcp-v3-integrated/ # Main project
│ ├── src/
│ │ ├── mcp_mapping/ # Block mappings (844 blocks)
│ │ ├── mcp_crypto/ # Encryption (XXTEA, AES-CFB8)
│ │ ├── mcp_protocol/ # Protocol definitions
│ │ ├── mcp_mc/ # Minecraft client
│ │ ├── mcp_mini/ # MiniWorld client
│ │ ├── mcp_core/ # Bridge core
│ │ └── mcp_proxy/ # Proxy/Gateway
│ ├── tests/ # Test suite
│ └── verify_mn3.py # Verification script
├── docs/ # Documentation
└── README.md # This file
- Python 3.9+
- pip
pip install -r requirements.txtcd mnmcp-v3-integrated
python verify_mn3.pyimport asyncio
from mcp_core import MCPBridge, MCPBridgeConfig
async def main():
config = MCPBridgeConfig(
mc_host="localhost",
mc_port=25565,
mc_username="BridgePlayer",
mnw_uin=123456,
mnw_passwd="your_password"
)
bridge = MCPBridge(config)
# Start bridge
if await bridge.start():
print("Bridge started successfully!")
# Run until interrupted
while bridge.is_running:
await asyncio.sleep(1)
# Stop bridge
await bridge.stop()
asyncio.run(main())- mcp_mapping: Block ID mappings between MC and MNW
- mcp_crypto: Encryption layers (XXTEA for MNW, AES-CFB8 for MC)
- mcp_protocol: Protocol codec with 82+ message types
- mcp_mc: Minecraft protocol client (TCP)
- mcp_mini: MiniWorld protocol client (UDP/RakNet)
- mcp_core: Bridge core with bidirectional forwarding
- mcp_proxy: HTTP proxy and RakNet gateway
Minecraft Client <--TCP--> MCPBridge <--UDP--> MiniWorld Server
|
v
Protocol Translation
# Run all tests
python -m pytest tests/ -v
# Run with coverage
python -m pytest --cov=src --cov-report=html- Core code: ~4,000 lines
- Test code: ~400 lines
- Documentation: ~2,500 lines
- Total: ~6,900 lines
- Complete bridge core
- 33+ unit tests
- CI/CD integration
- Clean project structure
- Initial release candidate
- Basic bridge functionality
See CONTRIBUTING.md for guidelines.
MIT License
- MN2MC project for protocol reverse engineering
- MiniWorld community for API documentation
- Minecraft protocol documentation (wiki.vg)