unifi-network-mcp 0.5.2__py3-none-any.whl → 0.5.3__py3-none-any.whl
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.
- src/_version.py +2 -2
- src/main.py +7 -0
- {unifi_network_mcp-0.5.2.dist-info → unifi_network_mcp-0.5.3.dist-info}/METADATA +3 -1
- {unifi_network_mcp-0.5.2.dist-info → unifi_network_mcp-0.5.3.dist-info}/RECORD +8 -8
- {unifi_network_mcp-0.5.2.data → unifi_network_mcp-0.5.3.data}/data/share/unifi-network-mcp/.well-known/mcp-server.json +0 -0
- {unifi_network_mcp-0.5.2.dist-info → unifi_network_mcp-0.5.3.dist-info}/WHEEL +0 -0
- {unifi_network_mcp-0.5.2.dist-info → unifi_network_mcp-0.5.3.dist-info}/entry_points.txt +0 -0
- {unifi_network_mcp-0.5.2.dist-info → unifi_network_mcp-0.5.3.dist-info}/licenses/LICENSE +0 -0
src/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.5.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 5,
|
|
31
|
+
__version__ = version = '0.5.3'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 5, 3)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
src/main.py
CHANGED
|
@@ -253,6 +253,13 @@ async def main_async():
|
|
|
253
253
|
logger.info(" Meta-tools: unifi_tool_index, unifi_execute, unifi_batch, unifi_batch_status")
|
|
254
254
|
logger.info(" Use unifi_execute to run any tool discovered via unifi_tool_index")
|
|
255
255
|
logger.info(" To load all tools directly: set UNIFI_TOOL_REGISTRATION_MODE=eager")
|
|
256
|
+
|
|
257
|
+
# Setup lazy loading interceptor so unifi_execute/unifi_batch can load tools on demand
|
|
258
|
+
setup_lazy_loading(server, _original_tool_decorator)
|
|
259
|
+
|
|
260
|
+
from src.utils.lazy_tool_loader import TOOL_MODULE_MAP
|
|
261
|
+
|
|
262
|
+
logger.info(f" On-demand loader ready - {len(TOOL_MODULE_MAP)} tools available via unifi_execute")
|
|
256
263
|
elif UNIFI_TOOL_REGISTRATION_MODE == "lazy":
|
|
257
264
|
logger.info("⚡ Tool registration mode: lazy")
|
|
258
265
|
logger.info(" Meta-tools: unifi_tool_index, unifi_execute, unifi_batch, unifi_batch_status, unifi_load_tools")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: unifi-network-mcp
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: Unifi Network MCP Server
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Requires-Python: >=3.13
|
|
@@ -763,6 +763,8 @@ These tools will give any LLM or agent configured to use them full access to you
|
|
|
763
763
|
|
|
764
764
|
The server includes a comprehensive permission system with **safe defaults**:
|
|
765
765
|
|
|
766
|
+
> **Permissions control tool visibility.** Tools with disabled permissions are **not registered** with the MCP server and will not appear in your client's tool list. If you're missing expected tools, check that the relevant permissions are enabled. All tools remain discoverable via `unifi_tool_index` regardless of permission settings — but disabled tools cannot be called. See [docs/permissions.md](docs/permissions.md) for full details.
|
|
767
|
+
|
|
766
768
|
**Disabled by Default (High-Risk):**
|
|
767
769
|
- Network creation/modification (`unifi_create_network`, `unifi_update_network`)
|
|
768
770
|
- Wireless configuration (`unifi_create_wlan`, `unifi_update_wlan`)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
src/_version.py,sha256=
|
|
1
|
+
src/_version.py,sha256=EWl7XaGZUG57Di8WiRltpKAkwy1CShJuJ-i6_rAPr-w,704
|
|
2
2
|
src/bootstrap.py,sha256=mqkDDfn5xKRzun07TS8xPLZm_WnfLt3xTguxxFnfRV0,7572
|
|
3
3
|
src/jobs.py,sha256=3IUO8ChpeRUjyJTWeFlyIwtkQLv-_KvfzuA5Ra4PmDI,5984
|
|
4
|
-
src/main.py,sha256=
|
|
4
|
+
src/main.py,sha256=uqij-gAld5ARvPHNUP_Od-9UPjTrdEZ-TULvvSr7Lgo,16161
|
|
5
5
|
src/runtime.py,sha256=VGk5c18ebDMP1n54DDGwBmIQZGx8mCS5Hn1UH0K1zak,7679
|
|
6
6
|
src/schemas.py,sha256=Y9fglAAgRGh8zxwO0J5zpj5BsRMLDDwevwXY_6kj5VU,33725
|
|
7
7
|
src/tool_index.py,sha256=aUPFqES4i_cq9ZsfAoiWuhKwoEEJ8NEAOafQ2h1g1NE,5492
|
|
@@ -45,9 +45,9 @@ src/utils/permissions.py,sha256=dILy7uSb7WJsCfpYKr18VpEts3HfUQhNhNGoRV9IExU,4080
|
|
|
45
45
|
src/utils/tool_loader.py,sha256=QpfHOxyZ_bzPJM0SItB7UM8uW_p7vl2Sm25rfgfwsAY,4147
|
|
46
46
|
src/tools_manifest.json,sha256=FX4_TrE4gs8Ao_4B40yinipifyE256fzbwhia9W4-Zs,43100
|
|
47
47
|
src/config/config.yaml,sha256=KiYwuDyq5L_6QZL-xG1N1gvO7W3Tck1JYZ-fv1YOi8U,4170
|
|
48
|
-
unifi_network_mcp-0.5.
|
|
49
|
-
unifi_network_mcp-0.5.
|
|
50
|
-
unifi_network_mcp-0.5.
|
|
51
|
-
unifi_network_mcp-0.5.
|
|
52
|
-
unifi_network_mcp-0.5.
|
|
53
|
-
unifi_network_mcp-0.5.
|
|
48
|
+
unifi_network_mcp-0.5.3.data/data/share/unifi-network-mcp/.well-known/mcp-server.json,sha256=Ru2oF_SdOzkathJVTQ6R0bRB-NTmiXLlNVvsp7GqmPs,1427
|
|
49
|
+
unifi_network_mcp-0.5.3.dist-info/METADATA,sha256=Gk3fEDxJWzRjf6sbA6OkToBSCNu_87OCjDGYTafcYFc,39647
|
|
50
|
+
unifi_network_mcp-0.5.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
51
|
+
unifi_network_mcp-0.5.3.dist-info/entry_points.txt,sha256=iDs5JXOBoUROpkuTXoxr-1WSrz1FLEgI0TO4pFsZ8u0,52
|
|
52
|
+
unifi_network_mcp-0.5.3.dist-info/licenses/LICENSE,sha256=1tMHOACX4Nse1DzgSKufrvTGztT8kS71LE8l29IAvto,1068
|
|
53
|
+
unifi_network_mcp-0.5.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|