LLM を使用してPlayCanvas エディタを自動化するための MCP サーバー。
[!重要]
現在、MCPサーバーはAnthropicのClaudeによって運営されています。これまでの経験から、Claudeの無料プランではMCPサーバーを安定的に運用するのに十分なチャットコンテキストが提供されないことが分かっています。そのため、Pro Claudeアカウントへのご登録を強くお勧めします。
利用可能なツール
実在物
list_entitiescreate_entitiesdelete_entitiesduplicate_entitiesmodify_entitiesreparent_entityadd_componentsremove_componentsadd_script_component_script
資産
list_assetscreate_assetsdelete_assetsinstantiate_template_assetsset_script_textscript_parseset_material_diffuse
シーン
query_scene_settingsmodify_scene_settings
店
store_searchstore_getstore_download
インストール
npm install実行してすべての依存関係をインストールします。
Chrome拡張機能をインストールする
chrome://extensions/にアクセスし、開発者モードを有効にします。Load unpackedをクリックし、extensionsフォルダを選択します。PlayCanvasエディタを読み込みます。拡張機能が読み込まれるはずです。
MCPサーバーを実行する
MCP サーバーは、Cursor または Claude Desktop によって駆動できます。
[!ヒント]
一般的に、Claude Desktop の方が信頼性が高いことがわかりました。
クロードデスクトップ
Claude Desktopをインストールします。
Claude>Settingsに移動します。Developerを選択し、Edit Config選択します。これにより、MCP Config JSON ファイルである
claude_desktop_config.jsonが開きます。
カーソル
カーソルをインストールします。
File>Preferences>Cursor Settingsを選択します。+ Add new global MCP serverクリックします。これにより、MCP Config JSON ファイルである
mcp.json開きます。
[!ヒント]
また、Cursor SettingsでFeaturesを選択し、Chatセクションまでスクロールします。Enable auto-run modeを有効にすると、LLMがMCPツールを常時認証なしで実行できるようになります。これは自己責任で行ってください(ただし、推奨します)。
[!重要]
カーソルでAgentが選択されていることを確認してください。AskとEditモードではMCPサーバーが認識されません。
MCP 構成 JSON ファイル
設定は次のようになります。
ウィンドウズ
macOS
エディターをMCPサーバーに接続する
PlayCanvasエディタはMCPサーバに自動的に接続しません。接続するには:
PlayCanvas エディタを実行している Chrome タブをアクティブにします。
アドレスバーの右側にある拡張機能アイコンを選択します。
PlayCanvas Editor MCP Extension を選択して拡張機能ポップアップを開きます。
CONNECTを選択します (ポート番号は、MCP Config JSON ファイルで設定されているものと一致する必要があります)。
現在、PlayCanvas エディタのインスタンスを一度に 1 つだけ MCP サーバーに接続できます。
これで、Claude Desktop または Cursor でコマンドを発行できるようになります。
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
LLM が PlayCanvas エディタでリアルタイム 3D Web アプリケーションを構築できるようにする MCP サーバー。
Related MCP Servers
- Asecurity-licenseAqualityA MCP server that provides browser automation tools, allowing users to navigate websites, take screenshots, click elements, fill forms, and execute JavaScript through Playwright.Last updated -81Apache 2.0
- Asecurity-licenseAqualityPlaywright wrapper for MCP that enables LLM-powered clients to control a browser for automation tasks.Last updated -101
- Asecurity-licenseAqualityAn MCP server that enables LLMs to 'see' what's happening in browser-based games and applications through vectorized canvas visualization and debug information.Last updated -1040MIT License
- -security-license-qualityAn MCP server that helps novice developers deploy web applications through conversational interfaces, bridging the gap between LLMs and various hosting environments.Last updated -1MIT License