馃殌 Feature Request
Is your feature request related to a problem? Please describe.
The Claude LLM always tries to initiate file directory traverses at C:. That won't work on a non-Windows system.
Describe the solution you'd like
From Claude, when prompted with "I note that when you do a file system search (and the allowed_directories check), you're looking at "C:." This is an HAOS system running under Proxmox and the root is "". Do I need to modify your JSON or is the error in the MCP server code?"
Good catch! The issue is in the MCP server code, not your configuration. The MCP server is incorrectly returning "C:" as an allowed directory when it should be returning "/" for a Linux-based system (which Home Assistant OS on Proxmox definitely is).
This is a bug in the Home Assistant MCP Server add-on. Let me check what file system access should actually be available:
...
Yes, you can see config_dir is /config (Linux path), but the file system MCP is reporting Windows paths. This is definitely a bug in the HA MCP Server add-on.
The proper allowed directories should be:
/config - Your main HA config directory
/config/www - Web-accessible files
/media - Media storage
Why this happened: The MCP server add-on developer likely tested on Windows or has platform detection code that's incorrectly identifying your system as Windows when running in the HA OS container.
Describe alternatives you've considered
It's just a nuisance that sucks CPU cycles - Claude usually finds a workaround
Implementation Considerations
Testing Strategy
How should this feature be tested?
Additional Context
Add any other context, screenshots, or examples about the feature request here.
Priority
馃殌 Feature Request
Is your feature request related to a problem? Please describe.
The Claude LLM always tries to initiate file directory traverses at C:. That won't work on a non-Windows system.
Describe the solution you'd like
From Claude, when prompted with "I note that when you do a file system search (and the allowed_directories check), you're looking at "C:." This is an HAOS system running under Proxmox and the root is "". Do I need to modify your JSON or is the error in the MCP server code?"
Good catch! The issue is in the MCP server code, not your configuration. The MCP server is incorrectly returning "C:" as an allowed directory when it should be returning "/" for a Linux-based system (which Home Assistant OS on Proxmox definitely is).
This is a bug in the Home Assistant MCP Server add-on. Let me check what file system access should actually be available:
...
Yes, you can see config_dir is /config (Linux path), but the file system MCP is reporting Windows paths. This is definitely a bug in the HA MCP Server add-on.
The proper allowed directories should be:
/config - Your main HA config directory
/config/www - Web-accessible files
/media - Media storage
Why this happened: The MCP server add-on developer likely tested on Windows or has platform detection code that's incorrectly identifying your system as Windows when running in the HA OS container.
Describe alternatives you've considered
It's just a nuisance that sucks CPU cycles - Claude usually finds a workaround
Implementation Considerations
Testing Strategy
How should this feature be tested?
Additional Context
Add any other context, screenshots, or examples about the feature request here.
Priority