Update filesystem ALLOWED_PATHS in nightly stress test workflow#690
Update filesystem ALLOWED_PATHS in nightly stress test workflow#690
Conversation
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
|
@copilot you don't need to change the example files. instead update the mcp/filesystem configuration in the mcp server stress test .md (don't change the .lock.yml file) |
There was a problem hiding this comment.
Pull request overview
This PR adds filesystem MCP server configuration with the required ALLOWED_PATHS environment variable to enable local development and testing. The configuration was identified as missing during a nightly stress test.
Changes:
- Added filesystem server configuration to three config files (TOML and JSON formats)
- Configured Docker volume mount (
/tmp:/workspace:rw) with correspondingALLOWED_PATHS=/workspacewhitelist - Added documented example with inline comments for developer reference
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| config.toml | Adds filesystem server with Docker args, volume mount, and ALLOWED_PATHS environment variable |
| config.json | Adds filesystem server in JSON format with mounts array and env object including ALLOWED_PATHS |
| config.example.toml | Adds documented Example 3 for filesystem server with inline comments explaining configuration requirements |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Updated! I've reverted the changes to the example config files and instead updated the Changes in commit f76c057. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
The filesystem MCP server requires
ALLOWED_PATHSenvironment variable to whitelist accessible paths. This PR updates the nightly stress test workflow configuration to expand the allowed paths.Changes
Updated
.github/workflows/nightly-mcp-stress-test.md:ALLOWED_PATHS: "/workspace"toALLOWED_PATHS: "/tmp,/workspace"/tmpand the mounted/workspacedirectory during stress testingConfiguration
The configuration provides access to:
/tmp- Container's temporary directory for filesystem operations/workspace- Mounted directory (mapped from host/tmp/mcp-test-fs)Security
/tmpand/workspace)Testing
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.