Skip to main content
Glama

3xui-mcp

3x-ui パネル用の MCP (Model Context Protocol) サーバー。3xui-api-client 上に構築されています。

ツールコンテキストを小さく保つために意図的に範囲を限定しています: 読み取り操作インバウンドとクライアントの完全なCRUD。ノード、グループ、ジオファイル、バックアップ、Xray設定、パネル設定は対象外です — 必要であれば src/tools/ を拡張してください。

ツール

Tool

Type

Description

list_inbounds

読み取り

すべてのインバウンドを一覧表示

get_inbound

読み取り

IDで1つのインバウンドを取得

create_inbound

書き込み

インバウンドを作成

update_inbound

書き込み

インバウンドの設定を置き換え

delete_inbound

書き込み

インバウンドを削除

list_clients

読み取り

全インバウンドのクライアントを一覧表示

get_client

読み取り

メールアドレスで1つのクライアントを取得

get_client_traffic

読み取り

クライアントのトラフィック使用量を取得

list_online_clients

読み取り

現在接続中のクライアントを一覧表示

create_client

書き込み

自動生成された認証情報でクライアントを追加

update_client

書き込み

クライアントの制限/有効期限/状態を更新

delete_client

書き込み

メールアドレスでクライアントを削除

Related MCP server: Open WebUI MCP Server

設定

環境変数で認証情報を設定します — 認証モードを1つ選択してください:

# 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 は、このサーバーを操作するAIエージェント向けに、各ツールの必須/任意フィールド、単位(GBとバイト、msタイムスタンプ)、一般的なワークフローを文書化しています — サーバーと一緒に読み込んで、エージェントがツールの説明だけから入力形式を推測しなくて済むようにしてください。

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    A
    quality
    D
    maintenance
    Enables 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
  • A
    license
    B
    quality
    F
    maintenance
    Exposes 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.
    82
    10
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Enables 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.
    15
    28
    MIT

View all related MCP servers

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.

View all MCP Connectors

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