Xray MCP Server
by SamtheIII
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Bind address. Set to 0.0.0.0 when running behind a reverse proxy. | 127.0.0.1 |
| PORT | No | HTTP server port (HTTP transport only) | 3000 |
| TRUST_PROXY | No | Reverse-proxy hops to trust for real client IP. Set to 1 behind nginx/Caddy. | 0 |
| MAX_SESSIONS | No | Max concurrent MCP sessions before new ones are rejected with 503. | 100 |
| ALLOWED_HOSTS | No | Comma-separated allowed Host headers. Set to your domain when deploying remotely. | localhost:<PORT>,127.0.0.1:<PORT> |
| XRAY_CLIENT_ID | Yes | Xray Cloud API client ID | |
| SESSION_IDLE_MS | No | Idle time before a session is swept and closed. | 1800000 (30 min) |
| XRAY_CLIENT_SECRET | Yes | Xray Cloud API client secret |
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 |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |