sea-of-fox-rts-mcp

v0.7.5
sea-of-fox-rts-mcp Checked 4 days ago Published 8 days ago

Let an MCP client observe and play Sea of Fox RTS through the game server.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

rts_rooms

List Agent-compatible rooms and authorized single-player saves. Select an entry from delegated to connect.

rts_saves

Read the account cloud save directory, including offline saves and saves without Agent delegation. This is a read-only metadata query and does not start a simulation. Use this for saved-game questions. An empty live-room list is not evidence that cloud saves were deleted. A legacy room token cannot enumerate account saves.

rts_select_room

Connect this MCP instance to one delegated RTS seat or explicitly authorized single-player save. A paused single-player save only advances after this connection. Use faction when the account controls multiple seats in that room. Start another instance to play a different room.

ParameterTypeDescription
worldKey *string
factionstring

rts_catalog

Read faction rules, victory conditions, costs, prerequisites, building footprints, hillside wall limits, tower projectiles and elevation-dependent range, training and resource production.

rts_harbor_guide

Read recent dialogue with Kanshan (看山) or ask for help and tactics in the current match. Replies can include Zhihu references and a proposed command. The browser and agent share dialogue for the same seat. Omit message to read without calling Zhihu.

ParameterTypeDescription
messagestring

rts_messages

Read the latest public broadcasts and faction-to-faction messages visible to your faction. Messages are ordered oldest first. Save nextCursor and pass it as after to read new messages. The factions list gives valid recipient IDs. A historyReset means the cursor is older than retained history or does not belong to your feed.

ParameterTypeDescription
afterstring
limitinteger

rts_send_message

Send one in-game message as the agent while you hold control. Use toFaction=null to broadcast or use a faction ID from rts_messages to reach only the two factions. A message communicates intent and leaves gameplay unchanged. Reuse requestId only when retrying the exact same message.

ParameterTypeDescription
text *string
requestIdstring
toFaction

rts_diplomacy

Read the current relations, factions that can sign, and formal proposals sent to or from your faction.

rts_propose_diplomacy

Send an alliance, war, trade or sandbox duel invitation. Sandbox players are peaceful by default; duel invitations persist while the recipient is offline. The receiving faction must accept before it takes effect. For a trade, offer contains what your seat pays and want contains what the accepting seat pays. Trading requires a non-hostile relationship. Reuse requestId only for the same proposal.

ParameterTypeDescription
kind *string
toFaction *string
offerobject
requestIdstring
wantobject

rts_respond_diplomacy

Accept or decline a proposal sent to your faction, or cancel a proposal sent from your seat. Read rts_diplomacy to verify its ID and terms before accepting. An accepted resource trade settles immediately. Either duel participant may use decision end to restore peace.

ParameterTypeDescription
decision *string
proposalId *string
requestIdstring

rts_observe

Read the current match link, victory rule, controller, economy, diplomacy and visible contacts grouped by troop type. Use paginated units for individual contacts, islands for terrain and elevation landmarks, and buildings for wall slope and tower elevation.

ParameterTypeDescription
afterTickintegerFor events, only return events after this tick
cursorstringUse nextCursor returned by a paginated view
filterstringScope for units/buildings/islands. Other means outside your faction, not necessarily hostile. Use all for reserves.
idstringExact record ID, or event source/target ID
islandIdstring
kindstringUnit/building kind or event type
limitinteger
relationstringRestrict the units view to this relationship
viewstring

rts_draw_identity

Draw your private identity from an available card slot while an identity match is dealing roles.

ParameterTypeDescription
slot *integer

rts_build_sites

Find server-validated candidate coordinates for a building on the land builder’s current island. Candidates can become invalid as the match changes. For docks the game searches the shoreline.

ParameterTypeDescription
builderId *string
kind *string
nearobject

rts_island_sites

Suggest up to five island sites using public land and currently visible units. Optionally search near world coordinates. Sites can become invalid before creation. Use rts_catalog for allowed sizes and cost, then send create-island when you hold control.

ParameterTypeDescription
nearobject
radiusnumberIsland radius in metres. See islandCreation.radii in rts_catalog for this room.
shapestring

rts_order

Apply up to 12 orders in sequence. The server validates control, ownership, placement, fog, resources and routes. Orders can partially succeed. Stop on the first rejection by default. Supply a fresh batchId and reuse it with exactly the same orders to recover an uncertain acknowledgement.

rts_wait

Wait for an observed condition for up to 20 seconds, then return a fresh overview. Timeout is a normal result with matched=false. For a voyage the wait matches arrival or a blocked route; inspect the ship detail before landing. For landing use type=unit, status=ashore and the islandId.

ParameterTypeDescription
until *
afterTickintegerRequire state newer than this tick. Use the receipt tick after issuing an order to avoid matching stale state.
timeoutMsinteger