mcp-3xui
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-3xuiList all online clients on the 3x-ui panel."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-3xui
MCP server for the 3x-ui panel API (v3.7+).
Recent panel versions treat a client as a global object attached to many inbounds. MCP servers written against the older per-inbound API cannot express that, so operations like "create a client on three servers" or "drop one server from someone's subscription" are out of reach through them. This one speaks the current API.
The rest of the panel is covered too. 3x-ui serves its own OpenAPI document at
/panel/api/openapi.json, and search_api / describe_api / call_api read it at runtime —
so nodes, routing, backups and Xray control are reachable without a dedicated wrapper, and
nothing here goes stale when the panel is upgraded.
Setup
Create a token in the panel under Settings → Security → API Token. It is shown once and stored only as a hash, so copy it right away.
{
"mcpServers": {
"3xui": {
"command": "npx",
"args": ["-y", "github:ArteshokV/mcp-3xui"],
"env": {
"XUI_BASE_URL": "https://panel.example.com:2053",
"XUI_API_TOKEN": "..."
}
}
}
}Variable | Required | Default | |
| yes | — | Panel root URL |
| yes | — | Bearer token from the panel |
| no |
| Per-request timeout |
| no |
| Output above this is truncated with a notice |
Related MCP server: UISP API MCP Server
Tools
Clients — list_clients, get_client, create_client, update_client, delete_client,
attach_clients, detach_clients, reset_client_traffic, list_online_clients,
list_client_groups, get_subscription_url
Inbounds and server — list_inbounds, get_inbound, server_status
Everything else — search_api, describe_api, call_api
Notes
totalGBis in bytes andexpiryTimeis a Unix ms timestamp;0means unlimited and never.The panel answers 404 to a request with a missing, wrong or revoked token rather than 401. Errors from this server point that out, since the status alone reads like a bad path.
Responses are wrapped as
{success, msg, obj}. Asuccess: falsebody is raised as a tool error carrying the panel's own message.With an admin-scoped token
call_apican modify or delete inbounds, nodes and panel settings.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
- uivoidOAuthapp.uivoid
Manage uivoid projects, tools, keys, hosted databases and teams from your agent.
Manage FadeHost game servers, Discord bots and VPS: console, stats, backups, logs, lifecycle.
Manage PocketBase Cloud projects, instances, deploys, domains, collections and records.
Deploy and manage Edge Network cloud: sites, VMs, storage, DNS, Shield, Assist. Agent self-signup.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to manage server infrastructure through the 1Panel API, including Docker containers, databases, and system monitoring. It provides tools for website management, file operations, and application deployment via natural language commands.156 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Ubiquiti UISP API for managing network devices, sites, and monitoring through dynamically generated read-only tools.1MIT
- AlicenseCqualityAmaintenanceEnables MCP clients like Claude Code, Claude Desktop, or Cursor to read and manage Remnawave 3.x VPN panel resources — users, nodes, hosts, config profiles, squads, subscription templates, billing, and HWID devices — through the panel's REST API, with contract-driven tool schemas, numeric user IDs, multi-panel config lookup, and an optional readonly mode.2045 npmMIT
- AlicenseAqualityAmaintenanceEnables LLM agents to read 3x-ui panel data and perform full CRUD operations on inbounds and clients.1217 npm1Apache 2.0