ModsFinder

Codex Client Control

by JiuWu

Codex Client Control opens a local HTTP and WebSocket interface so AI tools running on the same machine can read and operate a running Minecraft client.

FabricNeoForgeClient-side onlyGNU Lesser General Public License v3.0 or laterOpen source1.21.8 – 1.21.11

What it does

A token-guarded connection listens only on the loopback address 127.0.0.1, letting an AI tool running on that same computer both read the state of the client and issue genuine in-game commands to it. Reading covers player state, chat history, the crosshair target, container contents, the current screen and the player list. Acting covers movement keys, camera look, hotbar selection, chat sending, command execution, GUI clicks, scrolling, key input, text entry and widget targeting.

The mod was written because most AI tools can explain or write Minecraft code but cannot operate a running client. Through the same interface, external scripts, desktop tools and agents can run short action sequences, take screenshots and inspect or debug the client. The HTTP design was chosen so any agent can make an ordinary local request without a special plugin host, and an embedded scripting environment is part of the project.

Codex Client Control is client-side only, so only the client needs it and servers run without it. It is published for Fabric and NeoForge with files for 1.21.8 and 1.21.11, and the latest build, 1.1.0+1.21.11, is dated 2026-03-18. It is open source under the GNU Lesser General Public License v3.0 or later, and its source code and wiki are public.

Key features

  1. Local token-protected API

    An HTTP and WebSocket interface listens only on the local address, and every request must carry a token.

  2. Client state reading

    Agents can query chat history, the crosshair target, container contents, the current screen and the player list.

  3. In-game input

    Movement keys, camera turns, hotbar slot changes and chat or command input are sent as real actions.

  4. GUI interaction

    Clicks, scrolling, key presses, text fields and widget targeting work on open screens, and screenshots can be taken.

Compatibility

Latest build for each game version and loader.

1.21.111.1.0+1.21.111.1.0+1.21.11
1.21.81.1.0+1.21.81.1.0+1.21.8
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

How it compares

Full comparison

APIBlock is a Fabric mod for 1.21 – 1.21.11 that runs on client and server, with a GNU General Public License v3.0 only license. MCPFabric covers Fabric and NeoForge for 1.21.1 – 26.3 on client and server under the MIT License. Codex Client Control differs by being client-side only and by its scope, which is driving the client through a local API rather than adding server-side functions.

ModLoadersGame versionsEnvironmentUpdated
Codex Client ControlFabric and NeoForge1.21.8 – 1.21.11Client-side only2026-03-18
APIBlockFabric1.21 – 1.21.11Client and server2026-06-10
MCPFabricFabric and NeoForge1.21.1 – 26.3Client and server2026-10-15

Questions

Does Codex Client Control need to be installed on the server?

No. Servers do not need it; each player installs it for their own game.

Which loader should be used with Codex Client Control?

The mod is published for Fabric and NeoForge, with files for 1.21.8 and 1.21.11 on both loaders.

Can the interface be reached from another computer?

Because the endpoint listens on 127.0.0.1, only software on the same machine can reach it and submit requests.

In the catalog

Codex Client Control is one of 8,499 Technology mods on ModsFinder, and one of 4,201 Technology mods for Fabric. 19,862 mods support Minecraft 1.21.11.

Similar mods

What the author says

Codex Client Control started from a simple problem: most AI tools can explain Minecraft, talk about Minecraft, and write code for Minecraft, but they still cannot actually operate a running Minecraft client. That gap is what this mod is meant to close. It opens a token-protected local HTTP and WebSocket interface on…
JiuWu, on the Modrinth page

Official listing

Owner
JiuWu
Published
2026-03-18
Updated on Modrinth
2026-03-18
Facts verified
2026-10-15

Tags