Rosh MCP Server
OfficialRosh MCP Server
让任何 AI 都能使用 Rosh(一种纯英语编程语言)创建和发布交互式 Web 应用、游戏和 3D 场景。
什么是 Rosh?
Rosh 让你可以用纯英语编写程序:
create box called player at 400 300
set player color "blue"
on key "ArrowRight" then set player x to player x + 5根据目标,它可以编译为可运行的 HTML5 canvas 应用、Phaser 游戏或 Three.js 3D 场景。
Related MCP server: canvas3d-mcp
快速开始
Claude Desktop / Claude Code
添加到你的 MCP 配置(~/.claude/mcp.json 或 Claude Desktop 设置)中:
{
"mcpServers": {
"rosh": {
"command": "uvx",
"args": ["rosh-mcp"],
"env": {
"ROSH_API_KEY": "rosh_k1_your_key_here"
}
}
}
}Cursor / Windsurf
相同的配置格式——添加到你的 MCP 设置文件中。
获取 API 密钥
在 rosh.cloud 创建账户
前往设置 → API 密钥
创建一个具有
read,write权限范围的密钥
注意: 所有工具都需要 API 密钥——在启动服务器之前设置
ROSH_API_KEY。
工具
工具 | 描述 | 需要认证 |
| 获取完整的 Rosh 语言参考 | 是(read) |
| 将 Rosh 代码编译为 HTML | 是(read) |
| 将程序发布到 rosh.cloud | 是(write) |
| 列出你的程序 | 是(read) |
| 按 ID 获取程序详情 | 是(read) |
| 更新现有程序 | 是(write) |
| 删除程序 | 是(write) |
| 隐藏程序(审核) | 是(moderate) |
| 取消隐藏程序 | 是(moderate) |
示例提示
尝试将这些用于任何支持 MCP 的 AI:
“给我做一个太空射击游戏” — AI 阅读文档,编写 Rosh 代码,编译为 Phaser
“创建一个 3D 旋转雕塑” — 编译为 Three.js
“制作一个带按钮和计数器的交互式仪表板” — 编译为 Web
“展示 Rosh 能做什么” — AI 调用
rosh_docs并探索
环境变量
变量 | 必需 | 默认值 | 描述 |
| 是 | — | 你的 rosh.cloud API 密钥 |
| 否 |
| API 基础 URL |
开发
git clone https://github.com/rosh-studio/rosh-mcp.git
cd rosh-mcp
pip install -e .
rosh-mcp # runs the stdio server许可证
MIT
Available Tools
9 toolsrosh_compileA
Compile Rosh code into a runnable HTML page. No API key needed.
Rosh is a plain-English programming language. Example: create box called player at 400 300 set player color "blue" on key "ArrowRight" then set player x to player x + 5
Args: code: Rosh source code to compile target: Target platform — "web" (HTML5 canvas), "phaser" (game engine), or "threejs" (3D)
Inputs: code (required), target. Returns: result
rosh_delete_programA
Permanently delete a program. Requires API key with write scope.
Args: program_id: The numeric program ID
Inputs: program_id (required). Returns: result
rosh_docsA
Get the Rosh language documentation — keywords, widgets, targets, and examples.
Returns the full language reference including all 25 keywords, available widgets, compile targets (web, phaser, threejs), and example programs. No API key needed.
Inputs: no named parameters. Returns: result
rosh_get_programA
Get details of a specific program by ID. Requires API key.
Args: program_id: The numeric program ID
Inputs: program_id (required). Returns: result
rosh_hide_programA
Hide a program from public view (moderation). Requires API key with moderate scope.
Args: identifier: Program ID (numeric) or slug (string)
Inputs: identifier (required). Returns: result
rosh_list_programsA
List all programs owned by the authenticated user. Requires API key.
Inputs: no named parameters. Returns: result
rosh_publishA
Compile and publish a Rosh program to rosh.cloud. Requires API key with write scope.
The published program gets a public URL at https://rosh.cloud/p/{username}/{slug}
Args: title: Display title for the program slug: URL-safe identifier (lowercase, hyphens only, e.g. "space-shooter") code: Rosh source code target: Target platform — "web", "phaser", or "threejs" description: One-line description of what the program does
Inputs: title (required), slug (required), code (required), target, +1 more. Returns: result
rosh_show_programA
Make a hidden program visible again. Requires API key with moderate scope.
Args: identifier: Program ID (numeric) or slug (string)
Inputs: identifier (required). Returns: result
rosh_update_programA
Update an existing program. Only provided fields are changed. Requires API key with write scope.
Args: program_id: The numeric program ID title: New title (optional) description: New description (optional) code: New source code (optional) target: New target platform (optional)
Inputs: program_id (required), title, description, code, +1 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a unique purpose with clear verb_noun naming. Even closely related tools like compile and publish are distinct (compile generates HTML, publish additionally deploys). Hide and show are clear opposites, and CRUD operations are well separated.
All tools follow a consistent rosh_verb_noun pattern in snake_case. The naming convention is uniform across the entire tool set, making it predictable for agents.
With 9 tools, the server covers a focused domain (Rosh language management) without bloat. Each tool serves a necessary function: compilation, documentation, CRUD, and moderation. The count feels right for the scope.
The tool set appears complete for the domain: it includes compilation, publishing, full CRUD for programs, moderation (hide/show), and documentation. There are no obvious missing operations like a search or share tool, but they are not essential for core functionality.
Maintenance
Related MCP Connectors
Build, version, review, and export websites, web apps, and games from a conversation.
Publish HTML5 games in seconds from an AI agent: audience, monetization, analytics.
Publish your AI-made HTML game as a playable link, see who played, and generate game assets.
Build, host and publish web, web3 (Solana, Base), Android apps and AI agents from a description.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to control and manipulate live 3D scenes across frameworks like Three.js, A-Frame, and Babylon.js using a comprehensive set of object and environment tools. It features an integrated in-world chat system that allows for real-time scene modifications directly from within the 3D canvas.333MIT
- FlicenseAqualityDmaintenanceEnables AI agents to create, render, and validate 3D scenes, 2D art, and games in HTML canvas using Three.js, WebGL, or Canvas 2D, with multi-angle screenshots, structured validation reports, and interactive playtesting.5-

Sprixen MCP serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to create style-locked game projects and generate sprites, animations, tiles, maps, music, 3D models, and VFX, then export engine-ready packages for Godot, Phaser, Unity, GameMaker, or RPG Maker MZ.MIT- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to publish and manage HTML5 browser games, giving each game its own address and catalogue page with leaderboards, cloud saves, player clips, daily stats, versioning, and rollback.1MIT