Skip to main content
Glama
Easy Activity MCP Server

Easy Activity MCP Server

by Saladin2020

Easy Activity

Cozy activities for 2D side-view games, as data + a small engine + code-made pixel sprites: farming (crops with growth stages, seasons, watering, rain, withering, regrow), fishing (cast / bite / reel minigame, fish tables by spot, time of day, weather and level), transit (songthaew / bus stops, timetables both ways, waiting, rides between towns), boat trips (pier → open sea / reef / deep water), foraging (daily limits) and kites (wind by weather). Item ids match Easy Items (samples/addons/activities.easyitems.json in the Easy Items repo has the icons, crops and fishing spots).

  • Install: clone into /workspace/indie-studio/tools/easyactivity, then npm ci && npm run build (proposed repo Saladin2020/easyactivity).

  • CLI: node dist/cli.js (studio wrapper: tools/easyactivity-cli.mjs)

  • MCP: src/mcp/server.ts (stdio, or --http --port 9009): activity_info, fish_table, simulate_fishing, next_vehicles, plan_ride, boat_trip, export_pixi.

Commands

CLI="node /workspace/indie-studio/tools/easyactivity-cli.mjs"
$CLI init --workspace /abs/ws         # activities/ (sample docs) + exports/; Easy Kit runs this
$CLI info
$CLI check --items /abs/items            # cross-check item ids against Easy Items
$CLI crops
$CLI fish --at reef --time 06:00 --weather clear
$CLI simulate-fish --spot open_sea --casts 50
$CLI simulate-farm --crop rice --season rainy --skip 2
$CLI stops --stop st_bnd --time 08:00
$CLI ride --route songthaew_1 --from st_bnd --to st_kb
$CLI sail --trip sea_trip --time 07:00 --weather clear
$CLI render --out sheet.png
$CLI export --preset pixi --out game/activity

Related MCP server: mcp-server-gamenumerics

Pixi runtime

import { loadActivities } from "./activity/easyactivity-pixi.js";
const act = await loadActivities(PIXI, "activity/", "three_towns");
const farm = act.farm(saved?.farm);              // plant / water / endDay / stage / harvest
const plot = act.plot(farm, "p1", { x, y });     // soil + crop stage sprite + water drop; plot.refresh(day)
const rod = act.fishing({ parent, x, y, waterY, dir, onDone }); rod.start(ctx); rod.update(dt, { hold, press });
act.core.nextArrivals(doc, "st_bnd", minute, 3); act.core.ride(doc, "songthaew_1", "st_bnd", "st_kb");

The world demo (projects/easy_world_demo/src/activities.js) wires it to the Easy Scene streets: farm plots at บ้านนาดี, stops from the --stays annex, pier fishing and the sea_trip boat scene at กำปงบุหงา.

Halal-only catch (no crab / shellfish ambiguity in the sample). No religious activities. All art is original and made from code (CC0); code MIT.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers