MCP, MCP server
Civ6 Mcp
An MCP server that lets LLM agents play full games of Civilization VI.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit dd2019056371, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV OBFUSCATION_ENCODED_BLOB SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
evals/runner.py, line 409
result = subprocess.run( - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
evals/runner.py, line 72
s = socket.create_connection(("127.0.0.1", port), timeout=2) - SECRETS_PATH_DOTENV Low
Mentions a .env file.
evals/runner.py, line 33
- evals/.env with API credentials (see evals/.env.example) - OBFUSCATION_ENCODED_BLOB Low
Contains a long base64 shaped string in a file that should be readable.
uv.lock, line 1
version = 1 - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
scripts/analyze.py, line 106
sas = os.environ.get("AZURE_SAS_TOKEN") or env.get("AZURE_SAS_TOKEN", "")
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
evals/runner.py, line 409
result = subprocess.run(
scripts/launch_save.py, line 44
subprocess.run(["screencapture", "-x", path], check=True)
scripts/launch_save.py, line 77
r = subprocess.run(
Show more
scripts/launch_save.py, line 126
subprocess.run(
scripts/launch_save.py, line 138
r = subprocess.run(["pgrep", "-f", PROCESS_NAME], capture_output=True)
scripts/launch_save.py, line 143
subprocess.run(["pkill", "-9", "-f", "Civ6"], capture_output=True)
scripts/launch_save.py, line 148
subprocess.run(["open", f"steam://run/{STEAM_APP_ID}"])
scripts/orchestrator.py, line 484
result = subprocess.run(
src/civ_mcp/game_lifecycle.py, line 309
os.remove(old)
src/civ_mcp/server.py, line 81
os.remove(f)
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
evals/runner.py, line 72
s = socket.create_connection(("127.0.0.1", port), timeout=2)
scripts/analyze.py, line 54
resp = requests.post(
scripts/scrape_wiki_images.py, line 176
resp = requests.get(
Show more
scripts/scrape_wiki_images.py, line 200
resp = requests.get(url, timeout=30)
scripts/orchestrator/alert.py, line 29
urllib.request.urlopen(req, timeout=5)
scripts/publish_hf/croissant.py, line 351
resp = httpx.get(
src/civ_mcp/game_launcher.py, line 321
s = socket.create_connection(("127.0.0.1", _TUNER_PORT), timeout=2)
docs/research/bypassing_aspyr_launcher.md, line 206
with socket.create_connection((host, port), timeout=1):
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
evals/runner.py, line 33
- evals/.env with API credentials (see evals/.env.example)
evals/runner.py, line 46
# Load credentials from evals/.env
scripts/analyze.py, line 106
sas = os.environ.get("AZURE_SAS_TOKEN") or env.get("AZURE_SAS_TOKEN", "")
Show more
evals/runner.py, line 50
_ENV_FILE = EVALS_DIR / ".env"
scripts/analyze.py, line 20
EVALS_ENV = Path(__file__).resolve().parent.parent / "evals" / ".env"
scripts/analyze.py, line 39
"""Read evals/.env for Azure credentials."""
scripts/analyze.py, line 126
"No Azure credentials found. Set AZURE_SAS_TOKEN in .env "
scripts/analyze.py, line 127
"or AZURE_STORAGE_ACCOUNT_KEY in evals/.env"
scripts/analyze.py, line 2640
# Try web/.env.prod first
scripts/convex_sync.py, line 105
deploy_key = os.environ.get("CONVEX_DEPLOY_KEY") or file_env.get(
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Concern
contains an encoded blob in a file that should be readable.
OBFUSCATION_ENCODED_BLOB
uv.lock, line 1
version = 1
docs/devlog/game_001_poland_jadwiga.md, line 1
# Civ 6 MCP - Development Log
evals/saves/0A_GROUND_CONTROL.Civ6Save, line 1
CIV6 ! ��� ! GAMESPEED_QUICK @\�
Show more
evals/saves/0B_SNOWFLAKE.Civ6Save, line 1
CIV6 ! ��� ! GAMESPEED_QUICK @\�
evals/saves/0C_CRY_HAVOC.Civ6Save, line 1
CIV6 ! ��� ! GAMESPEED_QUICK @\�
web/bun.lock, line 1
{
web/package-lock.json, line 1
{
web/public/images/providers/meta_small.svg, line 1
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
web/public/images/providers/meta_small.svg, line 17
<image id="image0_2719_990" width="3157" height="2105" preserveAspectRatio="none" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADFUAAAg5CAYAAAB+NrvbAAAACXBIWXMAABcRAAAX
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit dd2019056371. can delete files. can reach a host that is not written as a fixed address. reads a credential or environment file. contains an encoded blob in a file that should be readable.
Date and source
Date checked:
github.com
Commit graded: dd2019056371b92ea4854e879ddf05a8cad95e8a
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.