mc-mod-config
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MOD_CONFIG_EXTENSIONS | No | 支持扫描/解析的配置文件扩展名(逗号分隔,可扩展自定义扩展名) | cfg,toml,json |
| MOD_CONFIG_MAX_FILE_MB | No | 单个配置文件大小上限(MB),超过则跳过 | 50 |
| MOD_CONFIG_MAX_STRING_LEN | No | 校验时字符串值长度告警阈值 | 500 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| read_mod_configA | Read and parse a mod config file (.cfg for Forge, .toml for Fabric, .json for any). Returns the parsed config tree. |
| list_mod_configsA | List all mod config files in a config directory (recursively). Returns file path, mod ID, format, and size. |
| validate_mod_configsB | Validate all mod config files in a directory for common issues: empty values, invalid numbers, parse errors, oversized strings. |
| compare_mod_configsA | Compare two config directories (e.g. before/after a modpack update). Reports added, removed, changed, and unchanged config files with key-level diff info. |
| find_orphaned_configsA | Find config files whose mod JAR is no longer present in the mods/ directory. Useful after removing mods. |
| get_mod_default_configA | Get the known default/baseline config for a specific mod. Supports Sodium, OptiFine, Phosphor, Lithium, Fabric API. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |