Connecting an AI Assistant (MCP)
If you use an AI assistant that supports the Model Context Protocol (MCP) (such as Claude Desktop, Claude Code, Cursor, or other MCP clients), MPLC includes a built-in local MCP endpoint on the same localhost server that powers the Browser Editor.
This feature is completely optional—players never need it for normal gameplay.
- Make sure you have a
PLC Programmer in your inventory (and a
Wireless Upgrade installed if you want the assistant to reach PLCs without standing right in front of them). - Right-click the Programmer in the air to open its screen.
- Click MCP in the top bar. MPLC copies a ready-to-paste
mcpServersJSON snippet to your clipboard. - Paste that snippet into your MCP client’s configuration file and restart/reload the client.
What the assistant can do
Section titled “What the assistant can do”While your Minecraft client is in a world and you are carrying your Programmer, the assistant has access to six tools:
docs— read MPLC’s built-in scripting guide and look up exact function signatures.programmers— list your carried Programmer(s) and their registered PLCs.plc— inspect a PLC’s mode, bindings, last fault, scan interval, rename it, or Run / Stop / Reset it.program— read the current program (or installed library modules), run a safe Dry run, or upload a revised script.analyze— run MPLC’s real compiler and autocomplete/diagnostics analyzer against a draft before uploading.library— read and manage saved programs in your Programmer’s library.
Safety boundaries
Section titled “Safety boundaries”- Server rules always win: Every action goes through the same server-side checks as clicking buttons yourself (held Programmer, living non-spectator player, valid wireless range or open PLC screen).
- No claiming PLCs: An assistant can never press Claim on an ownerless PLC—world-action ownership must always be claimed in person.
- Works while paused: In singleplayer, you can pause the game while iterating on a script with your assistant; requests still answer while scans stay paused.
- Disable auto-start if unused: In
config/mplc-client.toml, setwebEditor.startOnLaunch = falseso the localhost server stays off until you explicitly click Browser.
Not an official Minecraft website. Not approved by or associated with Mojang or Microsoft.