Skip to main content
Glama
Rosh MCP Server
by rosh-studio

Rosh 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キーを取得する

  1. rosh.cloudでアカウントを作成します

  2. 設定 → APIキーに移動します

  3. read,writeスコープのキーを作成します

注: すべてのツールにはAPIキーが必要です — サーバーを起動する前にROSH_API_KEYを設定してください。

ツール

Tool

Description

Auth Required

rosh_docs

Rosh言語の完全なリファレンスを取得

必要(読み取り)

rosh_compile

RoshコードをHTMLにコンパイル

必要(読み取り)

rosh_publish

プログラムをrosh.cloudに公開

必要(書き込み)

rosh_list_programs

自分のプログラムを一覧表示

必要(読み取り)

rosh_get_program

IDでプログラムの詳細を取得

必要(読み取り)

rosh_update_program

既存のプログラムを更新

必要(書き込み)

rosh_delete_program

プログラムを削除

必要(書き込み)

rosh_hide_program

プログラムを非表示にする(モデレーション)

必要(モデレーション)

rosh_show_program

プログラムの非表示を解除

必要(モデレーション)

プロンプトの例

MCP対応のAIならどれでも試せます:

  • 「スペースシューティングゲームを作って」 — AIがドキュメントを読み、Roshコードを書き、Phaserにコンパイルします

  • 「3Dの回転する彫刻を作って」 — Three.jsにコンパイルします

  • 「ボタンとカウンター付きのインタラクティブなダッシュボードを作って」 — Webにコンパイルします

  • 「Roshで何ができるか見せて」 — AIがrosh_docsを呼び出して探索します

環境変数

Variable

Required

Default

Description

ROSH_API_KEY

必須

—

あなたのrosh.cloud APIキー

ROSH_API_BASE

任意

https://rosh.cloud

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 tools
rosh_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

    A4.2/5.0

    Scored across 9 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables 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.
      33
      3
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables 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
      -