Adds NPM_MCP_ENABLE_DESTRUCTIVE_TOOLS (default: false) that gates all write operations (create, update, delete, enable, disable). Deployments are read-only by default and must explicitly opt in to mutations. Closes #6
This commit is contained in:
6 files changed
+53
No files matched your search
@@ -8,6 +8,9 @@ NPM_MCP_HOST=0.0.0.0
|
||||
NPM_MCP_PORT=8000
|
||||
NPM_MCP_TRANSPORT=stdio # stdio or http
|
||||
|
||||
# Enable destructive/write operations (create, update, delete, enable, disable)
|
||||
# NPM_MCP_ENABLE_DESTRUCTIVE_TOOLS=true
|
||||
|
||||
# Log Access (optional)
|
||||
# Mount NPM's /data/logs directory and set this to the mount path.
|
||||
# Enables the get_proxy_host_logs tool for reading nginx access/error logs.
|
||||
|
||||
Reference in new issue
Block a user