GardenArena GardenScript

io.gardenarenaPublished by gardenarena.ioOfficial publisherv1.0.0Updated Oct 24, 2026

Simulate farms, validate GardenScript and compare policies with Rust. No outbound LLM calls.

VerifiedStreamable HTTPWeb executableDeveloper ToolsData & AnalyticsAI & ML

Overview

AI-generated overview

Lets an assistant validate GardenScript farm policies and run bounded, deterministic Rust farm simulations, comparisons and training runs for GardenArena.

What you can do
The server exposes tools to validate and compile GardenScript sources, read arena rulesets and missions, and run bounded simulations of farm, chicken-workshop and bamboo scenarios. It can compare two farm policies from the same journal, advance a journal to the next notable event, and return reproducible state, traces and artifact hashes. It also covers entry creation, strategy validation, seal preparation and artifact verification for GardenArena competitions.
When to use it
Use it when working on GardenArena farm or bamboo strategies and you want an assistant to check syntax, run bounded trials, compare policies or inspect published results. It suits iterative strategy development where deterministic Rust outcomes and provenance matter more than free-form generation.
Requirements
A remote streamable HTTP endpoint at gardenarena.io; no packages, environment variables or headers are declared. Some tools require a private GardenArena run_token or entry_nonce obtained from earlier calls. Network access to the endpoint is needed.
Before you install
Several tools create entries, consume shared quotas or budgets, and submit or seal strategies; sealing requires a human organizer to confirm through their own web session. Keep the run_token and entry_nonce private, and treat training artifacts as strategy sources that should not be published automatically. Submitting to an arena is disabled by default and uses operator-owned identity from the server environment.

Installation

In SourceWeft

  1. Open GardenArena GardenScript in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.gardenarena%2Fgardenscript/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "gardenarena-gardenscript": {
      "type": "http",
      "url": "https://gardenarena.io/mcp"
    }
  }
}

Tools

30

validate_gardenscript

Validate and compile an untrusted GardenScript source with the local Rust compiler. This performs no LLM call and stores nothing.

Parameterssourcerequired

get_bamboo_scene

Read one day (1-365, default UTC day of year) of the published Rust bamboo replay used by the 3D scene. Includes sensors, entrant and SHA-256 provenance. Synthetic exhibition only; not an observation, strategy evaluation or hydraulic forecast. Koi are decorative and unranked. No database access, simulation launch, external network or LLM call.

Parametersday

bamboo_challenge_get

Read the fixed 365-day bamboo training mission, exact Dry Patience reference, scenario hash, budgets and quotas. No run or publication. Read gardenarena://gardenscript/v0.5 for the full language.

Takes no parameters.

coop_workshop_get

Read the playable chicken workshop mission: breeds, breeding/incubation, production balance, non-lethal predators, closed JSON commands, exact scenario and quotas. No simulation or database write. Distinct from GardenScript/official competitions.

Takes no parameters.

coop_workshop_run

Execute one bounded Rust chicken-workshop journal after human agreement. journal_json is the complete closed JSON journal (64 KiB), NOT GardenScript or arbitrary code. Returns reproducible state, event explanations and an export for explicit human import in the 3D game. No persistent game, official write, provider API or automatic publication. Respect retry delays and the agreed call budget.

Parametersjournal_jsonrequired

farm_workshop_get

Read the playable whole-farm mission, shared resources, closed JSON actions and farmer task contract. Educational simulation, no run or official write.

Takes no parameters.

farm_workshop_run

Execute one bounded whole-farm Rust journal after human agreement, within the agreed call budget. journal_json is complete closed JSON, max 64 KiB, not GardenScript. Returns game state, evidence-linked farmer tasks and an export for explicit human import. No autonomous daemon, publication, LLM call or persistent game.

Parametersjournal_jsonrequired

farm_next_event

Advance a farm journal to the next detected important moment, checked daily for at most max_days (1–21). Use the full journal_json and care_json containing ration, access, ventilation, incubator. Consumes one agreed calculation call. Returns the accepted ordinary journal, unchanged Rust result, season guide and evidence-linked stop reason. No automatic care, publication or persistent write; human chooses whether to import.

Parametersmax_dayscare_jsonrequiredjournal_jsonrequired

farm_autopilot_run

Run a bounded pantry-oriented farmer tour after user agreement: 1–7 simulated days, 0–1000 game credits, at most 64 added ordinary commands. Deterministic Rust rules, not a live LLM. Gathers food, handles care and irrigation, cuts mature bamboo for supports, composts and cooks available ingredients. No sales, new animals, publication or background daemon. Returns the exact replayable journal and per-action reasons/costs; a human chooses whether to import.

Parametersmax_daysjournal_jsonrequiredbudget_credits

farm_campaign_get

Read chapter 2 stewardship-v1: exact teaching farm J95, three management choices, ten-day routine, success criteria and complete original journal. No calculation or publication; not the player's private farm. JSON plan, NOT GardenScript.

Takes no parameters.

farm_campaign_run

Try the fixed J95 to J105 farm chapter after agreeing a finite call budget. choices_json is a CLOSED object: mission_id stewardship-v1, choices {harvest: pantry/kitchen/market, egg_reserve: 0/2/6, rotate: boolean}. At most ten days, 100 added ordinary commands; shared workshop quotas. Rust decides from current state, retains adverse days and reports costs/refusals/meals. No arbitrary journal, GardenScript, publication, persistent save, LLM call or background search. Return the complete export; human chooses adoption. Local meals do not imply full autonomy.

Parameterschoices_jsonrequired

farm_policy_get

Read GardenScript 0.6 farm.v1: six decision channels, 29 current-state sensors, exact intention expansion, three application-authored presets and shared limits. No run, persistent write or LLM call. Read before writing a farm policy.

Takes no parameters.

farm_policy_validate

Validate a closed GardenScript 0.6 farm.v1 source, maximum 16 KiB. Local Rust only; line diagnostics and exact source/canonical hashes. Shared workshop quota; no run, persistence or publication.

Parameterssourcerequired

farm_policy_run

Run a GardenScript 0.6 farm.v1 policy from a COMPLETE v4/v5 journal after user agreement, within a finite call budget. Six decisions from each day's current snapshot become ordinary costed commands. No future weather archive access or cancellation of bad days: shortages pause AFTER commitment. Returns export, exact source, rule/sensor witnesses, accepted/rejected commands and costs. Not an official competition or the legacy precognitive safety helper. No LLM calls, publication, persistent game or daemon; human explicitly imports the result.

Parameterssourcerequiredmax_daysjournal_jsonrequiredbudget_credits

farm_compare_get

Read the bounded two-policy farm comparison contract and its fixed week-after-v1 teaching mission (exact J96 journal, two sources, seven days, 540 credits). V4 only, same start and days/budget per branch, no global winner or publication. Read the farm policy contract for syntax. No paired trial or persistent write.

Takes no parameters.

farm_compare_run

Compare two GardenScript farm.v1 policies from the SAME complete v4 journal after agreeing a finite call budget. Two trials, 1–7 days and identical 0–1000 game-credit ceilings. Rust returns both branches, trace witnesses of the first work divergence and honest elapsed-day/command-cap metrics, never an overall winner. Charges two shared workshop quota units. No game mutation, persistence, publication, LLM calls or unattended search. Return the complete comparison export; only the human can adopt a branch in their browser. No legacy future-veto helper, v5 weather or official ranking.

Parametersmax_dayssource_arequiredsource_brequiredjournal_jsonrequiredbudget_credits

farm_weather_get

Read cached real MET Norway forecasts and a continuous Météo-France station archive for a chosen French commune INSEE code. Optional start_date and station_id retain an existing game's station/start when refreshing. Returns a frozen snapshot, station distance, dates and licences. Forecasts are not observations and never fill the tank. No game mutation, precise user location, paid API, LLM call or publication. Applying the snapshot requires an explicit closed weather_station command in a v5 game.

Parametersstart_datestation_idcommune_coderequired

bamboo_training_run

Consume one bounded private training run against Dry Patience after user agreement. GardenScript 0.5 bamboo only, fixed public scenario and budgets. Shared web/MCP quotas; temporary local storage, no official submission or publication, no LLM call. Keep run_token private.

Parameterssourcerequired

bamboo_training_explain

Read a private training comparison and evidence-linked moments. Optional day 1-365 returns both actual Rust decision traces, not a rerun. Requires the private GardenArena run_token, not a provider credential.

Parametersdayrun_tokenrequired

bamboo_training_artifact

Read the exact reproducible request and expected result hashes for a private training run. Includes strategy sources: do not publish automatically. Full trace JSON downloadable through the documented POST export. No run or official ledger write.

Parametersrun_tokenrequired

list_garden_arenas

List GardenScript arenas. This is local, read-only, and performs no LLM call.

Parameterslimitoffsetstatus

get_garden_arena

Read one arena's ruleset, scenario, capabilities, limits and status by slug. This performs no LLM call.

Parametersarena_slugrequired

submit_garden_strategy

Submit externally generated GardenScript to an arena. The source is validated again by the local Rust compiler. Disabled by default; operator-owned identity comes only from server environment, never from a model token.

Parameterssourcerequiredarena_slugrequiredmodel_nameentrant_namerequiredmodel_versionprompt_sha256model_providertranscript_sha256

get_garden_results

Read the sealed results for a GardenScript arena. Performs no simulation or LLM call.

Parametersarena_slugrequired

entry_create

Create a Reality Trial 001 policy entry. Returns an explicit entry_id. Returns a private entry_nonce once; keep it for all mutations. An idempotent retry requires that nonce and never returns it again. Identity assurance can only be anonymous or declared. Does not occupy an official seat until the organizer confirms on the web. Write-gated.

Parametersarena_idtrial_idhost_claimentry_noncemodel_claimprovider_claimevaluation_modeidempotency_keycompetition_scopeidentity_assurance

strategy_validate

Compile GardenScript for an existing entry without running the official scenario. Requires its private entry_nonce. Consumes that entry's validation budget.

Parameterssourcerequiredentry_idrequiredentry_noncerequired

strategy_prepare_seal

Prepare a review and return its confirmation_url for the human organizer. Requires the private entry_nonce. Does not grant authority to seal. The organizer must use their own web session; never operate that page for them.

Parametersentry_idrequiredentry_noncerequired

strategy_seal

Read acknowledgment of an already human-confirmed seal. This tool can NEVER create a seal: pending entries return human_confirmation_required. Give the preparation's confirmation_url to the organizer instead. Legacy receipt/handle arguments are ignored, never approval credentials.

Parametersentry_idrequiredentry_noncerequiredconfirmation_handlevalidation_receipt_id

artifact_verify

Verify a SHA-256 digest against published contracts, scenarios and sealed entries.

Parametersdigestrequired

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.