Skip to content

MCP and AI Assistants

Kenny Lasyone edited this page Sep 30, 2026 · 5 revisions

AI assistants (MCP)

Arcadia Studio can let an AI assistant such as Claude, ChatGPT or another app that supports MCP look at your open project and change it: add controls, write scripts, run Preview, export, and more. You can watch every change appear on the canvas, and Undo works on them like your own edits.

MCP (Model Context Protocol) is a standard way for AI apps to use tools. Arcadia Studio includes an MCP server, so there's nothing else to install.

Before you start

You need an AI app that:

  • runs on this same computer (a desktop app or command-line tool, not a website only), and
  • supports MCP servers over HTTP with an Authorization header.

Examples include Claude Desktop, Claude Code and other MCP-capable desktop tools. Web-only chat pages can't reach it.

Step by step

  1. In Arcadia Studio, click the blue Start MCP server button in the toolbar.

  2. A window opens with the connection details. Click Copy connection config.

  3. Open your AI app's MCP or connector settings and paste the configuration as a new server. The exact place differs between apps; look for "MCP servers", "Connectors" or "Tools". The pasted text looks like this, with your own port and token:

    {
      "mcpServers": {
        "wysicraft": {
          "type": "http",
          "url": "http://127.0.0.1:PORT/mcp",
          "headers": { "Authorization": "Bearer YOUR_TOKEN" }
        }
      }
    }
  4. Back in Arcadia Studio, click Check connection to confirm the server responds. Once your AI app connects, its name appears in the window under recently connected clients.

  5. Ask your assistant for something, for example:

    • "Look at my Arcadia Studio project and add a Close button in the top-right corner that closes the screen."
    • "Make a shop screen with an item list and a Buy button that runs a server script."
    • "Validate the project and fix any errors."
    • "Draw a 16×16 pixel-art coin with a 4-frame spin, and add it to the screen as an animated sprite."
    • "Make a web game screen: a ball that falls onto a curved floor, a jump input on Space and the A button, and a start sound." (web & desktop)

When it's running, the toolbar button turns green and says MCP running – connect. Click it any time to see the connection details again.

Things to know

  • The assistant is told how to use Arcadia Studio. On connecting it receives a short briefing, and a guide tool explains the rest in topics: making a first screen, editing, scripting, art, sound, games, components, preview, exporting and what the errors mean. You don't have to explain any of it. If an assistant seems to be guessing, ask it to call the guide first.

  • Same address every time. The port (4730 unless you change it in Set up) and the access token stay the same across restarts, so you paste the configuration once. Regenerate token in Set up makes a new one if you ever need to.

  • Closing the connection window keeps the server running. Use Stop MCP server in that window to disconnect. Closing Arcadia Studio also stops it.

  • Keep the token private. Anyone with it can read and edit your open project, including server scripts. It only works on your computer, and web pages can't use it.

  • Your project, your call. The assistant edits the project that's open in Arcadia Studio. It saves only when asked (or when you press Save). Every change can be undone.

  • Finish what you're doing first. If you're mid-drag or typing in a field when the assistant makes a change, it asks the assistant to wait.

Ask Agent (requires a CLI)

Under the connection details is an Ask Agent (Requires CLI) row. With it set up, Arcadia Studio can ask an AI to do things for you from inside the editor, without you switching to a chat window:

  • Ask Agent at the top of Properties (with a control selected, or the screen) — describe what you want done to it.
  • Advanced → Input creator — pick a device and a free button, say what it should do, and the script and input are written for you.
  • Test in Set up — sends a real prompt through the whole path to prove it works.

It uses a command-line AI tool you already have — on your own account and subscription, never an API key. The editor starts the tool headlessly with the MCP server attached, the tool does the work through the same tools any assistant has, answers and exits. Each ask is its own run; the status line shows which tools it is calling and the time so far.

  1. Click Start MCP server, then Set up on the Ask Agent row.
  2. Choose the tool: Claude Code, Codex, Gemini CLI, Qwen Code, Kimi Code, opencode, Copilot CLI, or Custom (your own command and arguments). The window says whether it is installed, its version and whether you are signed in. If it isn't installed, Copy the install command and run it in a terminal.
  3. Click Sign in if needed — the tool's own login opens, and your browser does the rest.
  4. Click Test. When it says Works, click Done.

Start opens a terminal with the tool running interactively and Arcadia Studio attached, for when you want to talk to it directly; Stop closes it. Tick Auto-connect with MCP to start it whenever MCP starts.

Without a CLI set up, the same buttons still work but queue the request: an assistant connected the ordinary way picks it up with the pending_requests tool on its next turn and answers with answer_request. The button tells you which is happening.

What the assistant can do (reference)

Tool Purpose
get_project Read screens, controls, scripts, images, the current selection and a revision number
guide How to use this server, in topics: the edit loop, every edit kind, scripting, pixel art and sprites, sound and music, game features, components, preview, export and what the errors mean
get_schema Controls (including sprites, shapes, Sound controls and the web & desktop ones), properties, events, actions, components, limits per target, gamepad buttons, sound formats, starters and edit formats
apply_edits Make up to 128 changes at once, applied only if the whole batch is valid (one Undo step). It also makes, changes and deletes [[leaderboard pages
pending_requests, answer_request Read what you asked for with Ask Agent or the Input creator when no CLI is set up, and answer it
undo, redo Undo or redo
validate_project List validation errors, which ones only block Minecraft exports, and everything Minecraft can't run with where it is
save_project, save_project_as Save the project file
export_project Export a JAR, installation ZIP, portable pack, KubeJS files, web page (folder or single file) or Windows app (to %LOCALAPPDATA%\Arcadia Studio\McpExports). Minecraft formats are refused while the project uses things Minecraft can't run.
arcadia_publish [[Publish to Arcadia
itch_publish [[Publish to itch.io
export_electron_apps Export Electron apps for macOS and Linux (and Windows if asked); downloads Electron the first time
import_asset Import a PNG, a sound (.ogg, .mp3, .wav, .m4a) or a .png.mcmeta animation file from your computer
pixel_art Draw pixel art (layers, groups, frames, transparency) and save it as a project image, exactly like the pixel editor, as one Undo step. Returns the texture ID, a text grid and a preview picture
sound_effect Make or change a retro sound effect from a preset (coin, jump, laser, explosion, powerup, hurt, blip, random) and settings, like the Sound effect maker. It's saved as a project sound
compose_music Write or change an 8-bit song, like the Music maker. Give layers with an instrument and notes as text, e.g. `C4 q E4 e G4 e
song_from_audio Turn a recording (a file on this computer or a project sound) into an 8-bit song: notes, chords, bass and drums on chip instruments
read_music Read a song's tempo, key and every layer's notes as text, a sound effect's settings, or a recording's length
read_pixel_art Look at any image as a text grid (one character per pixel) and a preview picture, with its layers and frames
sprite_sheet, read_sprite_sheet Set up or read a Sprite control's sheet, frame size and clips, like the sprite sheet editor. Every frame is checked against the sheet
preview_control Open Preview, fire an event (including key, tick and input events), run JavaScript on the screen, let time pass for animations and physics, read the live state, capture a screenshot, close
minecraft_test_control, get_test_status Start, apply, open/close, run commands in, and stop the Minecraft test, and read its logs
get_templates, apply_template Use the script templates
project_control Create or open a project (after saving the current one)

Edits include adding and changing screens, controls, scripts and events, the Main screen, project settings, components, starters and align/distribute. Every edit request includes the revision number the assistant last read. If you changed something in the meantime, the edit is refused and the assistant rereads the project, so it never overwrites your work blindly.

Server actions in Preview stay simulated even when an assistant triggers them. Project text and scripts are treated as data, not instructions to the assistant.

Clone this wiki locally