io.github.dcd887/mc-mod-config is an MCP server that 读写 Minecraft 模组配置文件(TOML/JSON),带 schema 校验. Its tool list has not been published yet over stdio and http, requires no API key, and scores 55/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"mc-mod-config": {
"args": [
"${MC_MOD_CONFIG_ROOT}/dist/index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
读写 Minecraft 模组配置文件(TOML/JSON),带 schema 校验
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'mc-mod-config-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked mc-mod-config-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in entertainment
The official MCP Server for the Mux API
Give Claude the ability to watch and understand videos — Claude Code plugin with frame extraction and multimodal audio analysis
MCP server for WoW addons: Lua API, UI source, CVars, art, linting, plus model export to glTF/OBJ.
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
MCP Security Weekly
Get CVE alerts and security updates for io.github.dcd887/mc-mod-config and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server for Minecraft mod configuration file management. Reads, validates, compares, and cleans up .cfg, .toml, and .json config files from modpacks.
| Tool | Description |
|---|---|
read_mod_config | Parse a single config file (.cfg, .toml, .json) and return structured data with any issues |
list_mod_configs | Recursively scan a config directory and list all configs with mod ID, format, and size |
validate_mod_configs | Validate all configs for common issues: empty values, invalid numbers, parse errors, oversized strings |
compare_mod_configs | Diff two config directories (before/after modpack update) and report added/removed/changed files |
find_orphaned_configs | Find config files whose mod JAR is no longer present in the mods/ directory |
get_mod_default_config | Return known default/baseline config for popular mods (Sodium, OptiFine, Phosphor, Lithium, Fabric API) |
| Format | Extension | Loader |
|---|---|---|
| Forge INI-style | .cfg | Forge |
| Fabric TOML | .toml | Fabric |
| JSON | .json | Any |
.cfg, Fabric .toml, and .json configs nativelycd mc-mod-config-mcp
npm install
npm run build
node dist/index.js
The server communicates via stdio (JSON-RPC 2.0). It can be consumed by any MCP-compatible client.
Add to your MCP client config:
{
"mcpServers": {
"mc-mod-config": {
"command": "node",
"args": ["${MC_MOD_CONFIG_ROOT}/dist/index.js"]
}
}
}
Path note: Replace
${MC_MOD_CONFIG_ROOT}with the absolute path to this project's root directory. On Windows, use forward slashes:["C:/path/to/mc-mod-config-mcp/dist/index.js"](把C:/path/to/替换成你的实际路径)。 Alternatively, set an environment variableMC_MOD_CONFIG_ROOTpointing to the project root and use the variable in the config.
本工具零配置即可用(内置默认值,任何环境开箱即用)。以下项目可通过环境变量或项目根目录 .env 文件覆盖(复制 .env.example 为 .env):
| 变量 | 默认值 | 说明 |
|---|---|---|
MOD_CONFIG_EXTENSIONS | cfg,toml,json | 支持扫描/解析的配置文件扩展名(逗号分隔,可扩展自定义扩展名) |
MOD_CONFIG_MAX_FILE_MB | 50 | 单个配置文件大小上限(MB),超过则跳过 |
MOD_CONFIG_MAX_STRING_LEN | 500 | 校验时字符串值长度告警阈值 |
扩展已知模组默认配置库:编辑 src/mod-defaults.json(构建后为 dist/mod-defaults.json),在 defaults 下新增/覆盖模组即可,无需改代码。例如新增 "iris": { "name": "Iris", "fallbackConfig": { "enableShaders": true } }。
优先级:环境变量 > .env 文件 > 内置默认值。改动后重启 MCP server 生效。
{
"name": "read_mod_config",
"arguments": {
"configPath": "/path/to/mods/sodium/sodium.toml"
}
}
{
"name": "list_mod_configs",
"arguments": {
"configDir": "/path/to/modpack/config"
}
}
{
"name": "validate_mod_configs",
"arguments": {
"configDir": "/path/to/modpack/config"
}
}
{
"name": "compare_mod_configs",
"arguments": {
"oldConfigDir": "/path/to/old-modpack/config",
"newConfigDir": "/path/to/new-modpack/config"
}
}