Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Civ6 MCP server

by lmwilki/civ6-mcpMIT licenceAudited 7 Oct 2026 · source 1126821f1d7c

npm web 0.1.0stdio★ 208
!CAUTIONGrade B · 84/100 · 7 Oct 2026 · 1126821
208GitHub stars

Is it safe? With care — CAUTION, grade B (84/100). It exposes 76 tools: 61 read, 13 write and 2 destructive. The audit recorded 15 findings (0 critical, 0 high, 6 medium, 9 low). Maintainer's description: An MCP server that lets LLM agents play Civilization VI.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Civ6 MCP server (lmwilki/civ6-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/lmwilki/civ6

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score84/100!CAUTION B
0 critical0 high6 medium9 low0 info

15 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared8 observations
  • NetworkDeclared7 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 5 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 8 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner lmwilkiUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmweb at version 0.1.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push43 days agoActivity of the repository when we read it.
  • Source commit read1126821f1d7cThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory76 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (15)

Sorted by severity

MEDIUMInventory / provenanceinv.binary · evals/saves/0A_GROUND_CONTROL.Civ6Save
F-13 Inventory / provenanceCWE-1104Layer L0
0A_GROUND_CONTROL.Civ6Save
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · evals/saves/0B_SNOWFLAKE.Civ6Save
F-13 Inventory / provenanceCWE-1104Layer L0
0B_SNOWFLAKE.Civ6Save
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · evals/saves/0C_CRY_HAVOC.Civ6Save
F-13 Inventory / provenanceCWE-1104Layer L0
0C_CRY_HAVOC.Civ6Save
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMNetwork egressnet.beacon_words · src/civ_mcp/run_id.py:165
F-04 Network egressCWE-200 · CWE-319Layer L1
"beacon",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/civ_mcp/server.py:338
F-04 Network egressCWE-200 · CWE-319Layer L1
log.info("Web API starting on http://0.0.0.0:8000")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
kill_game, restart_and_load
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure cryptocrypto.weak_hash · scripts/convex_sync.py:186
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return hashlib.md5("".join(lines).encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · web/src/components/strategic-map.tsx:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { api } from "../../convex/_generated/api";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · web/src/lib/use-diary-convex.ts:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { api } from "../../convex/_generated/api";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · web/src/lib/use-diary-convex.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { Doc } from "../../convex/_generated/dataModel";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · web/src/lib/use-elo-convex.ts:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { api } from "../../convex/_generated/api";
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · web/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
class-variance-authority, clsx, convex, fumadocs-core, fumadocs-mdx, fumadocs-ui, lucide-react, modern-gif
Why
25 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.override · docs/architecture-diagrams.md:252
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**GameCore (state 8)** is direct access to the simulation. You can read anything — unit positions, city yields, map terrain, tech progress — and you can write some things directly (kill a unit, set a
Why
asks the agent to drop prior instructions or safety
Fix
remove the instruction

Tools it exposes

76 declared in source · 2 destructive

61 read13 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
kill_gamedestructiveKill the Civ 6 game process and wait for Steam to deregister.
restart_and_loaddestructiveFull game recovery: kill, relaunch, and load a save.
list_saveswriteList available save files (normal, autosave).
load_game_savewriteLoad a save file by name. No need to call list_saves first.
load_savewriteLoad a save file by index from the most recent list_saves() result.
load_save_from_menuwriteNavigate the main menu to load a save via OCR-guided clicking.
promote_unitwriteApply a promotion to a unit.
run_luawriteRun arbitrary Lua code in the game. Advanced escape hatch — prefer built-in tools.
send_diplomatic_actionwriteSend a proactive diplomatic action to another civilization.
send_envoywriteSend an envoy to a city-state.
set_city_focuswriteSet a city
set_city_productionwriteSet what a city should produce.
set_policieswriteSet policy cards in government slots.
set_researchwriteChoose a technology or civic to research.
spy_actionwriteSend a spy to a city or launch a spy mission.
appoint_governorreadAppoint a new governor.
assign_governorreadAssign an appointed governor to a city.
change_governmentreadSwitch to a different government type.
choose_dedicationreadChoose a dedication/commemoration for the current era.
choose_pantheonreadFound a pantheon with the specified belief.
city_actionreadIssue a command to a city.
dismiss_popupreadDismiss any blocking popup in the game UI.
end_turnreadEnd the current turn.
form_alliancereadForm an alliance with another civilization.
found_religionreadFound a religion with a chosen name, follower belief, and founder belief.
get_builder_tasksreadGet a prioritized task board for all your builders.
get_citiesreadList all your cities with yields, population, production, growth, and loyalty.
get_city_productionreadList what a city can produce right now.
get_city_statesreadList known city-states with envoy counts and types.
get_dedicationsreadGet current era age, available dedications, and active ones.
get_diaryreadRead diary entries for game memory.
get_diplomacyreadGet diplomatic status with all known civilizations.
get_district_advisorreadShow best tiles to place a district with adjacency bonuses.
get_empire_resourcesreadGet a summary of all resources in and near your empire.
get_game_overviewreadGet a high-level summary of the current game state.
get_global_settle_advisorreadFind the best settle locations across the entire revealed map.
get_governorsreadGet governor status, appointed governors, and available types.
get_gp_advisorreadShow best cities to activate a Great Person, ranked by suitability.
get_great_peoplereadSee available Great People and recruitment progress.
get_map_areareadGet terrain info for tiles around a point.
get_notificationsreadGet all active game notifications.
get_pantheon_beliefsreadGet pantheon status and available beliefs for selection.
get_pathing_estimatereadEstimate how many turns a unit needs to reach a destination.
get_pending_diplomacyreadCheck for pending diplomacy encounters (e.g. first meeting with a civ).
get_pending_tradesreadCheck for pending trade deal offers from other civilizations.
get_policiesreadGet current government, policy slots, and available policies.
get_purchasable_tilesreadList tiles a city can purchase with gold.
get_religion_beliefsreadGet religion founding status, available religions, and available beliefs.
get_religion_spreadreadGet per-city religion breakdown across all visible cities.
get_settle_advisorreadList best settle locations near a settler unit.
get_spiesreadList all your spy units with position, rank, city, and available missions.
get_strategic_mapreadGet fog-of-war boundaries and unclaimed resources across the map.
get_tech_civicsreadGet technology and civic research status.
get_trade_destinationsreadList valid trade route destinations for a trader unit.
get_trade_optionsreadSee what both sides can trade — like opening the trade screen.
get_trade_routesreadGet trade route capacity, active routes, and trader status.
get_unit_promotionsreadList available promotions for a unit.
get_unitsreadList all your units with position, type, movement, and health.
get_victory_progressreadGet victory condition progress for all civilizations.
get_wonder_advisorreadShow best tiles to place a wonder with displacement cost analysis.
get_world_congressreadGet World Congress status, active resolutions, and voting options.
launch_gamereadLaunch Civ 6 via Steam.
patronize_great_personreadBuy a Great Person instantly with gold or faith.
promote_governorreadPromote a governor with a new ability.
propose_peacereadPropose white peace to a civilization you
propose_tradereadPropose a trade deal to another civilization.
purchase_itemreadPurchase a unit or building instantly with gold or faith.
purchase_tilereadBuy a tile for a city with gold.
queue_wc_votesreadPre-configure World Congress votes for the upcoming session.
recruit_great_personreadRecruit a Great Person using accumulated GP points.
reject_great_personreadPass on a Great Person (skip to the next one in that class).
respond_to_diplomacyreadRespond to a pending diplomacy encounter.
respond_to_tradereadAccept or reject a pending trade deal.
skip_remaining_unitsreadSkip all units that still have moves remaining.
unit_actionreadIssue a command to a unit.
upgrade_unitreadUpgrade a unit to its next type (e.g. Slinger -> Archer).

Install

Package version 0.1.0 · audited commit 1126821

Read the findings first. The most severe is Inventory / provenance (medium) at evals/saves/0A_GROUND_CONTROL.Civ6Save.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.1.0. The audit covers commit 1126821 only.

claude mcp add web --env AZURE_SAS_TOKEN=${AZURE_SAS_TOKEN} --env AZURE_STORAGE_ACCOUNT_KEY=${AZURE_STORAGE_ACCOUNT_KEY} --env CONVEX_DEPLOY_KEY=${CONVEX_DEPLOY_KEY} -- npx -y [email protected]

The command pins the package version recorded in the source (0.1.0); the audit covers commit 1126821f1d7c. Transport: stdio. Reads these environment variables: AZURE_SAS_TOKEN, AZURE_STORAGE_ACCOUNT_KEY, CONVEX_DEPLOY_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 84 / 100

    First audit · 1126821f1d7c

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/lmwilki/civ6/badge.svg)](https://modelsatlas.com/mcp/lmwilki/civ6/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Civ6 MCP server

What is the Civ6 MCP server?
An MCP server that lets LLM agents play Civilization VI.
What tools does Civ6 expose?
76 in total: 61 read-only, 13 that write, and 2 that can delete or overwrite (kill_game, restart_and_load). Every one is listed on this page with its risk.
Is Civ6 safe to connect to an agent?
With care. The audit graded it B (84/100) and found 15 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Civ6 need?
It reads AZURE_SAS_TOKEN, AZURE_STORAGE_ACCOUNT_KEY and CONVEX_DEPLOY_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Civ6 run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as web at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (1126821f1d7c), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • lmwilki/civ6-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 1126821f1d7cObserved · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.