LC

lmwilki/civ6-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

234 stars 48 forks 품질 82 트렌드 33MIT

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 또는 여러분의 PC — 를 실행 중인 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:

  1. In Steam, go to Library → filter by Tools
  2. Find and install “Sid Meier’s Civilization VI SDK”

Important notes:

GitHub에서 전체 README 보기

설치

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"] } } }