Skip to main content
Glama
clcc2019
by clcc2019

generate_server_config

Generate Xray server configurations for VLESS, VMess, Trojan, and Shadowsocks protocols with customizable transport and security options.

Instructions

Generate Xray server configuration. Supports VLESS, VMess, Trojan, and Shadowsocks protocols with various transport and security options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
protocolYesProtocol type
portYesServer listening port (1-65535)
transportNoTransport layertcp
securityNoSecurity layernone
tls_cert_fileNoTLS certificate file path (required for TLS)
tls_key_fileNoTLS private key file path (required for TLS)
reality_destNoREALITY target destination (e.g., www.microsoft.com:443)
reality_server_namesNoREALITY server names
ws_pathNoWebSocket path
grpc_service_nameNogRPC service name
xhttp_pathNoXHTTP path
usersNoUser list (auto-generated if not provided)
ss_methodNoShadowsocks encryption method
vless_flowNoVLESS flow control
log_levelNoLog levelwarning

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/clcc2019/xray-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server