Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NODE_ENV | No | Node environment | production |
| TEMP_DIR | No | Temporary directory | /tmp/wiremcp |
| AUDIT_ENABLED | No | Enable audit logging | true |
| SANITIZE_DATA | No | Enable data sanitization | true |
| AUDIT_LOG_FILE | No | Audit log file path | /tmp/wiremcp-audit.log |
| RATE_LIMIT_MAX | No | Maximum requests per window | 5 |
| MAX_OUTPUT_SIZE | No | Maximum output size in bytes (default: 1MB) | 1048576 |
| MAX_CAPTURE_SIZE | No | Maximum file size for captures in bytes (default: 100MB) | 104857600 |
| ALLOWED_PCAP_DIRS | No | Allowed directories for PCAP files (comma-separated) | |
| DEFAULT_INTERFACE | No | Default network interface | en0 |
| ALLOWED_INTERFACES | No | Allowed network interfaces (comma-separated, empty = all) | |
| RATE_LIMIT_ENABLED | No | Enable rate limiting | true |
| MAX_CAPTURE_DURATION | No | Maximum capture duration in seconds | 60 |
| RATE_LIMIT_WINDOW_MS | No | Time window in milliseconds (default: 1 minute) | 60000 |
| MAX_CONCURRENT_CAPTURES | No | Maximum concurrent captures | 3 |
| ENABLE_CREDENTIAL_EXTRACTION | No | Enable credential extraction (USE WITH CAUTION) | false |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |