Skip to content

Commit b52cc44

Browse files
committed
update
1 parent f424a97 commit b52cc44

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

neqsim-mcp-server/test_mcp_server.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
"""
22
Comprehensive MCP Server Tests for NeqSim
33
==========================================
4-
Tests all 68 MCP tools through the real JSON-RPC protocol, verifying
4+
Tests all 69 MCP tools through the real JSON-RPC protocol, verifying
55
correctness against known values from the NeqSim JUnit test suite.
66
7-
Tier 1 — Trusted Core (22 tools):
7+
Tier 1 — Trusted Core (23 tools):
88
- TP flash (single phase, two-phase, multi-component)
99
- Dew point / bubble point calculations
1010
- Different EOS models (SRK, PR, CPA)
@@ -15,6 +15,7 @@
1515
- Batch calculations, property tables, phase envelopes
1616
- Automation API (units, variables, state save/compare, diagnostics)
1717
- Industrial profile, benchmark trust, tool access
18+
- Reusable process model handles (manageModel)
1819
1920
Tier 2 — Engineering Advanced (32 tools):
2021
- PVT laboratory experiments
@@ -257,16 +258,17 @@ def test_protocol():
257258
r = recv()
258259
tools = r.get("result", {}).get("tools", [])
259260
tool_names = sorted([t["name"] for t in tools])
260-
check("68 tools registered", len(tools) == 68, f"got {len(tools)}: {tool_names}")
261+
check("69 tools registered", len(tools) == 69, f"got {len(tools)}: {tool_names}")
261262

262-
# Tier 1 — Trusted Core (22 tools)
263+
# Tier 1 — Trusted Core (23 tools)
263264
tier1 = ["runFlash", "runProcess", "validateInput", "searchComponents",
264265
"getExample", "getSchema", "getPropertyTable", "getPhaseEnvelope",
265266
"getCapabilities", "runBatch", "listSimulationUnits",
266267
"listUnitVariables", "getSimulationVariable", "setSimulationVariable",
267268
"saveSimulationState", "compareSimulationStates", "diagnoseAutomation",
268269
"getAutomationLearningReport", "manageIndustrialProfile",
269-
"getBenchmarkTrust", "checkToolAccess", "getAdjustableParameters"]
270+
"getBenchmarkTrust", "checkToolAccess", "getAdjustableParameters",
271+
"manageModel"]
270272
for name in tier1:
271273
check(f"tier1 tool '{name}'", name in tool_names)
272274

0 commit comments

Comments
 (0)