v4.1.0 - Environment Variables and Enhanced Logging
π Msty Admin MCP v4.1.0
Environment Variables and Enhanced Error Logging
β¨ What's New
Environment Variable Configuration
Customise MCP behaviour without modifying code:
| Variable | Default | Description |
|---|---|---|
MSTY_SIDECAR_HOST |
127.0.0.1 |
Sidecar API host address |
MSTY_AI_PORT |
11964 |
Local AI Service port |
MSTY_PROXY_PORT |
11932 |
Sidecar proxy port |
MSTY_TIMEOUT |
10 |
API request timeout (seconds) |
Example Configuration
{
"mcpServers": {
"msty-admin": {
"command": "/path/to/.venv/bin/python",
"args": ["-m", "src.server"],
"cwd": "/path/to/msty-admin-mcp",
"env": {
"MSTY_TIMEOUT": "30"
}
}
}
}Enhanced Error Logging
- Connection failures now logged with
logger.warning() - HTTP errors include response body (first 200 chars) for debugging
- Better error messages for troubleshooting Sidecar issues
Bug Fixes
- Removed duplicate
LOCAL_AI_SERVICE_PORTconstant from phase4_5_tools.py
π Full Changelog
See CHANGELOG.md
Created by Pineapple π