
lmwilki/civ6-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
lmwilki/civ6-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/lmwilki/civ6-mcp.
Обзор
lmwilki/civ6-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/lmwilki/civ6-mcp.
Обзор (машинный перевод)
MCP-сервер, позволяющий агентам LLM играть в полные игры Civilization VI.
Подключите любой совместимый с MCP клиент — Claude Code, Codex, Gemini CLI или свой собственный — к действующей игре Civ 6. Агент читает состояние игры, перемещает юнитов, управляет городами, ведёт дипломатию и завершает ходы — всё это через собственные API с соблюдением правил игры. Без читов, без модели визуализации.
Возможности
76 инструментов, охватывающих полный игровой цикл:
- Юниты — перечислять, перемещать, атаковать, укреплять, находить города, строить улучшения, продвигать, улучшать
- Города — инспектирование, установка производства, покупка юнитов/зданий за золото, управление фокусом
- Карта — исследовать местность, ресурсы, туман войны; получать советы по заселению и размещению районов
- Исследования — просматривайте технологии и гражданские деревья, устанавливайте исследовательские цели
- Дипломатия — отношения, модификаторы, делегации, посольства, альянсы, мирные соглашения
- Торговля — предлагать и реагировать на сделки, управлять торговыми маршрутами и направлениями
- Правительство — обмен карточками политики, смена правительств, выбор посвящённых эпохам
- Губернаторы — назначают, назначают города, продвигают
- Религия — найденные пантеоны и религии, отдельные верования, отслеживание распространения
- Великие люди — вербовать, покровительствовать, отвергать
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
civ6-mcp
An MCP server that lets LLM agents play full games of Civilization VI.
Connect any MCP-compatible client — Claude Code, Codex, Gemini CLI, or your own — to a running Civ 6 game. The agent reads game state, moves units, manages cities, conducts diplomacy, and ends turns, all through the game’s own rule-enforcing APIs. No cheats, no vision model required.
Capabilities
76 tools covering the full gameplay loop:
- Units — list, move, attack, fortify, found cities, build improvements, promote, upgrade
- Cities — inspect, set production, purchase units/buildings with gold, manage focus
- Map — explore terrain, resources, fog of war; get settle and district placement advice
- Research — browse tech and civic trees, set research targets
- Diplomacy — relationships, modifiers, delegations, embassies, alliances, peace deals
- Trade — propose and respond to deals, manage trade routes and destinations
- Government — swap policy cards, change governments, choose era dedications
- Governors — appoint, assign to cities, promote
- Religion — found pantheons and religions, select beliefs, track spread
- Great People — recruit, patronize, reject
- World Congress — vote on resolutions, manage diplomatic favor
- Victory — track progress across all victory conditions
- Game lifecycle — save, load, launch, restart, kill
Every turn, end_turn takes before/after snapshots and reports what happened: units damaged, cities grew, production completed, threats spotted near your cities.
Quick start
1. Configure Civ 6
Enable the FireTuner debug interface and configure recommended settings:
| Setting | Value | Why |
|---|---|---|
| Tuner | Enabled | Required — opens the TCP debug port the MCP server connects to. Disables achievements. |
| Auto End Turn | Disabled | The agent controls when turns end. Auto-end interferes with the blocker resolution flow. |
| Windowed mode | Recommended | Lets you watch the game while the agent plays. Required for OCR-based save loading. |
Windows: All three settings are available in the in-game Options menu. The Tuner setting appears as “Tuner (disables achievements)” under gameplay options.
macOS: The Tuner setting is not exposed in the menu. Edit AppOptions.txt directly and set EnableTuner 1:
~/Library/Application Support/Sid Meier's Civilization VI/Firaxis Games/Sid Meier's Civilization VI/AppOptions.txt
Linux: Same as macOS — edit AppOptions.txt directly and set EnableTuner 1:
~/.local/share/aspyr-media/Sid Meier's Civilization VI/AppOptions.txt
Install the Civ 6 SDK — the tuner server is part of the SDK, not the base game:
- In Steam, go to Library → filter by Tools
- Find and install “Sid Meier’s Civilization VI SDK”
Important notes:
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"civ6": {
"command": "uv",
"args": ["run", "--directory", "/path/to/civ6-mcp", "civ-mcp"]
}
}
}