# Server configuration
server:
name: "Local MCP Server"
version: "1.0.0"
debug: false
# File operations configuration
file_operations:
# Sandbox root directory (relative to project root)
workspace_root: "./workspace"
# Enable sandbox restrictions
enable_sandbox: true
# Allowed file extensions (empty list = allow all)
allowed_extensions: []
# Blocked file extensions
blocked_extensions: [".exe", ".dll", ".so", ".dylib", ".bat", ".cmd", ".sh"]
# Maximum file size in MB
max_file_size: 10
# Default encoding
default_encoding: "utf-8"
# Calculator configuration
calculator:
# Number range limits
max_number: 1.0e308
min_number: -1.0e308
# Decimal places for results
decimal_places: 10
# Logging configuration
logging:
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
level: "INFO"
# Log format
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
# Log file path
file: "./logs/mcp_server.log"
# Maximum log file size in MB
max_file_size: 10
# Number of backup log files to keep
backup_count: 5
# Output to console (stderr)
console_output: true
# Security configuration
security:
# Validate file paths
validate_paths: true
# Prevent path traversal attacks
prevent_path_traversal: true