-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.yaml
More file actions
54 lines (43 loc) · 1.68 KB
/
Copy pathapplication.yaml
File metadata and controls
54 lines (43 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# auto-om MCP Server Configuration
# Server settings
server:
name: auto-om
version: 0.1.0
# Transport mode: "stdio" or "http"
# stdio: Use standard input/output (default for MCP clients)
# http: Use HTTP with Server-Sent Events (for remote access)
transport:
mode: stdio # Options: stdio, http
# HTTP settings (only used when transport.mode is "http")
http:
host: 0.0.0.0 # Host address to bind to
port: 8000 # Port number
# Logging configuration
logging:
level: INFO # Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
# SSH connection pool configuration
# Manages SSH connections to Linux servers for automation operations
ssh_pool:
# Default timeout for SSH commands (seconds)
default_timeout: 30
# Maximum retry attempts for failed SSH operations
max_retries: 3
# Connection timeout for SSH handshake (seconds)
connection_timeout: 10
# Time to wait before retrying a failed connection (seconds)
retry_delay: 5
# Maximum number of SSH connections to keep in the pool
max_connections: 10
# Server connection list
# Add your Linux servers here for remote operations
# WARNING: Store passwords securely in production. Use environment variables
# or encrypted secrets management systems instead of plain text.
servers:
# Example server configuration
- host: "192.168.138.128" # IP address or hostname
port: 22 # SSH port (default: 22)
username: "aton" # SSH login username
password: "zjr2005626" # SSH login password
alias: "server1" # Optional alias for reference
# Uncomment and modify the above example to add your servers