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。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。