MCP server · Audited from source
Civ6 MCP server
by lmwilki/civ6-mcpMIT licenceAudited 7 Oct 2026 · source 1126821f1d7c
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.
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN 5 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 8 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 npm
webat 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
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
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
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
"beacon",
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · src/civ_mcp/server.py:338
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
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
LOWInventory / provenanceinv.symlink · CLAUDE.md
CLAUDE.md
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · GEMINI.md
GEMINI.md
- Why
- link not followed
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · scripts/convex_sync.py:186
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
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
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
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
import { api } from "../../convex/_generated/api";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · web/package.json
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
**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
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.
| Tool | Risk | What it does |
|---|---|---|
kill_game | destructive | Kill the Civ 6 game process and wait for Steam to deregister. |
restart_and_load | destructive | Full game recovery: kill, relaunch, and load a save. |
list_saves | write | List available save files (normal, autosave). |
load_game_save | write | Load a save file by name. No need to call list_saves first. |
load_save | write | Load a save file by index from the most recent list_saves() result. |
load_save_from_menu | write | Navigate the main menu to load a save via OCR-guided clicking. |
promote_unit | write | Apply a promotion to a unit. |
run_lua | write | Run arbitrary Lua code in the game. Advanced escape hatch — prefer built-in tools. |
send_diplomatic_action | write | Send a proactive diplomatic action to another civilization. |
send_envoy | write | Send an envoy to a city-state. |
set_city_focus | write | Set a city |
set_city_production | write | Set what a city should produce. |
set_policies | write | Set policy cards in government slots. |
set_research | write | Choose a technology or civic to research. |
spy_action | write | Send a spy to a city or launch a spy mission. |
appoint_governor | read | Appoint a new governor. |
assign_governor | read | Assign an appointed governor to a city. |
change_government | read | Switch to a different government type. |
choose_dedication | read | Choose a dedication/commemoration for the current era. |
choose_pantheon | read | Found a pantheon with the specified belief. |
city_action | read | Issue a command to a city. |
dismiss_popup | read | Dismiss any blocking popup in the game UI. |
end_turn | read | End the current turn. |
form_alliance | read | Form an alliance with another civilization. |
found_religion | read | Found a religion with a chosen name, follower belief, and founder belief. |
get_builder_tasks | read | Get a prioritized task board for all your builders. |
get_cities | read | List all your cities with yields, population, production, growth, and loyalty. |
get_city_production | read | List what a city can produce right now. |
get_city_states | read | List known city-states with envoy counts and types. |
get_dedications | read | Get current era age, available dedications, and active ones. |
get_diary | read | Read diary entries for game memory. |
get_diplomacy | read | Get diplomatic status with all known civilizations. |
get_district_advisor | read | Show best tiles to place a district with adjacency bonuses. |
get_empire_resources | read | Get a summary of all resources in and near your empire. |
get_game_overview | read | Get a high-level summary of the current game state. |
get_global_settle_advisor | read | Find the best settle locations across the entire revealed map. |
get_governors | read | Get governor status, appointed governors, and available types. |
get_gp_advisor | read | Show best cities to activate a Great Person, ranked by suitability. |
get_great_people | read | See available Great People and recruitment progress. |
get_map_area | read | Get terrain info for tiles around a point. |
get_notifications | read | Get all active game notifications. |
get_pantheon_beliefs | read | Get pantheon status and available beliefs for selection. |
get_pathing_estimate | read | Estimate how many turns a unit needs to reach a destination. |
get_pending_diplomacy | read | Check for pending diplomacy encounters (e.g. first meeting with a civ). |
get_pending_trades | read | Check for pending trade deal offers from other civilizations. |
get_policies | read | Get current government, policy slots, and available policies. |
get_purchasable_tiles | read | List tiles a city can purchase with gold. |
get_religion_beliefs | read | Get religion founding status, available religions, and available beliefs. |
get_religion_spread | read | Get per-city religion breakdown across all visible cities. |
get_settle_advisor | read | List best settle locations near a settler unit. |
get_spies | read | List all your spy units with position, rank, city, and available missions. |
get_strategic_map | read | Get fog-of-war boundaries and unclaimed resources across the map. |
get_tech_civics | read | Get technology and civic research status. |
get_trade_destinations | read | List valid trade route destinations for a trader unit. |
get_trade_options | read | See what both sides can trade — like opening the trade screen. |
get_trade_routes | read | Get trade route capacity, active routes, and trader status. |
get_unit_promotions | read | List available promotions for a unit. |
get_units | read | List all your units with position, type, movement, and health. |
get_victory_progress | read | Get victory condition progress for all civilizations. |
get_wonder_advisor | read | Show best tiles to place a wonder with displacement cost analysis. |
get_world_congress | read | Get World Congress status, active resolutions, and voting options. |
launch_game | read | Launch Civ 6 via Steam. |
patronize_great_person | read | Buy a Great Person instantly with gold or faith. |
promote_governor | read | Promote a governor with a new ability. |
propose_peace | read | Propose white peace to a civilization you |
propose_trade | read | Propose a trade deal to another civilization. |
purchase_item | read | Purchase a unit or building instantly with gold or faith. |
purchase_tile | read | Buy a tile for a city with gold. |
queue_wc_votes | read | Pre-configure World Congress votes for the upcoming session. |
recruit_great_person | read | Recruit a Great Person using accumulated GP points. |
reject_great_person | read | Pass on a Great Person (skip to the next one in that class). |
respond_to_diplomacy | read | Respond to a pending diplomacy encounter. |
respond_to_trade | read | Accept or reject a pending trade deal. |
skip_remaining_units | read | Skip all units that still have moves remaining. |
unit_action | read | Issue a command to a unit. |
upgrade_unit | read | Upgrade 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]{
"mcpServers": {
"web": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"AZURE_SAS_TOKEN": "${AZURE_SAS_TOKEN}",
"AZURE_STORAGE_ACCOUNT_KEY": "${AZURE_STORAGE_ACCOUNT_KEY}",
"CONVEX_DEPLOY_KEY": "${CONVEX_DEPLOY_KEY}"
}
}
}
}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
- !CAUTION B 84 / 100
First audit ·
1126821f1d7c
README badge
For maintainers · updates on every re-audit
[](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?
What tools does Civ6 expose?
Is Civ6 safe to connect to an agent?
What credentials does Civ6 need?
How does Civ6 run?
How current is this page?
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.
- What is the Civ6 MCP server?
- What tools does Civ6 expose?
- Is Civ6 safe to connect to an agent?