
lmwilki/civ6-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
lmwilki/civ6-mcp は、https://github.com/lmwilki/civ6-mcp. からインポートされた MCP サーバー候補です。
概要
lmwilki/civ6-mcp は、https://github.com/lmwilki/civ6-mcp. からインポートされた MCP サーバー候補です。
概要(AI 翻訳)
LLMエージェントがシヴィライゼーションVIのフルゲームをプレイできるMCPサーバーです。
MCP互換クライアント(Claude Code、Codex、Gemini CLI、または自社のもの)を、実行中のCiv 6ゲームに接続できます。エージェントはゲーム状態の読み取り、ユニットの移動、都市管理、外交の実行、ターン終了など、すべてゲーム独自のルール強制APIを通じて行います。チートも視覚モデルも不要です。
能力
ゲームプレイ全体をカバーする76のツール:
- ユニット — リスト、移動、攻撃、要塞化、都市発見、改良建設、昇格、アップグレード
- 都市 — 検査、生産設定、ゴールドでユニットや建物を購入、フォーカス管理
- 地図 — 地形、資源、戦争の霧を探索;定住や地区配置のアドバイスを得る
- 研究 — 技術や市民ツリーを閲覧し、研究目標を設定する
- 外交 — 関係、修飾語、代表団、大使館、同盟、和平取引
- 貿易 — 取引の提案と対応、貿易ルートや目的地の管理
- 政府 — 政策カードの交換、政府の変更、時代の献辞選択
- 知事 — 都市の任命、配属、昇進
- 宗教 — 発見された神々や宗教、選択された信仰、拡散のトラック
- 偉大な人々 — 勧誘、恩着せ、拒絶
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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"]
}
}
}