Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
THREEXUI_BASE_URLYesThe base URL of your 3x-ui panel.
THREEXUI_PASSWORDNoAdmin password for cookie authentication.
THREEXUI_USERNAMENoAdmin username for cookie authentication.
THREEXUI_API_TOKENNoAPI token for token-based authentication (skips username/password).
THREEXUI_PANEL_TYPENoPanel type: auto, modern, or legacy. Defaults to 'auto'.auto

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

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_inboundsA

List every inbound configured on the 3x-ui panel, including their clients, protocol, port, and traffic stats.

get_inboundA

Get full details of a single inbound (protocol settings, stream settings, clients, traffic) by its numeric ID. Use list_inbounds first to find the ID.

create_inboundA

Create a new inbound on the panel. Recommend calling get_inbound on a similar existing inbound first to see the exact shape expected for settings/streamSettings/sniffing on this panel version.

update_inboundA

Update an existing inbound by ID. This replaces the inbound configuration, so fetch it with get_inbound first and merge your changes into the full object rather than sending a partial one.

delete_inboundA

Permanently delete an inbound and all of its clients by ID. This cannot be undone.

list_clientsA

List every client across all inbounds on the panel, with their email, protocol, enabled state, and traffic limits.

get_clientA

Get full details (settings, inbound, traffic limits) for a single client by its exact email. Use list_clients first if you do not know the exact email.

get_client_trafficA

Get upload/download traffic totals and limits for a single client by exact email.

list_online_clientsA

List the emails of clients that are currently connected/online.

create_clientA

Create a new client on an existing inbound with auto-generated credentials (UUID/password/keys as appropriate for the protocol). Returns the generated credentials and connection info — surface these to the user, they are not retrievable again in plaintext.

update_clientA

Update an existing client's traffic limit, expiry, or enabled state. Only the fields you pass are changed; everything else on the client is preserved.

delete_clientA

Permanently delete a client by exact email. This cannot be undone.

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/iamhelitha/3xui-mcp'

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