Skip to content

[mcp-stress-test] Filesystem MCP server requires ALLOWED_PATHS configuration #686

@github-actions

Description

@github-actions

MCP Server Configuration Required: filesystem

The nightly stress test detected that the Filesystem MCP server requires configuration to function properly.

Test Details

  • Test Session: stress-test-20260205-030515
  • Test Date: 2026-02-05T03:05:15Z
  • Server Container: mcp/filesystem

Required Configuration

Environment Variable: ALLOWED_PATHS

Configuration Type: Path whitelist (security requirement)

Issue:
The filesystem server requires explicit allowed paths configuration for security reasons. Without this, the server cannot operate to prevent unauthorized file access.

Suggested Configuration

Add the following environment variable to the MCP Gateway configuration for the filesystem server:

{
  "filesystem": {
    "type": "stdio",
    "container": "mcp/filesystem",
    "env": {
      "ALLOWED_PATHS": "/tmp,/home/runner/work"
    }
  }
}

Security Considerations

When configuring ALLOWED_PATHS:

  • Only include directories that are safe for the MCP server to access
  • Use the most restrictive paths possible
  • Avoid including sensitive directories (e.g., /etc, /root, home directories with secrets)
  • For testing, consider using /tmp or dedicated test directories

Next Steps

  • Determine safe allowed paths for testing
  • Update MCP Gateway configuration with ALLOWED_PATHS
  • Update stress test configuration
  • Verify server works in next nightly test

Generated by Nightly MCP Stress Test
Test Session: stress-test-20260205-030515

AI generated by Nightly MCP Server Stress Test

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions