MCP.so
登录
M

Mcp Server For 3x Ui

@pyworkload

关于 Mcp Server For 3x Ui

MCP server for 3x-ui — an Xray/V2Ray proxy management panel. Exposes the 3x-ui HTTP API as MCP tools so LLMs can manage inbounds, clients, routing rules, Xray service, and server settings.

基本信息

分类

其他

传输方式

stdio

发布者

pyworkload

提交者

pyworkload

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "3x-ui": {
      "command": "go",
      "args": [
        "run",
        "github.com/pyworkload/3x-ui-mcp/cmd/xui-mcp@latest"
      ],
      "env": {
        "XUI_HOST": "http://localhost:2053",
        "XUI_USERNAME": "<your-username>",
        "XUI_PASSWORD": "<your-password>"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Mcp Server For 3x Ui?

An MCP server that exposes the 3x-ui (Xray/V2Ray proxy management panel) HTTP API as MCP tools, enabling LLMs to manage inbounds, clients, routing rules, Xray service, and server settings.

How to use Mcp Server For 3x Ui?

Add the server to your MCP config (claude_desktop_config.json or .mcp.json) with the go run command or a pre-built binary, and set the required environment variables: XUI_HOST, XUI_USERNAME, XUI_PASSWORD. Requires Go 1.23+ if using go run.

Key features of Mcp Server For 3x Ui

  • 40 MCP tools covering the full 3x-ui API
  • Automatic session management with transparent re-authentication
  • Stdio transport for seamless LLM integration
  • Zero external dependencies beyond the MCP SDK

Use cases of Mcp Server For 3x Ui

  • Manage inbound connections: create, list, update, delete
  • Manage clients: add, update, delete, reset traffic, view IPs
  • Configure Xray routing rules and outbounds
  • Monitor server status and restart Xray or the panel
  • Reset traffic counters and clean depleted or expired clients

FAQ from Mcp Server For 3x Ui

What dependencies are required?

Go 1.23+ or a pre-built binary from the releases page.

How is the server configured?

Via environment variables: required XUI_HOST, XUI_USERNAME, XUI_PASSWORD, and optional XUI_BASE_PATH and XUI_LOG_LEVEL.

What transport does it use?

Stdio transport.

How does it authenticate with the 3x-ui panel?

Uses the provided admin username and password for session management with automatic re-authentication.

What can it not do?

The README does not specify limitations.

评论

其他 分类下的更多 MCP 服务器