Path: blob/master/config/mcp_config.yaml.example
65278 views
# Metasploit RPC API connection (MessagePack) msf_api: type: messagepack host: localhost port: 55553 ssl: true endpoint: /api/ user: msfuser password: CHANGEME auto_start_rpc: true # Automatically start the RPC server if not running (default: true) # MCP server configuration mcp: transport: stdio # stdio (default) or http # MCP server network configuration (for HTTP transport only) host: localhost # Host to bind to (default: localhost) port: 3000 # Port to listen on (default: 3000) # Rate limiting (optional - defaults shown) rate_limit: enabled: true requests_per_minute: 60 # If the `burst_size` is greater than `requests_per_minute`, a user will be allowed to exceed the rate limit temporarily. # For example, with `requests_per_minute=5` and `burst_size=10`, a user could make 10 requests in a short period, # but then would be limited to 5 requests per minute thereafter. burst_size: 10 # Logging (optional - defaults shown) logging: enabled: false level: INFO # DEBUG, INFO, WARN, ERROR log_file: ~/.msf4/logs/msfmcp.log sanitize: true