Logging Options
Enable verbose (debug) logging. Shows detailed operational information including:
- Configuration loading
- Service initialization
- API requests and responses
- Internal state changes
--silent.Example:Disable all logging except errors. Useful for:
- Running in cron jobs
- Piping output to other commands
- Minimal console output
--verbose.Example:Log Levels
The logging system has four levels:-
ERROR (always shown)
- Critical failures
- Configuration errors
- Unrecoverable issues
-
WARN (default)
- Recoverable issues
- Deprecated features
- Configuration warnings
-
INFO (default)
- Startup messages
- Command completion
- Status updates
-
DEBUG (requires
--verbose)- Service initialization
- Request details
- Internal operations
Configuration Options
Path to configuration file. Supports YAML and JSON formats.When specified:
- The configuration file is loaded in read-only mode
config setcommands will fail- Useful for shared or versioned configurations
- Uses the default system configuration path
- Configuration can be modified via
config set - Auto-saves changes on updates
- Linux:
~/.config/docs-mcp-server/config.yaml - macOS:
~/Library/Application Support/docs-mcp-server/config.yaml - Windows:
%APPDATA%\docs-mcp-server\config.yaml
Storage Options
Custom path for data storage directory. Stores:Examples:
- SQLite database
- Vector embeddings
- Indexed documents
- ETag cache
- Analytics data (if telemetry enabled)
- Linux:
~/.local/share/docs-mcp-server - macOS:
~/Library/Application Support/docs-mcp-server - Windows:
%LOCALAPPDATA%\docs-mcp-server
Telemetry Options
Enable or disable telemetry collection. Telemetry helps improve the tool by collecting:To enable telemetry:
- Command usage statistics
- Error reports
- Performance metrics
Display Options
Show ASCII art logo on startup. Applies to server commands:
- Default command (unified server)
mcpcommandwebcommandworkercommand
Help and Version
Display help information for a command.Examples:
Display version information.Example:
Option Precedence
When the same setting is specified in multiple ways, the precedence order is:- CLI flags (highest priority)
- Environment variables
- Configuration file
- Built-in defaults (lowest priority)
Combining Options
Global options can be combined with any command:Common Patterns
Development Setup
Production Setup
CI/CD Pipeline
Docker Container
Error Handling
Mutually Exclusive OptionsSee Also
- Environment Variables - Configure via environment
- config Command - Manage configuration
- CLI Overview - Complete CLI guide
