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 |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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