Skip to main content
Glama
i-zrhe2016
by i-zrhe2016

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XRAY_MCP_HOSTNoBind host for network transports127.0.0.1
XRAY_MCP_PORTNoBind port for network transports8000
XRAY_MCP_TRANSPORTNoDefault transport when --transport is omittedstdio
XRAY_MCP_STATE_FILENoPath to the persistent watch state JSON file./xray_watch_state.json

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
register_subscription_monitorA

Create a scheduled connectivity monitor for an Xray subscription URL.

check_subscription_onceB

Fetch a subscription URL and run a one-time connectivity check.

list_subscription_monitorsB

List all registered scheduled monitors.

get_subscription_monitorA

Get a monitor by watch ID, including the latest stored result.

run_monitor_nowC

Run a monitor immediately.

set_monitor_enabledC

Enable or disable a scheduled monitor.

remove_subscription_monitorC

Remove a scheduled monitor.

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/i-zrhe2016/xray-mcp'

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