Skip to main content
Glama

Genesis MCP Server

by dustland

Genesis MCP 服务器

用于 Genesis World 模拟的模型上下文协议 (MCP) 服务器,具有可视化支持。

快速入门

开始可视化的最快方法:

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

这将直接启动使用 stdio 传输进行可视化的 Genesis World 模拟。

传输方法:stdio

此服务器使用stdio 传输,这是 Genesis World 可视化功能所必需的。可视化组件需要本地运行时,无法通过网络传输运行。

设置

先决条件

  • Python 3.8+
  • uv 包管理器( pip install uv
  • npm(可选,用于 MCP Inspector)

安装

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
视窗
# 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

使用 uv 手动安装

如果您希望手动安装依赖项:

  1. 创建虚拟环境:
    uv venv .venv source .venv/bin/activate # Linux/macOS .venv\Scripts\activate.bat # Windows
  2. 从锁文件安装依赖项:
    uv pip install -r requirements.lock uv pip install -e . uv pip install genesis==0.2.1 --no-deps
  3. 安装 MCP Inspector(可选):
    npm install -g @modelcontextprotocol/inspector@0.6.0

运行服务器

# 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

使用以下配置配置 MCP 检查器:

  • 传输类型:STDIO
  • 命令:python
  • 参数:server.py

可用资源

世界信息

获取有关 Genesis World 功能的信息:

world_info://{name}

可用工具

运行模拟

使用提供的代码和参数运行 Genesis World 模拟:

run_simulation

MCP 客户端

该存储库包括用于可视化的 stdio 客户端:

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

祝您黑客愉快!

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

用于运行 Genesis World 模拟的模型上下文协议 (MCP) 服务器,具有集成可视化支持,使用 stdio 传输来启用本地运行时可视化功能。

  1. 快速入门
    1. 传输方法:stdio
      1. 设置
        1. 先决条件
        2. 安装
        3. 使用 uv 手动安装
      2. 运行服务器
        1. In one terminal, start the inspector
          1. In another terminal, start the server with stdio transport
            1. Run a simulation with Genesis World visualization

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol (MCP) server implementation that provides the LLM an interface for visualizing data using Vega-Lite syntax.
                Last updated -
                65
                Python
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.
                Last updated -
                48
                4
                TypeScript
                • Apple
              • -
                security
                -
                license
                -
                quality
                A specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.
                Last updated -
                1
                TypeScript
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol (MCP) server that enables Claude to create and manipulate designs in Figma through either a Figma plugin or directly via the Figma API.
                Last updated -
                TypeScript

              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