Xray MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_server_configC | Generate Xray server configuration. Supports VLESS, VMess, Trojan, and Shadowsocks protocols with various transport and security options. |
| generate_client_configB | Generate Xray client configuration for connecting to a proxy server. |
| generate_uuidA | Generate a new UUID v4 for VLESS/VMess authentication |
| generate_x25519_keypairA | Generate X25519 key pair for REALITY. Returns base64url encoded private and public keys. |
| generate_short_idB | Generate a random short ID for REALITY authentication |
| generate_passwordC | Generate a random password for Trojan or legacy Shadowsocks |
| generate_ss2022_keyB | Generate a base64 key for Shadowsocks 2022 |
| validate_configC | Validate an Xray configuration for syntax and semantic errors |
| list_protocolsA | List all supported proxy protocols with descriptions |
| list_transportsB | List all supported transport types with descriptions |
| list_securityB | List all supported security types with descriptions |
| list_reality_targetsB | 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 |
TDQS
Scored across 12 tools
Each tool has a clearly distinct purpose with no overlap: configuration generation, password/key/UUID generation, protocol/security/transport listing, and validation. The descriptions clearly differentiate them, such as generate_client_config vs. generate_server_config, and list_protocols vs. list_transports vs. list_security.
All tools follow a consistent verb_noun pattern (e.g., generate_client_config, list_protocols, validate_config). The naming is uniform throughout, using snake_case and clear verbs like 'generate', 'list', and 'validate' without any deviations or mixed conventions.
With 12 tools, the count is well-scoped for an Xray configuration server, covering key areas like generation, listing, and validation. Each tool serves a specific function in the domain, and there are no extraneous or missing tools that would make the set feel too thin or bloated.
The tool set provides complete coverage for Xray configuration management: it includes generation tools for all necessary components (configs, passwords, IDs, keys), listing tools for protocols, transports, and security, and a validation tool. There are no obvious gaps, and agents can perform full configuration workflows without dead ends.