Back to Game

MCP Integration

Conway's Game of Life server for LLMs and AI applications

API Server

MCP Server

Full-featured Model Context Protocol server providing Conway's Game of Life patterns and composition tools.

LLM Ready

Designed for integration with Claude, GPT, and other LLMs. Perfect for AI-powered pattern generation.

RLE Format

Efficient Run Length Encoding format for compact pattern representation and fast processing.

Quick Setup

Add our MCP server to your AI application in seconds

MCP Server URL
https://life.angen.ai/api/mcp/mcp
Claude Desktop Config
{
  "mcpServers": {
    "gameoflife": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-fetch", "https://life.angen.ai/api/mcp/mcp"]
    }
  }
}

Available Tools

Complete set of tools for Conway's Game of Life pattern manipulation

list_patterns

Tool

List available Conway's Game of Life patterns

onlyStarred: boolean
category: string
keyword: string

get_pattern

Tool

Get a specific pattern by ID in RLE format

patternId: string

create_grid_pattern

Tool

Create a grid by repeating a pattern

patternId: string
columns: number
rows: number
columnSpacing: number

create_random_composition

Tool

Create random composition from multiple patterns

patterns: array
width: number
height: number

normalize_pattern

Tool

Normalize pattern to start from (0,0)

patternId: string
rle: string

Code Examples

Use our MCP server with different programming languages and tools

curl -X POST "https://life.angen.ai/api/mcp/mcp" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "list_patterns",
      "arguments": {
        "onlyStarred": true,
        "category": "oscillator"
      }
    }
  }'

AI Pattern Generation

Enable your AI to create Conway's Game of Life patterns based on natural language descriptions.

  • • Generate patterns from prompts
  • • Compose complex arrangements
  • • Create educational content
  • • Explore cellular automata

Research & Education

Perfect for academic research, teaching, and exploring the mathematics of cellular automata.

  • • Pattern analysis and classification
  • • Automated pattern discovery
  • • Interactive learning tools
  • • Mathematical modeling

Technical Details

Protocol

  • • Model Context Protocol (MCP) compliant
  • • JSON-RPC 2.0 based communication
  • • RESTful API endpoints
  • • WebSocket support planned

Data Format

  • • RLE (Run Length Encoding) format
  • • Compact pattern representation
  • • Standard Game of Life notation
  • • Efficient parsing and generation