Arenula MCP
MCP server suite for the s&box game engine, enabling AI assistants to manipulate scenes, create objects, compile code, manage assets, and more via editor, API, and docs servers.
README
Arenula
MCP server suite for the s&box game engine. Connects AI coding assistants to the s&box editor — reading scenes, creating objects, compiling code, managing assets, and more.
Designed following Anthropic's MCP best practices: omnibus tools with action enums, rich descriptions with negative guidance, trimmed responses, actionable errors.
Arenula — Latin for "grain of sand". One grain in the sandbox.
Response envelope
Mutation tools return JSON with these fields:
message— short human-readable confirmation.verified— (optional) read-back of state after the mutation, so callers can confirm the change actually stuck. E.g. aftercomponent.add:{ "component_exists": true, "component_type": "ModelRenderer" }. Afterterrain.configure_clutter:{ "clutter_assigned": "volcano_ground", "seed": 42, "mode": "Infinite" }. When this field is missing the caller should assume the mutation is unverified.warnings— (optional) array of per-field partial-success notes, each{ field, message, suggestion? }. Used where the main operation succeeded but some sub-step was skipped — e.g.networking.add_helperwith a mix of valid and invalid spawn-point IDs will return the helper wired up and a warning per bad ID.
Errors still return the standard { error, action, suggestion } body with isError: true. Any user-facing value that can't be resolved to a real engine resource now errors with an actionable suggestion rather than silently no-op'ing.
Servers
| Server | What it does | Runtime | Transport |
|---|---|---|---|
| Editor | Scene manipulation, compilation, assets, terrain | C# plugin inside s&box | SSE :8098 |
| API | Offline type/member reference (~1,800 types, ~15,000 members), PBR texture fetching | Node.js | stdio |
| Docs | Narrative docs from sbox.game (raw markdown via .md endpoints) |
Node.js | stdio |
Setup
1. Clone Arenula-MCP
Clone or download this repo somewhere on your machine. This is where the API and Docs servers will live — they don't need to be inside your s&box project.
C:\Projects\Arenula-MCP\ <-- can be anywhere you like
editor/ goes into your s&box project (step 2)
api/ stays here, runs from here
docs/ stays here, runs from here
2. Editor plugin
Copy editor/ into your s&box project's Libraries folder:
YourProject/
Libraries/
arenula_mcp/ <-- copy the contents of editor/ here
Editor/
Core/
Handlers/
sbox_mcp.sbproj
Open s&box — Arenula compiles automatically and starts the MCP server on port 8098.
3. Build API & Docs
From the Arenula-MCP root, install and build both Node.js servers:
npm run setup # installs dependencies and builds both servers
This builds api/dist/index.js and docs/dist/index.js — those are the files your AI client will point to.
4. Configure your AI client
Add a .mcp.json file to your s&box project root (or copy .mcp.json.example). Update the paths to where you cloned Arenula-MCP:
{
"mcpServers": {
"editor": {
"type": "sse",
"url": "http://localhost:8098/sse"
},
"api": {
"command": "node",
"args": ["C:/Projects/Arenula-MCP/api/dist/index.js"],
"env": {
"SBOX_API_URL": "https://cdn.sbox.game/releases/..."
}
},
"docs": {
"command": "node",
"args": ["C:/Projects/Arenula-MCP/docs/dist/index.js"]
}
}
}
Replace C:/Projects/Arenula-MCP with wherever you cloned the repo. Get the latest API schema URL from sbox.game/api/schema (click Download, copy URL).
Tools appear as mcp__editor__*, mcp__api__*, mcp__docs__* in your AI client.
Editor Tools
22 omnibus tools, 178 actions. Each tool takes a required action parameter.
| Tool | Actions | Count |
|---|---|---|
| scene | summary, hierarchy, statistics, find, find_in_radius, get_details, prefab_instances | 7 |
| gameobject | create, destroy, duplicate, reparent, rename, enable, set_tags, set_transform, batch_transform | 9 |
| component | add, remove, set_property, set_enabled, get_properties, get_types, copy | 7 |
| compile | trigger, status, errors, generate_solution, wait | 5 |
| prefab | instantiate, get_structure, get_instances, break, update, create, save_overrides, revert, get_overrides | 9 |
| asset_query | browse, search, open, get_dependencies, get_model_info, get_material_properties, get_mesh_info, get_bounds, get_unsaved, get_status, get_json, get_references | 12 |
| asset_manage | create, delete, rename, move, save, reload, get_references | 7 |
| editor | select, get/set_selected, clear/frame_selection, play controls, save, undo/redo, console, preferences, open_code_file, get_log | 18 |
| session | list, set_active, load_scene | 3 |
| lighting | create, configure, create_skybox, set_skybox | 4 |
| physics | add_collider, configure_collider, add_rigidbody, create_model_physics, create_character_controller, create_joint | 6 |
| audio | create, configure | 2 |
| effects | create, configure_particle, configure_post_processing | 3 |
| camera | create, configure, capture_viewport, capture_tour, orbit_capture | 5 |
| mesh | create_block, create_plane, create_cylinder, create_wedge, create_arch, create_clutter, extrude_faces, remove_faces, add_face, clip_faces, scale_mesh, thicken_faces, bevel_edges, bevel_vertices, split_edges, quad_slice_faces, dissolve_edges, bridge_edges, connect_vertices, flip_faces, extend_edges, set_face_material, set_texture_params, vertex ops, get_info | 27 |
| navmesh | create_agent, create_area, create_link, generate, get_status, query_path | 6 |
| cloud | search, get_package, get_versions, mount | 4 |
| project | get_collision, set_collision_rule, get_input, get_info | 4 |
| terrain | create, configure, get_info, get_height, get_height_region, set_height, noise, erode, stamp, add/remove_material, get_material_at, blend_materials, set_hole, paint_material, import/export_heightmap, sync | 18 |
Architecture
28 C# source files — 8 core infrastructure, 20 per-tool handlers.

Attribution
- Editor based on Ozmium MCP Server by ozmium7 (GPL-3.0)
- API based on sbox-api-mcp by sofianebel (MIT)
- Docs based on sbox-docs-mcp by sofianebel (MIT)
License
GPL-3.0 (Editor) · MIT (API, Docs)
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。