MCP Server

v1.0.1
by Kurax

MCP Server for Captain of Industry. Default MCP endpoint: http://127.0.0.1:3073/api/mods/MCPServer/mcp

Beta 2 hours ago CoI-Open No source
Source code
No source provided

Starts the game's loopback Web API automatically and exposes state and action routes plus an in-process MCP endpoint. Default MCP endpoint: http://127.0.0.1:3073/api/mods/MCPServer/mcp. Change the port in the mod settings; 0 picks a free port. All actions go through the game's input pipeline, and cheats are not exposed.

No announcements yet.

v1.0.1

Latest
Game version
0.8.8 - 0.8.8d
Released
Nov 12, 2026
File size
31.8 KB
License
CoI-Open
Save-game: Add · Remove
Changelog
New tools
- entity - inspect one built entity:
- port name, input/output/any type, shape, allowed product type, world position, facing direction and connection;
- assigned recipes, last recipe in progress;
- per-recipe input/output products and the ports that carry them.
- set_recipe - enable or disable a machine recipe through MachineSetRecipeActiveCmd.
- harvest_trees - add or remove a rectangle of trees from the harvest designation, with an optional product filter.
- trees - list trees in a rectangle, including harvest selection, reservation, growth, quantity and per-harvester reachability hints.
Loading forum…

v1.0.1

New tools
- entity - inspect one built entity:
- port name, input/output/any type, shape, allowed product type, world position, facing direction and connection;
- assigned recipes, last recipe in progress;
- per-recipe input/output products and the ports that carry them.
- set_recipe - enable or disable a machine recipe through MachineSetRecipeActiveCmd.
- harvest_trees - add or remove a rectangle of trees from the harvest designation, with an optional product filter.
- trees - list trees in a rectangle, including harvest selection, reservation, growth, quantity and per-harvester reachability hints.

v1.0.0

- Initial release
This mod depends on

This mod has no dependencies.

Mods that depend on this

No other mods depend on this mod yet.