3xui-mcp
3xui-mcp
MCP-сервер (Model Context Protocol) для панели 3x-ui, построенный на 3xui-api-client.
Область действия намеренно ограничена, чтобы сохранить контекст инструментов небольшим: операции чтения плюс полный CRUD для inbounds и клиентов. Узлы, группы, гео-файлы, резервные копии, конфигурация Xray и настройки панели выходят за рамки — расширьте src/tools/, если они вам нужны.
Инструменты
Инструмент | Тип | Описание |
| чтение | Список всех inbounds |
| чтение | Получить один inbound по ID |
| запись | Создать inbound |
| запись | Заменить конфигурацию inbound |
| запись | Удалить inbound |
| чтение | Список всех клиентов по всем inbounds |
| чтение | Получить клиента по email |
| чтение | Получить данные об использовании трафика клиентом |
| чтение | Список подключенных в данный момент клиентов |
| запись | Добавить клиента с автоматически сгенерированными учетными данными |
| запись | Обновить лимиты/срок действия/состояние клиента |
| запись | Удалить клиента по email |
Related MCP server: Open WebUI MCP Server
Конфигурация
Задайте учетные данные через переменные окружения — выберите один режим аутентификации:
# Required
THREEXUI_BASE_URL=https://your-panel.example.com
# Cookie auth (admin username/password)
THREEXUI_USERNAME=admin
THREEXUI_PASSWORD=your-password
# OR API token auth (skips username/password)
THREEXUI_API_TOKEN=your-token
# Optional, default "auto"
THREEXUI_PANEL_TYPE=auto # auto | modern | legacyСборка и запуск
npm install
npm run build
npm startИспользование с MCP-клиентом
Добавьте в конфигурацию MCP вашего клиента (например, Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"3xui": {
"command": "node",
"args": ["/absolute/path/to/3xui-mcp/dist/index.js"],
"env": {
"THREEXUI_BASE_URL": "https://your-panel.example.com",
"THREEXUI_USERNAME": "admin",
"THREEXUI_PASSWORD": "your-password"
}
}
}
}После публикации в npm command/args можно заменить на "npx" / ["-y", "3xui-mcp"].
Локальное тестирование
npm run inspectorОткрывает MCP Inspector для этого сервера.
Навык агента
skills/3xui-mcp/SKILL.md описывает обязательные/необязательные поля каждого инструмента, единицы измерения (ГБ против байт, временные метки в мс) и типовые рабочие процессы для ИИ-агента, управляющего этим сервером — загрузите его вместе с сервером, чтобы агенту не приходилось угадывать форматы входных данных только по описаниям инструментов.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables LLM agents to perform CRUD operations across multiple databases including PostgreSQL, MySQL, and SQL Server using SQLAlchemy. It features configurable permission management and secure connection handling with automatic password redaction.4
- AlicenseBqualityFmaintenanceExposes Open WebUI's admin APIs as tools, allowing AI assistants to manage users, groups, models, knowledge bases, and chats. It enables comprehensive administrative control and resource discovery while respecting the platform's native permission and authentication systems.8210MIT
- 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.1528MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to manage PocketBase databases with comprehensive CRUD, authentication, file management, backup, and hook operations through a standardized protocol.115MIT
Related MCP Connectors
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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