Skip to main content
Glama
SamtheIII

Xray MCP Server

by SamtheIII

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind address. Set to 0.0.0.0 when running behind a reverse proxy.127.0.0.1
PORTNoHTTP server port (HTTP transport only)3000
TRUST_PROXYNoReverse-proxy hops to trust for real client IP. Set to 1 behind nginx/Caddy.0
MAX_SESSIONSNoMax concurrent MCP sessions before new ones are rejected with 503.100
ALLOWED_HOSTSNoComma-separated allowed Host headers. Set to your domain when deploying remotely.localhost:<PORT>,127.0.0.1:<PORT>
XRAY_CLIENT_IDYesXray Cloud API client ID
SESSION_IDLE_MSNoIdle time before a session is swept and closed.1800000 (30 min)
XRAY_CLIENT_SECRETYesXray Cloud API client secret

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/SamtheIII/XRAY-MCP'

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