Skip to content

Commit 1c96fd2

Browse files
chore: add guidelines to lock down the directory paths MCP-300 (#750)
1 parent 8b21cff commit 1c96fd2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,8 @@ When using the `disk` logger, log files are stored in:
406406

407407
You can override the log directory with the `logPath` option.
408408

409+
> **🔒 Security Guideline:** The user account running the MCP server must have both read and write permissions to the `logPath` directory. Ensure this directory is properly secured with appropriate file system permissions to prevent unauthorized access to log files.
410+
409411
#### Disabled Tools
410412

411413
You can disable specific tools or categories of tools by using the `disabledTools` option. This option accepts an array of strings,
@@ -479,6 +481,8 @@ The `exportTimeoutMs` configuration controls the time after which the exported d
479481

480482
The `exportCleanupIntervalMs` configuration controls how frequently the cleanup process runs to remove expired export files. By default, cleanup runs every 2 minutes (120000ms).
481483

484+
> **🔒 Security Guideline:** The user account running the MCP server must have both read and write permissions to the `exportsPath` directory. Ensure this directory is properly secured with appropriate file system permissions to prevent unauthorized access to exported data files, which may contain sensitive MongoDB data. Consider the sensitivity of your data when choosing the export location and apply restrictive permissions accordingly.
485+
482486
#### Telemetry
483487

484488
The `telemetry` configuration option allows you to disable telemetry collection. When enabled, the MCP server will collect usage data and send it to MongoDB.

0 commit comments

Comments
 (0)