@wumx-labs/noxaeapi-mcp 0.0.0-stage → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 wumx
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,185 @@
1
- # Temporary Holding Version
1
+ # @wumx-labs/noxaeapi-mcp
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ [![npm version](https://img.shields.io/npm/v/@wumx-labs/noxaeapi-mcp?color=blue&style=flat-square)](https://www.npmjs.com/package/@wumx-labs/noxaeapi-mcp)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=flat-square)](LICENSE)
5
+ [![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-purple.svg?style=flat-square)](https://modelcontextprotocol.io)
6
+ [![NoxAeApi Core](https://img.shields.io/badge/NoxAeApi-v1.5.1-emerald.svg?style=flat-square)](https://github.com/wumx-labs)
7
+
8
+ Official **Model Context Protocol (MCP)** server for **NoxAeApi**.
9
+
10
+ Connect your Minecraft servers and Velocity proxy networks directly to any AI agent (**Claude Desktop**, **Claude Code**, **Cursor**, **Windsurf**, **Antigravity**, **Cline**, **Roo Code**) using natural language.
11
+
12
+ ---
13
+
14
+ ## 🌟 Key Features
15
+
16
+ * **🌐 Velocity Network Hub & Standalone Servers**: Monitor network topology, broadcast announcements, find players across proxy hubs, and seamlessly route commands to backend nodes (e.g. `CSMP`, `LOBBY`).
17
+ * **⚡ Server Health & TPS Diagnostics**: Real-time TPS metrics (1m, 5m, 15m), RAM/memory allocation, uptime, and console log inspection.
18
+ * **👥 Player Management**: Track online players, inspect inventory/gamemode/coordinates, kick, ban, unban, and toggle whitelists.
19
+ * **🛡️ LuckPerms Permissions**: Inspect user permissions, view inherited parent groups, grant/revoke permissions with expiry, and assign primary groups.
20
+ * **💰 Multi-Currency & Vault Economy**: Native Vault balance queries, richest player rankings, custom currency leaderboards (Coins, Candy, Gems), deposits, and debits.
21
+ * **🏆 Gameplay Leaderboards**: Query high-speed in-memory leaderboards (`player:kills`, `player:deaths`, `player:playtime`, `mcmmo:power`) with automatic noise filtration.
22
+ * **🌍 Worlds & Weather**: List loaded worlds, adjust in-game time (`day`, `night`, ticks), set weather (`clear`, `rain`, `thunder`), and view entity counts.
23
+ * **🔌 Plugin Ecosystem Integration**: Built-in support for CoreProtect, WorldGuard, EssentialsX, BetterTeams, DiscordSRV, PlayerPoints, MythicMobs, ShopGUI+, and TAB.
24
+ * **🤖 Autonomous AI Sysadmin**: Embedded `minecraft_sysadmin` decision tree guides AI models to execute operations accurately and safely without hallucination.
25
+
26
+ ---
27
+
28
+ ## 🚀 Quick Start & Client Configuration
29
+
30
+ You do **not** need to manually clone or compile this repository. Run it instantly via `npx`.
31
+
32
+ ### 1. Claude Desktop
33
+
34
+ Add this configuration to your `claude_desktop_config.json`:
35
+
36
+ * **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
37
+ * **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
38
+
39
+ ```json
40
+ {
41
+ "mcpServers": {
42
+ "noxaeapi": {
43
+ "command": "npx",
44
+ "args": ["-y", "@wumx-labs/noxaeapi-mcp"]
45
+ }
46
+ }
47
+ }
48
+ ```
49
+
50
+ > **Tip:** If you have multiple profiles saved via `noxaeapi-cli`, specify the profile using the `NOXAEAPI_PROFILE` environment variable:
51
+ > ```json
52
+ > {
53
+ > "mcpServers": {
54
+ > "noxaeapi": {
55
+ > "command": "npx",
56
+ > "args": ["-y", "@wumx-labs/noxaeapi-mcp"],
57
+ > "env": {
58
+ > "NOXAEAPI_PROFILE": "calm"
59
+ > }
60
+ > }
61
+ > }
62
+ > }
63
+ > ```
64
+
65
+ ---
66
+
67
+ ### 2. Cursor / Windsurf
68
+
69
+ Go to **Settings** ➔ **MCP Servers** ➔ **Add New MCP Server**:
70
+
71
+ * **Name**: `noxaeapi`
72
+ * **Type**: `command`
73
+ * **Command**: `npx -y @wumx-labs/noxaeapi-mcp`
74
+
75
+ Or in `.cursor/mcp.json`:
76
+ ```json
77
+ {
78
+ "mcpServers": {
79
+ "noxaeapi": {
80
+ "command": "npx",
81
+ "args": ["-y", "@wumx-labs/noxaeapi-mcp"]
82
+ }
83
+ }
84
+ }
85
+ ```
86
+
87
+ ---
88
+
89
+ ### 3. Claude Code CLI
90
+
91
+ Add the MCP server directly using the Claude CLI:
92
+
93
+ ```bash
94
+ claude mcp add noxaeapi -- npx -y @wumx-labs/noxaeapi-mcp
95
+ ```
96
+
97
+ ---
98
+
99
+ ### 4. Cline / Roo Code (VS Code Extension)
100
+
101
+ Add this under the `mcpServers` object in your settings:
102
+
103
+ ```json
104
+ {
105
+ "noxaeapi": {
106
+ "command": "npx",
107
+ "args": ["-y", "@wumx-labs/noxaeapi-mcp"],
108
+ "disabled": false,
109
+ "alwaysAllow": []
110
+ }
111
+ }
112
+ ```
113
+
114
+ ---
115
+
116
+ ## ⚙️ Configuration & Environment Variables
117
+
118
+ `noxaeapi-mcp` automatically detects your active profile from `~/.noxaeapi-cli/config.json`. You can also configure it directly via CLI arguments or environment variables:
119
+
120
+ ### Direct Connection (Standalone or Hub)
121
+ ```bash
122
+ # Connect directly to a standalone Paper/Spigot server:
123
+ npx @wumx-labs/noxaeapi-mcp --url http://127.0.0.1:8080 --key your-api-key
124
+
125
+ # Connect directly to a Velocity Network Hub proxy:
126
+ npx @wumx-labs/noxaeapi-mcp --url http://127.0.0.1:19135 --key your-hub-key --hub
127
+ ```
128
+
129
+ ### Supported Environment Variables
130
+ | Variable | Description |
131
+ | :--- | :--- |
132
+ | `NOXAEAPI_PROFILE` | Select a specific profile name saved in `noxaeapi-cli` |
133
+ | `NOXAEAPI_BASE_URL` | Base URL of your NoxAeApi server (e.g. `http://216.163.186.103:12005`) |
134
+ | `NOXAEAPI_KEY` | API key configured in NoxAeApi `config.yml` |
135
+ | `NOXAEAPI_HUB` | Set to `"true"` if connecting to a Velocity network hub |
136
+ | `NOXAEAPI_HUB_BASE_URL` | Base URL for hub connection (auto-enables hub mode) |
137
+ | `NOXAEAPI_HUB_KEY` | API Key for hub connection |
138
+
139
+ ---
140
+
141
+ ## 🛠️ Available MCP Tools
142
+
143
+ ### 🌐 Network (Velocity Hub)
144
+ * `network_status_all` — Live status, TPS, and player count across all backend nodes.
145
+ * `network_node_status` — Detailed metrics for a specific node ID.
146
+ * `network_broadcast` — Broadcast announcement across all servers.
147
+ * `network_find_player` — Locate which server node a player is currently on.
148
+ * `network_send_player` — Transfer/teleport player between server nodes.
149
+
150
+ ### 🖥️ Server Diagnostics & Controls
151
+ * `server_get_status` — TPS (1m, 5m, 15m), RAM/memory usage, uptime, version.
152
+ * `server_dispatch_command` — Execute console commands safely (without leading `/`).
153
+ * `server_get_logs` — Retrieve recent console logs and error traces.
154
+ * `server_get_whitelist` / `server_whitelist_add` / `server_whitelist_remove` — Whitelist management.
155
+ * `server_get_ops` / `server_op_player` / `server_deop_player` — Operator management.
156
+ * `server_restart` — Restart the target server instance.
157
+
158
+ ### 👥 Player Subsystem
159
+ * `players_list_online` — List active players with ping, health, and location.
160
+ * `players_get_info` — Detailed player profile (gamemode, inventory, coordinates).
161
+ * `players_kick` / `players_ban` / `players_unban` — Moderation controls.
162
+ * `players_set_gamemode` — Switch player gamemodes (survival, creative, spectator, adventure).
163
+
164
+ ### 💰 Economy & Leaderboards
165
+ * `economy_get_top` — Richest player leaderboard (Vault balances or custom currencies).
166
+ * `economy_get_balance` — Query individual player balances.
167
+ * `economy_list_currencies` — Discover custom currencies (Coins, Candy, Tokens).
168
+ * `economy_get_currency_top` — Rankings for custom currencies.
169
+ * `economy_pay` / `economy_debit` — Deposit or deduct currency.
170
+ * `leaderboards_list` — Discover active gameplay leaderboards (noise-filtered).
171
+ * `leaderboards_get_top` — Top rankings for kills, deaths, playtime, etc.
172
+
173
+ ### 🛡️ Permissions & Plugins
174
+ * `luckperms_get_player_info` — View assigned permissions and group hierarchy.
175
+ * `luckperms_add_player_permission` / `luckperms_remove_player_permission` — Modify player permissions.
176
+ * `luckperms_set_player_primary_group` — Change player primary group.
177
+ * `plugins_list` / `plugins_get_info` — Inspect installed plugins and versions.
178
+ * `worlds_list` / `worlds_set_time` / `worlds_set_weather` — World environment controls.
179
+ * `noxae_call_action` — Universal dynamic reflection caller for 16+ Minecraft plugin APIs.
180
+
181
+ ---
182
+
183
+ ## 📜 License
184
+
185
+ MIT License © 2026 [wumx-labs](https://github.com/wumx-labs).
@@ -0,0 +1,2 @@
1
+
2
+ export { }