Skip to main content
Glama
Captain of Industry MCP

Captain of Industry MCP

by DongFengYan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COI_PORTNoThe default API port is 3073. For a custom port, use e.g. web_api_start 3080 and set COI_PORT=3080 in the MCP client's server environment.3073

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Read the live Captain of Industry island. Use product IDs from coi_list_products. Separate measured game flows from theoretical recipe rates. Interpret zero or missing recorded consumption cautiously, especially during a supply interruption.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
coi_game_infoA

Check the game connection, in-game date, speed, and pause state.

coi_list_productsA

Find product IDs by localized name or ID. Defaults to unlocked products.

coi_product_statsA

Read current inventory and production/consumption totals for product IDs. Flow arrays are [thisMonth, lastMonth, thisYear, lastYear, lifetime].

coi_product_historyB

Read monthly history for selected products. The last sample is the month in progress.

coi_product_sourcesC

Break down measured product flows by recipe, machine or other source/sink, where the game reports them.

coi_find_shortagesA

Rank products with a recorded net deficit by estimated months until aggregate inventory runs out. Uses measured full months. Pass product IDs to focus on essentials such as fuel, food, or maintenance.

coi_size_recipeC

Calculate machine count and upstream input demand for one recipe. Supply rates per machine per game month from the recipe panel. This tool also works offline.

coi_shipyard_stockA

Read the physical stock of a countable product in the starting shipyard. Requires the CoiMcpShipyard game mod.

coi_add_shipyard_stockA

Create real cargo in the starting shipyard's truck logistics buffer. Requires the CoiMcpShipyard game mod. Only call when the user wants to create the specified number of units. Check stock before retrying an uncertain write.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 9 tools

Disambiguation4/5

Most tools target clearly different facets: discovery (list_products), scalar aggregates (product_stats), temporal series (product_history), attribution (product_sources), ranking (find_shortages), and calculation (size_recipe). The three product-read tools (stats/history/sources) all read product flow data, so an agent could occasionally misselect between them, but the descriptions do differentiate them (current totals vs. monthly arrays vs. per-recipe breakdown). The shipyard read/write pair is cleanly distinguished.

Naming Consistency4/5

All names share a consistent coi_ prefix and snake_case, which is highly predictable. The only deviation is the verb/noun mix: some are verb-first (list_products, find_shortages, size_recipe, add_shipyard_stock) while others are noun-first (game_info, product_stats, shipyard_stock). Readable and consistent enough, but not a uniform verb_noun pattern.

Tool Count5/5

With 9 tools, the surface is well-scoped for a game analytics/inspection purpose. Every tool earns its place: one discovery tool, several analysis facets, an offline calculator, and a mod-gated shipyard read/write pair. No redundant or filler tools.

Completeness4/5

The product-analysis lifecycle is well covered: lookup IDs, current stats, monthly history, source attribution, shortage ranking, and recipe sizing, plus game connection info. Minor gaps remain: the single write tool (coi_add_shipyard_stock) has no matching remove/clear operation and there is no recipe/machine ID discovery tool (agents must recover IDs from coi_product_sources). Those are workable but noticeable gaps.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues