mcp-remnawave
mcp-remnawave
xxx
Remnawave×3.
English · Русский
MCP クライアント(Claude Code、Claude Desktop、Cursor など)から、パネルの REST API を通してユーザー、ノード、ホスト、設定プロファイル、スクワッド、サブスクリプションテンプレート、課金、HWID デバイスを読み取り・管理できるようにします。
TrackLine/mcp-remnawave v1.2.0 の維持されているフォークであり、Remnawave 3.x(実機の 3.3.x パネルで検証済み)に合わせて更新し、ツールスキーマがパネル API から乖離しないよう再設計されています。
✨ ハイライト
🔢 数値のユーザー ID | Remnawave 3.0 でユーザーの |
📜 コントラクト由来のスキーマ | 書き込みツールは入力スキーマを |
🧾 実際のエラーメッセージ | バリデーションエラーは、素の |
🗂 1 回のインストールで複数パネル | パネル設定はまず現在のプロジェクトで検索されます。アクティブなパネルは、作業中のプロジェクトのものになります |
🔒 デフォルトで読み取り専用 |
|
Related MCP server: remnawave-mcp-server
🚀 クイックスタート
git clone https://github.com/Maaagiic/mcp-remnawave.git
cd mcp-remnawave
npm install && npm run build
cp .env.example .env # set REMNAWAVE_BASE_URL and REMNAWAVE_API_TOKEN
# Claude Code — available in every project:
claude mcp add --scope user remnawave -- node "$PWD/dist/index.js"これだけです。クライアントに system_metadata を実行させれば、パネルのバージョンが返されるはずです。
{
"mcpServers": {
"remnawave": {
"command": "node",
"args": ["/absolute/path/to/mcp-remnawave/dist/index.js"]
}
}
}どの stdio MCP クライアントでも動作します。node dist/index.js を指定し、下記の表の環境変数を渡すか、設定ファイルの検索に任せてください。
⚙️ 設定
変数 | 必須 | 説明 |
| ✅ | パネルの URL(例: |
| ✅ | API トークン(Bearer)— パネル → API トークン |
| — |
|
| — | Caddy のカスタムパス設定用の |
| — | 設定ファイルへの明示的パス |
設定の取得元
サーバーは REMNAWAVE_BASE_URL と REMNAWAVE_API_TOKEN を提供する最初のファイルで停止します。
1. $REMNAWAVE_ENV_FILE explicit path
2. <cwd>/.remnawave.env per-project — add it to .gitignore
3. <cwd>/.env
4. <package>/.env fallbackMCP クライアントは cwd をプロジェクトルートに設定して stdio サーバーを起動するため、単一のグローバルインストールで アクティブなパネルは作業中のプロジェクトのもの になります。パネルを追加するには、そのプロジェクトに .remnawave.env を置くだけで、サーバー側の変更は不要です。環境にすでに存在する変数は上書きされないため、クライアント登録時に渡された env が常に優先されます。
読み取り専用モード
REMNAWAVE_READONLY=true で開始してください。このモードでは、書き込みツール(作成 / 更新 / 削除 / 有効化 / 無効化 / 一括)は一切登録されません。クライアント側もそれらを実行することすらできません。実際に書き込む必要が出た場合は false に設定してサーバーを再起動してください。
🧰 ツール
約 150 個のツールがあり、パネル API と同じようにグループ化されています。読み取りツールは常に利用可能です。書き込みツールは読み取り専用がオフのときだけ利用可能です。
読み取り | 書き込み |
|
|
users_listにfilters: [{"id": "telegramId", "value": 123456789}](+必要に応じてfilterModes、sorting)を渡すと、telegramId / email / tag / status で検索できます。これは 3.x で廃止されたby-*ルートの代替です。users_resolveは、id・shortUuid・usernameのいずれか 1 つだけを受け取ります。一括ツールは
userIds: number[](1–500)を受け取り、users_bulk_updateは変更フィールドをfieldsの下にネストします。users_createは明示的なvlessUuid・ssPassword・trojanPassword・shortUuidを指定でき(サービスアカウントに便利)、。
グループ | 読み取り | 書き込み |
ノード |
|
|
ホスト |
|
|
設定プロファイル |
|
|
config_profiles_updateにconfigを指定すると、そのプロファイルの xray 設定が全体として置換されます(読み取り → パッチ → 書き戻し)。hosts_createにはinbound: { configProfileUuid, configProfileInboundUuid }が必要です。
グループ | 読み取り | 書き込み |
スワッド |
|
|
サブスクリプション |
| — |
テンプレートとページ |
|
|
グループ | 読み取り | 書き込み |
DHWID |
|
|
システム |
|
|
課金 |
|
|
ノードプラグイン |
|
|
その他 |
|
|
api_tokens_list と settings_* には、対応する権限を持つ API トークンが必要です。そうでない場合、パネルは Forbidden と返します。
🔧 アップストリームからの変更点
数値のユーザー ID をすべての場所で使用。
users_get_by_telegram_id/_by_email/_by_tag/_by_subscription_uuidとsubscriptions_get_by_uuidを削除(ルートは存在しなくなりました)。contractTool()— 書き込みツールはコントラクトのRequestSchema.shapeから登録されます。 変更前: 23 の書き込みツールのうち 20 がフィールドの一部だけを公開し、MCP SDK は残りを静かに破棄していました。users_*は手書きのままです。インストール済みのコントラクトは、ユーザーに対して引き続きuuidを宣言します。新規:
users_extend_expiration、users_accessible_nodes、subscriptions_get_by_user_id、subscription_templates_list/get/update;config_profiles_updateはconfigを受取ります。クライアント: 完全な API エラーボージ、バルク操作の空
2xxボディの処理、 3.x のみルート向けの末尾スラッシュ安全な手組みパス。コントラクトの enum(
RESET_PERIODSにMON_TH_ROLLINGを含む、USERS_STATUS)。読み取り専用をデフォルトて推奁、バージョンを 2.0.0 に更新しました。
開発
npm run dev # tsup --watch
npm run build # tsup → dist/index.js
npx tsc --noEmit # typecheckDocker
docker compose up -ddocker-compose.yml を参照し、同じ環境変数を渡してください。
📄 License
MIT. 上流の著者: TrackLine/mcp-remnawave。
This server cannot be installed
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
- FlicenseNot gradedqualityCmaintenanceProvides AI agents with 220+ tools for building websites, sending email, managing contacts, invoicing, databases, automation, and more through a single secure connection. Features hardware-bound authentication and works with Claude Desktop, Claude Code, Cursor, and other MCP-compatible clients.
- AlicenseAqualityBmaintenanceMCP server for Remnawave panel API. Manage VPN users, nodes, hosts, and system stats from Claude Code or any MCP-compatible client.34MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the Wasabi WACM Connect API, enabling management of account hierarchy, storage, and billing data through Claude with 18 read-only and 12 opt-in write tools.1Apache 2.0
- AlicenseBqualityAmaintenanceMCP server that enables Claude Code to access, monitor, and manage MikroTik RouterOS devices via its REST API, with 92 tools for read-only and optional write operations.92Apache 2.0
Related MCP Connectors
A paid remote MCP for ClawManager, built to return verdicts, receipts, usage logs, and audit-ready J
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
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/Maaagiic/mcp-remnawave'
If you have feedback or need assistance with the MCP directory API, please join our Discord server