@wumx-labs/noxaeapi-mcp 0.0.0-stage → 1.0.0
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/README.md +77 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2129 -0
- package/package.json +35 -4
package/README.md
CHANGED
|
@@ -1,3 +1,78 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @wumx-labs/noxaeapi-mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Official **Model Context Protocol (MCP)** server for **NoxAeApi**.
|
|
4
|
+
|
|
5
|
+
Allows any AI Agent (**Claude Code**, **Claude Desktop**, **Cursor**, **Windsurf**, **Cline**, **Antigravity**) to monitor and control your Minecraft servers and Velocity network hubs using natural language.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## ⚡ Features
|
|
10
|
+
|
|
11
|
+
* **Network Hub & Proxy Support (Velocity)**: Check all nodes status, TPS, broadcast to network, find players across proxy, transfer players between servers.
|
|
12
|
+
* **Server Management**: Real-time TPS (1m, 5m, 15m), RAM/memory usage, execute console commands, manage whitelists, and view bans.
|
|
13
|
+
* **Player Controls**: List online players with ping/health, player info & stats, kick, ban, unban, change gamemodes.
|
|
14
|
+
* **LuckPerms Integration**: Inspect player groups & permissions, grant/revoke permissions with expiry, assign primary groups.
|
|
15
|
+
* **Economy Management**: Check balances (Vault & multi-currency), pay, debit, and view top balance leaderboards.
|
|
16
|
+
* **World Controls**: List worlds, change time (`day`, `night`, ticks), adjust weather (`clear`, `rain`, `thunder`), and inspect loaded entities.
|
|
17
|
+
* **Plugin Insights**: Inspect installed plugins, enabled state, and versions.
|
|
18
|
+
* **Zero Configuration**: Automatically reads your active server profile from `~/.noxaeapi-cli/config.json`.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 🚀 Setup & Usage
|
|
23
|
+
|
|
24
|
+
### 1. Claude Code (CLI)
|
|
25
|
+
|
|
26
|
+
Add directly using Claude CLI:
|
|
27
|
+
```bash
|
|
28
|
+
claude mcp add noxae -- node d:/Ainz-Project/NoxAeApi-ZZ/noxaeapi-mcp/dist/index.js
|
|
29
|
+
```
|
|
30
|
+
Or if installed globally:
|
|
31
|
+
```bash
|
|
32
|
+
claude mcp add noxae -- npx @wumx-labs/noxaeapi-mcp
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### 2. Claude Desktop
|
|
36
|
+
|
|
37
|
+
Add this to your `claude_desktop_config.json`:
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"mcpServers": {
|
|
42
|
+
"noxae": {
|
|
43
|
+
"command": "node",
|
|
44
|
+
"args": ["d:/Ainz-Project/NoxAeApi-ZZ/noxaeapi-mcp/dist/index.js"]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### 3. Cursor / Windsurf
|
|
51
|
+
|
|
52
|
+
Add a new MCP server in Settings:
|
|
53
|
+
* **Name**: `noxae`
|
|
54
|
+
* **Type**: `command`
|
|
55
|
+
* **Command**: `node d:/Ainz-Project/NoxAeApi-ZZ/noxaeapi-mcp/dist/index.js`
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## ⚙️ Options & Flags
|
|
60
|
+
|
|
61
|
+
By default, `noxaeapi-mcp` automatically connects to your current active profile in `noxaeapi-cli`. You can also override it:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# Target a specific profile saved in noxaeapi-cli
|
|
65
|
+
node dist/index.js --profile my-survival
|
|
66
|
+
|
|
67
|
+
# Connect directly using URL and API Key
|
|
68
|
+
node dist/index.js --url http://127.0.0.1:8080 --key my-secret-key
|
|
69
|
+
|
|
70
|
+
# Connect to a Velocity Network Hub directly
|
|
71
|
+
node dist/index.js --url http://127.0.0.1:19135 --key my-hub-key --hub
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Or via environment variables:
|
|
75
|
+
* `NOXAEAPI_PROFILE`
|
|
76
|
+
* `NOXAEAPI_BASE_URL`
|
|
77
|
+
* `NOXAEAPI_KEY`
|
|
78
|
+
* `NOXAEAPI_HUB=true`
|
package/dist/index.d.ts
ADDED