/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
config/mcp_config.yaml.example
45 строк
2 KB
Christophe De La Fuente
Add new MCP tools
27 июл 2026, 12:08
27 июл 2026, 12:08
83d0c6e
Код
Авторство
О чём код?
# Metasploit RPC API connection (MessagePack) msf_api: type: messagepack host: 127.0.0.1 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: 127.0.0.1 # Host to bind to (default: localhost) port: 3000 # Port to listen on (default: 3000) # auth_token: ... # Bearer token for authentication (default: randomly generated, one-time token) # Puma server tuning (for HTTP transport only) # min_threads: 0 # Minimum thread pool size (default: 0) # max_threads: 5 # Maximum thread pool size (default: 5) # workers: 0 # Number of worker processes (default: 0, single-process mode) # Dangerous actions gate (default: false) # When false, destructive tools (msf_module_execute, msf_module_check, # msf_session_stop, msf_session_write) return an error. Override at runtime # with the --enable-dangerous-actions CLI flag or by setting the # MSF_MCP_DANGEROUS_ACTIONS=true environment variable. dangerous_actions: false # 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