Skip to content

Adding / as an allowed directory on linux does not work #59

@djoreilly

Description

@djoreilly

On linux, if you add / as an allowed directory, it is not respected. E.g in mcphost

  *  System Loaded 5 tools from MCP servers
  >  User dump the contents of /etc/hostname
  [  filesystem__read_file /etc/hostname
  ]  Error Error: access denied - path outside allowed directories: /etc/hostname  

I will make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions