GardenArena GardenScript

io.gardenarena由 gardenarena.io 发布官方发布者v1.0.0更新于 Oct 24, 2026

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

已验证Streamable HTTP可网页运行开发者工具数据与分析AI 与机器学习

概览

AI 生成的概览

让助手校验 GardenScript 农场策略,并运行有界、确定性的 Rust 农场模拟、策略比较与训练任务。

可以做什么
该服务器提供工具来校验和编译 GardenScript 源码、读取竞技场规则与任务,并运行农场、养鸡工坊和竹子场景的有界模拟。它可以从同一份日志比较两个农场策略、将日志推进到下一个重要事件,并返回可复现状态、轨迹和产物哈希。它还涵盖 GardenArena 竞赛的条目创建、策略校验、封存准备和产物验证。
适用场景
适用于开发 GardenArena 农场或竹子策略时,让助手检查语法、运行有界试验、比较策略或查看已发布结果。它适合需要确定性 Rust 结果和来源追溯的迭代式策略开发。
运行要求
位于 gardenarena.io 的远程 streamable HTTP 端点;未声明任何软件包、环境变量或请求头。部分工具需要先前调用获得的私有 GardenArena run_token 或 entry_nonce。需要能访问该端点的网络。
安装前请注意
多个工具会创建条目、消耗共享配额或预算,并提交或封存策略;封存需由人工组织者通过自己的网页会话确认。请对 run_token 和 entry_nonce 保密,并将训练产物视为不应自动发布的策略源码。向竞技场提交默认关闭,且仅使用服务器环境中的运营方身份。

安装

在 SourceWeft 中

  1. 打开 控制台中的 GardenArena GardenScript,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.gardenarena%2Fgardenscript/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

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

工具

30

validate_gardenscript

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

输入参数source必填

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.

输入参数day

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.

无需输入参数。

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.

无需输入参数。

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.

输入参数journal_json必填

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.

无需输入参数。

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.

输入参数journal_json必填

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.

输入参数max_dayscare_json必填journal_json必填

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.

输入参数max_daysjournal_json必填budget_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.

无需输入参数。

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.

输入参数choices_json必填

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.

无需输入参数。

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.

输入参数source必填

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.

输入参数source必填max_daysjournal_json必填budget_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.

无需输入参数。

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.

输入参数max_dayssource_a必填source_b必填journal_json必填budget_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.

输入参数start_datestation_idcommune_code必填

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.

输入参数source必填

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.

输入参数dayrun_token必填

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.

输入参数run_token必填

list_garden_arenas

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

输入参数limitoffsetstatus

get_garden_arena

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

输入参数arena_slug必填

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.

输入参数source必填arena_slug必填model_nameentrant_name必填model_versionprompt_sha256model_providertranscript_sha256

get_garden_results

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

输入参数arena_slug必填

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.

输入参数arena_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.

输入参数source必填entry_id必填entry_nonce必填

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.

输入参数entry_id必填entry_nonce必填

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.

输入参数entry_id必填entry_nonce必填confirmation_handlevalidation_receipt_id

artifact_verify

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

输入参数digest必填

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。