hoi4-studio
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hoi4-studio为桂系生成国策树,设计联共抗日路线"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HOI4 AI Studio
《钢铁雄心4》(Hearts of Iron IV) 全自动化 Mod 开发工具集
功能特性
🎯 自然语言驱动: 通过自然语言描述自动生成完整的 Mod 内容
🔄 全流程自动化: 从国策树到事件链、决议、民族精神等全自动生成
✅ 智能校验: 集成 hoi4lint 实时校验并自愈语法错误
🎨 美术提示词: 自动生成 Midjourney/Flux 美术提示词
🌐 MCP 协议支持: 可与 Claude Desktop、Cursor、Windsurf 等 AI 工具无缝集成
Related MCP server: mcp-dev-tools
安装
pip install -r requirements.txt使用方式
1. MCP 协议集成
在你的 MCP 配置中添加:
{
"mcpServers": {
"hoi4-studio": {
"command": "python",
"args": ["-m", "ai_studio.mcp_server"],
"env": {
"PYTHONPATH": "/path/to/HOI4_mod_builder/src"
}
}
}
}2. 命令行使用
# JSON 输出模式(适合 Agent 管道)
python -m ai_studio.cli --mod-dir "C:/path/to/mod" --intent "设计联共抗日路线" --tag "GXC" --name "桂系" --json
# 交互模式
python -m ai_studio.cli -d "C:/path/to/mod" -i "设计联共抗日路线" -t "GXC" -n "桂系"生成物规范
国策树:
common/national_focus/{tag}_focus.txt联动事件:
events/{tag}_events.txt政治平衡:
common/bop/{tag}_bop.txt决策卡片:
common/decisions/民族精神:
common/ideas/{tag}_ideas.txt武器变体:
history/units/{tag}_variants.txt材质定义:
interface/{tag}_studio_generated.gfx本地化:
localisation/simp_chinese/{tag}_studio_l_simp_chinese.yml美术提示词:
docs/ART_PROMPTS_{TAG}.md
架构
ai_studio/
├── core/ # 核心模型与 AI 客户端
├── generators/ # 各类内容生成器
├── pipeline/ # 流程编排与打包
├── art/ # 美术提示词引擎
├── ui/ # GUI 向导
├── cli.py # 命令行入口
└── mcp_server.py # MCP 服务器依赖
Python 3.8+
OpenAI API 兼容接口
hoi4lint (用于代码校验)
许可证
MIT License
贡献
欢迎提交 Issue 和 Pull Request!
This server cannot be deployed
Maintenance
Related MCP Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Research-backed lint + generation for agent context files (CLAUDE.md, AGENTS.md) + prompt enhancer.
Build and publish Overskill apps from Cursor, Claude, ChatGPT, or any MCP client.
MCP-native notes and memory for ChatGPT, Claude, and other AI tools.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceConnects Claude Desktop to Foundry VTT for AI-powered campaign management, enabling natural language interaction with game data including quest creation, character management, compendium searches, and dice rolling. Provides 20 MCP tools for seamless integration between Claude and your tabletop RPG sessions.73-
- FlicenseNot gradedqualityCmaintenanceIntegrates AI into software development workflows by providing three MCP tools: code review checklists, conventional commit message generation, and API documentation formatting from docstrings. Connects to Claude Desktop and any MCP-compatible client.-
- FlicenseNot gradedqualityDmaintenanceTurns Claude Desktop into a Cursor-like assistant for code browsing, editing, searching, linting, formatting, and version control.-
- AlicenseNot gradedqualityDmaintenanceEnables LLM-powered code analysis, generation, debugging, and context management through MCP integration with IDEs like Cursor and Claude Desktop.MIT