Setup & Configuration¶
Enable Debug Logging¶
When troubleshooting any issue, start by enabling debug output:
This reveals per-tool CALL/OK traces with timing, idfkit core library details (parsing, schema loading, validation), and query parameters — making it much easier to pinpoint failures.
Server Does Not Start¶
Symptom¶
Client reports command not found for idfkit-mcp.
Fix¶
- Install package in the runtime environment.
- Or switch to
uvx --from idfkit-mcp idfkit-mcp.
MCP Client Cannot Connect¶
Checks¶
- Confirm JSON config is valid (no comments).
- Confirm command runs in terminal:
- Restart client after config changes.
EnergyPlus not found¶
Cause¶
Simulation tool cannot resolve EnergyPlus installation.
Fix¶
- Install EnergyPlus.
- Set
ENERGYPLUS_DIR. - Verify
energyplusis onPATH.
No model loaded¶
Cause¶
Read/write/validation/simulation tool called before loading or creating a model.
Fix¶
Call one of:
load_model(file_path=...)new_model()
OpenStudio SDK not available¶
Cause¶
convert_osm_to_idf was called in an environment without OpenStudio Python bindings.
Fix¶
- Reinstall
idfkit-mcpin the active environment so required dependencies are present. - Or use the Docker image where dependencies are preinstalled.
Schema Version Errors¶
Symptom¶
Version must be in 'X.Y.Z' format or schema not found.
Fix¶
- Use strict semantic format, e.g.
24.1.0. - Use a supported version provided by installed
idfkit.