Skip to main content
Glama
by dustland

Genesis MCP Server

A Model Context Protocol (MCP) server for Genesis World simulations with visualization support.

Quick Start

For the fastest way to get started with visualization:

# Run the simplified setup script (only installs what's needed) ./setup.sh # Run the stdio client (opens a visualization window) ./examples/stdio_client.py

This will directly start a Genesis World simulation with visualization using stdio transport.

Transport Method: stdio

This server uses stdio transport which is required for Genesis World visualization features. The visualization components require a local runtime and cannot work over network transports.

Setup

Prerequisites

  • Python 3.8+

  • uv package manager (pip install uv)

  • npm (optional, for MCP Inspector)

Installation

Linux/macOS

# Clone the repository git clone https://github.com/username/genesis-mcp.git cd genesis-mcp # Run the setup script ./setup.sh # Activate the virtual environment source .venv/bin/activate

Windows

# Clone the repository git clone https://github.com/username/genesis-mcp.git cd genesis-mcp # Run the setup script setup.bat # Activate the virtual environment .venv\Scripts\activate.bat

Manual Installation with uv

If you prefer to install dependencies manually:

  1. Create a virtual environment:

    uv venv .venv source .venv/bin/activate # Linux/macOS .venv\Scripts\activate.bat # Windows
  2. Install dependencies from lock file:

    uv pip install -r requirements.lock uv pip install -e . uv pip install genesis==0.2.1 --no-deps
  3. Install MCP Inspector (optional):

    npm install -g @modelcontextprotocol/inspector@0.6.0

Running the Server

# Run with stdio transport (required for visualization) ./start.sh ### Using with the MCP Inspector To use with the MCP Inspector for debugging: ```bash # In one terminal, start the inspector mcp-inspector # In another terminal, start the server with stdio transport python server.py

Configure the MCP Inspector with:

  • Transport Type: STDIO

  • Command: python

  • Arguments: server.py

Available Resources

World Info

Get information about Genesis World features:

world_info://{name}

Available Tools

Run Simulation

Run a Genesis World simulation with provided code and parameters:

run_simulation

MCP Client

The repository includes stdio client for visualization:

# Run a simulation with Genesis World visualization ./examples/stdio_client.py

Happy hacking!

-
security - not tested
A
license - permissive license
-
quality - not tested

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
    Last updated -
    3
    20
    62
    Apache 2.0
  • -
    security
    A
    license
    -
    quality
    A demonstration server that implements the Model Context Protocol (MCP) SDK, providing tools and endpoints for server-sent events and message handling.
    Last updated -
    176
    11
    MIT License
  • -
    security
    A
    license
    -
    quality
    A high-performance Model Context Protocol (MCP) server designed for large language models, enabling real-time communication between AI models and applications with support for session management and intelligent tool registration.
    Last updated -
    2
    MIT License
  • -
    security
    F
    license
    -
    quality
    A demonstration server that automatically generates Model Context Protocol (MCP) servers from OpenAPI specifications, providing seamless integration with FastAPI and supporting various transmission methods like STDIO, HTTP, and SSE.
    Last updated -
    • Apple
    • Linux

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dustland/genesis-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server