mirror of
https://github.com/hansjone/netx.git
synced 2026-10-15 01:00:53 +08:00
- queryNmsAlarms no longer silently clamps page to 2; add is_cleared.
- Bad integer args return invalid_argument tool errors instead of JSON-RPC crashes.
- Nested {"ok": true, "data": {"ok": false}} results are flagged isError.
- stdio: answer ping, never respond to notifications, version from metadata.
- getNmsNe resolves exact host_name/IP; severity lowercased.
- Outputs use nms_ne_id/source=nms; drop ME{uuid} names, echoed field lists, idle hop_* fields.
- Fabric paths: parallel links count as one hop (edges[].parallel_links).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
436 B
TOML
20 lines
436 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "netx-mcp"
|
|
version = "0.3.1"
|
|
description = "stdio MCP server for netx REST API (NMS alarms, managed NE CLI)"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = { text = "MIT" }
|
|
dependencies = [
|
|
"httpx>=0.27.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
netx-mcp = "netx_mcp.server:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|