/ ディレクトリ / プレイグラウンド / robloxstudio-mcp
● コミュニティ boshyxd ⚡ 即起動

robloxstudio-mcp

作者 boshyxd · boshyxd/robloxstudio-mcp

AI-powered Roblox Studio workflows — explore game structure, read/edit scripts, bulk modify, and playtest via MCP.

robloxstudio-mcp connects AI assistants to Roblox Studio for agentic game development. Two editions: Full (43 tools) for complete read/write control and Inspector (21 read-only tools) for safe exploration. Tools cover game tree inspection, script management, object search, property modification, attribute/tag management, and playtest control. Built with TypeScript, available via npm.

なぜ使うのか

主な機能

ライブデモ

実際の動作

robloxstudio-mcp-2.replay ▶ 準備完了
0/0

インストール

クライアントを選択

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "robloxstudio-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/boshyxd/robloxstudio-mcp"
      ]
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "robloxstudio-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/boshyxd/robloxstudio-mcp"
      ]
    }
  }
}

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "robloxstudio-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/boshyxd/robloxstudio-mcp"
      ]
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "robloxstudio-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/boshyxd/robloxstudio-mcp"
      ]
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "robloxstudio-mcp-2",
      "command": "TODO",
      "args": [
        "See README: https://github.com/boshyxd/robloxstudio-mcp"
      ]
    }
  ]
}

Continue はマップではなくサーバーオブジェクトの配列を使用。

~/.config/zed/settings.json
{
  "context_servers": {
    "robloxstudio-mcp-2": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/boshyxd/robloxstudio-mcp"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

claude mcp add robloxstudio-mcp-2 -- TODO 'See README: https://github.com/boshyxd/robloxstudio-mcp'

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: robloxstudio-mcp

How to explore and understand a Roblox game with AI

👤 Roblox developers onboarding onto an existing game project ⏱ ~15 min beginner

使うタイミング: You inherited a Roblox project and need to understand its structure.

前提条件
  • Roblox Studio with plugin installed — Copy plugin to Plugins folder, enable HTTP Requests in Experience Settings
  • MCP client configured — Set up Claude Desktop or Codex with the server
フロー
  1. Get overview
    Show me the game's file tree and project structure. What are the main systems?✓ コピーしました
    → Hierarchical view of game services and major scripts
  2. Search for patterns
    Grep all scripts for references to 'DataStore' or 'RemoteEvent'. Which scripts handle player data?✓ コピーしました
    → List of scripts with matched lines and file paths

結果: A clear understanding of the game's architecture and key systems.

注意点
  • Large games have thousands of instances — Use search_objects and grep_scripts to focus on specific areas instead of browsing the full tree

Write and test Roblox scripts with AI assistance

👤 Roblox developers who want AI help writing Lua scripts ⏱ ~30 min intermediate

使うタイミング: You need to create or modify game scripts and want AI-assisted development.

前提条件
  • Full edition MCP connected — Use the full version for write access
フロー
  1. Read existing code
    Read the script in ServerScriptService/GameManager. Explain what it does and suggest improvements.✓ コピーしました
    → Code with analysis and improvement suggestions
  2. Write new functionality
    Add a leaderboard system that tracks kills and deaths. Create the scripts and UI elements needed.✓ コピーしました
    → New scripts and UI created in the game
  3. Playtest
    Start a playtest and check the output for any errors related to our new leaderboard system.✓ コピーしました
    → Playtest output with error analysis

結果: New game functionality written, deployed, and tested with AI assistance.

注意点
  • HTTP Requests not enabled — Go to Experience Settings → Security → Enable 'Allow HTTP Requests'. Required for the plugin to communicate.

組み合わせ

他のMCPと組み合わせて10倍の力を

robloxstudio-mcp-2 + filesystem

Export game scripts to local files for version control

Export all scripts in ServerScriptService to ~/roblox-project/server/ for Git tracking.✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
get_file_tree none Get the game's instance hierarchy 0
get_script_source instance_path: str Read a script's source code 0
grep_scripts pattern: str Search across all scripts for a pattern 0
search_objects class_name?: str, name?: str Find objects by class or name 0
start_playtest none Start a playtest in Roblox Studio 0
get_playtest_output none Read the output/error log from a playtest 0

コストと制限

運用コスト

APIクォータ
N/A — local communication with Roblox Studio
呼び出しあたりのトークン
100–1000 tokens per tool call
金額
Free — Roblox Studio is free
ヒント
Use grep_scripts to find relevant code instead of reading every script.

セキュリティ

権限、シークレット、影響範囲

認証情報の保管: N/A
データ送信先: Communication between MCP server and local Roblox Studio plugin via HTTP localhost

トラブルシューティング

よくあるエラーと対処法

Plugin shows 'Disconnected'

Ensure the MCP server is running and the Studio plugin can reach localhost. Enable 'Allow HTTP Requests' in Experience Settings.

確認: Check the Output panel in Studio for connection messages
Script edit not saving

The Full edition is required for write operations. Inspector edition is read-only.

確認: Check which edition you installed
Playtest won't start

Close any existing playtest session first. Only one playtest can run at a time.

確認: Check Studio for an active playtest

代替案

robloxstudio-mcp 他との比較

代替案代わりに使う場面トレードオフ
Minecraft MCP ServerYou want AI-controlled gameplay in Minecraft rather than Roblox developmentDifferent platform — Minecraft is gameplay, Roblox Studio is game development
Godot MCP ProYou prefer Godot for game development over RobloxDifferent engine — Godot is open source, Roblox is a platform

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る