Skip to content

Codex Client Control

A local HTTP bridge for AI-driven Minecraft client control.

FabricNeoForge
Loaders
FabricNeoForge
Downloads on Modrinth
527
Followers on Modrinth
3
versions
5
Updated
March 18, 2026Mar 18
Published
in 2026

At a glance

Runs on Fabric and NeoForge
For Minecraft 1.21.8, 1.21.11
Client only — no need to install it on the server
Latest version — 1.1.0+1.21.11 from March 18, 2026
License LGPL-3.0-or-later — free
Where it's needed
In gamerequiredOn servernot needed

Install in the game only; not needed on the server

Game versions1.21.8, 1.21.11

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 127.0.0.1, so an AI agent on the same machine can read client state and send real in-game actions back to the client it is supposed to control.

This project was built with Codex in mind first. The name is not accidental: it exists to give Codex a practical way to see what the client is doing, inspect the current UI, and perform actual gameplay-side operations instead of stopping at text-only reasoning.

In practice, that means an external tool can read chat, inspect the current screen, check the focused block, look at container contents, move the player, turn the camera, switch hotbar slots, type into GUI fields, click widgets, take screenshots, or run short action sequences.

HTTP was chosen on purpose. It is simple, easy to inspect, easy to debug, and easy for AI tools to call. If an agent can make a normal local request, it can control the client without needing a special plugin host or an embedded scripting environment.

Why It Exists

  • To let AI tools operate a real Minecraft client instead of only talking about one
  • To give Codex a straightforward control path through a local API
  • To make client automation easy to inspect, test, and extend
  • To bridge normal scripts, desktop tools, and AI agents with a running game client

What It Can Control

  • Player state, chat history, crosshair target, container contents, current screen, and player list
  • Movement keys, look control, hotbar selection, chat sending, and command execution
  • GUI clicks, scroll input, key input, text entry, and widget targeting
  • Screenshots, action sequences, managed actions, and local debug helpers

Notes

  • The API is local-only by default and token-protected.
  • It controls the client you are already running; it does not log in a second account.
  • It was built for Codex first, but anything that can call the local API can use it.
  • If you need very heavy continuous automation, the repository also includes an optional lan-bot side project for that style of workload.

FAQ

How to install Codex Client Control?

Install Fabric for your Minecraft version, download Codex Client Control for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Codex Client Control support?

Codex Client Control has builds for Minecraft 1.21.8, 1.21.11.

Is Codex Client Control needed on the server?

Client only — no need to install it on the server

License and source
GNU Lesser General Public License v3.0 or laterfree to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More