Skip to content

v4.1.0 - Environment Variables and Enhanced Logging

Choose a tag to compare

@M-Pineapple M-Pineapple released this 30 Dec 11:37
· 20 commits to main since this release

🍍 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_PORT constant from phase4_5_tools.py

πŸ“‹ Full Changelog

See CHANGELOG.md


Created by Pineapple 🍍