Module: Msf::MCP::Config::Defaults
- Defined in:
- lib/msf/core/mcp/config/defaults.rb
Overview
Shared default values for MCP server configuration. Used by both the msfconsole plugin and the standalone msfmcpd daemon to keep defaults consistent across entry points. Values are aligned with the established msfmcpd defaults.
Constant Summary collapse
- MCP_HOST =
MCP HTTP server defaults
'localhost'- MCP_PORT =
3000- RPC_HOST =
RPC connection defaults (for msfrpcd / messagepack RPC)
'127.0.0.1'- RPC_PORT =
55_553- RPC_USER =
'msf'- RPC_SSL =
true- MSGRPC_PORT =
The msgrpc plugin binds on a different port than msfrpcd
55_552- RATE_LIMIT_REQUESTS_PER_MINUTE =
Rate limiting
60- DANGEROUS_ACTIONS =
MCP feature flags
When false, destructive MCP tools (module execution, session control) are gated and return an error. Enable explicitly to allow them.
false