
Factorioctl
by markmccaskey
RCON-based MCP server and CLI for autonomous Factorio gameplay and factory management.
What it does
Factorioctl provides an AI-native interface to Factorio via RCON, enabling agents to autonomously build factories, manage logistics, and perform complex spatial planning using specialized tools and A* pathfinding.
Tools
walk_to: Moves the character to a specific coordinate via pathfinding.place_entity: Places a building or item from the inventory at a given position.route_belt: Performs A* pathfinding to place transport belts, including underground support.render_map: Generates an ASCII visualization of the current game area.get_entities/get_resources: Queries game state for objects and ore patches in a region.analyze_belt_networks: Diagnoses logistics issues, gaps, and "sushi belts".create_zone: Defines spatial boundaries to prevent the agent from building over critical resources.execute_lua: Executes raw Lua scripts directly within the game engine.
Installation
Run the following command in your terminal:
cargo run --bin mcp
Supported hosts
- Claude
Quick install
cargo run --bin mcpInformation
- Pricing
- free
- Published
- 4/29/2026
- stars






