Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_server_config | Generate Xray server configuration. Supports VLESS, VMess, Trojan, and Shadowsocks protocols with various transport and security options. |
| generate_client_config | Generate Xray client configuration for connecting to a proxy server. |
| generate_uuid | Generate a new UUID v4 for VLESS/VMess authentication |
| generate_x25519_keypair | Generate X25519 key pair for REALITY. Returns base64url encoded private and public keys. |
| generate_short_id | Generate a random short ID for REALITY authentication |
| generate_password | Generate a random password for Trojan or legacy Shadowsocks |
| generate_ss2022_key | Generate a base64 key for Shadowsocks 2022 |
| validate_config | Validate an Xray configuration for syntax and semantic errors |
| list_protocols | List all supported proxy protocols with descriptions |
| list_transports | List all supported transport types with descriptions |
| list_security | List all supported security types with descriptions |
| list_reality_targets | List recommended target sites for REALITY |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Protocol Documentation | Documentation for Xray proxy protocols |
| Transport Documentation | Documentation for Xray transport types |
| Security Documentation | Documentation for Xray security options |
| Server VLESS+REALITY Example | Example server configuration for VLESS with REALITY |
| Client VLESS+REALITY Example | Example client configuration for VLESS with REALITY |
| Server VMess+WS+TLS Example | Example server configuration for VMess with WebSocket and TLS |
| Server Trojan+TLS Example | Example server configuration for Trojan with TLS |
| Server Shadowsocks 2022 Example | Example server configuration for Shadowsocks 2022 |