Skip to main content
Glama
clcc2019

Xray MCP Server

by clcc2019

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Protocol DocumentationDocumentation for Xray proxy protocols
Transport DocumentationDocumentation for Xray transport types
Security DocumentationDocumentation for Xray security options
Server VLESS+REALITY ExampleExample server configuration for VLESS with REALITY
Client VLESS+REALITY ExampleExample client configuration for VLESS with REALITY
Server VMess+WS+TLS ExampleExample server configuration for VMess with WebSocket and TLS
Server Trojan+TLS ExampleExample server configuration for Trojan with TLS
Server Shadowsocks 2022 ExampleExample server configuration for Shadowsocks 2022

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