znk-mcp
This is a zero-dependency Node.js MCP stdio server for ZNKernel-II geometry operations and three-valued manufacturability adjudication, with a free demo mode and full mode requiring the proprietary CLI/license.
Create analytic solids (box, cylinder, sphere, cone, torus) and chain replayable recipes.
Perform boolean union/subtract/intersect on solids.
Measure/describe solids: volume, area, bbox, centroid, topology counts, Euler characteristic, watertightness.
Import STEP/IGES/DXF/DWG/STL/OBJ/ZNK files and export STL/OBJ/STEP.
Run manufacturability/quality/assembly rules returning allow/reject/cannot_judge verdicts.
List adjudication rule IDs and accepted verdicts.
Read body-level B-rep topology counts and validity; entity-level queries return explicit 1003.
Report kernel/CLI capabilities, formats, license/protection status, limits.
Solve 2D sketch constraints (single or solve_system; batch returns 9002 on official CLI).
In demo mode (ZNK_DEMO=1), replay three recorded samples (C01/C05/C06) without a license; other geometry tools return DEMO_MODE.
Provides 2D sketch constraint solving via the ZNKernel-II LM solver, handling single constraints or full constraint systems and returning residual, iterations, convergence and solved positions.
Provides solid geometry modeling tools — creating primitives (box, cylinder, sphere, cone, torus), boolean operations (union, subtract, intersect), measurement/description, import/export in STEP/IGES/DXF/DWG/STL/OBJ/ZNK, B-rep topology inspection, and three-valued manufacturability adjudication over rule registries.
znk-mcp
A zero-dependency Node.js MCP server (stdio, JSON-RPC 2.0) that exposes
ZNKernel-II geometry as three-valued manufacturability verdicts:
allow / reject / cannot_judge. Every verdict carries the rule id, rule
version and the input file hash, so a result can be re-checked instead of taken
on faith.
Try it with no license:
ZNK_DEMO=1replays 3 recorded samples (§2).Full geometry and adjudication need a ZNKernel-II installation + a customer license (§3); the kernel is proprietary and is not bundled here.
Runtime: Node.js >= 18 (validated with Node v24.19.0) · no dependencies
Transport: newline-delimited JSON-RPC 2.0 on stdin/stdout · no network socket
Tools: 10 · npm latest:
znk-mcp@0.1.6· repo source:0.1.6Repo: https://github.com/haidi-ai/znk-mcp · npm: https://www.npmjs.com/package/znk-mcp
This is a tool layer, not an official DeepSeek plugin, not a DSH/Cordis plugin, and not an official Anthropic MCP server. It is a single
server.cjsthat speaks MCP over stdio and shells out to the officialznk2_cliexecutable.
1. Install
Requirement: Node.js >= 18. The server itself has zero npm dependencies.
1.1 Windows / macOS / Linux — get the first znk_capabilities call working
Two things must be true before the first tool call:
the MCP client can start this server (
node+ absoluteserver.cjs, recommended), andthe server can find the ZNK2 CLI (
ZNK2_CLIabsolute path, or the binary onPATH).
Windows trap (T-1160): do not put
"command": "npx"in an MCP client config. On Windowsnpxis a.cmdshim; clients that spawn without a shell getENOENT/EINVALand the server never starts. If it does start withoutZNK2_CLI, the firstznk_capabilitiescall returnsCLI_NOT_FOUND. Use thenodeconfig below, orcmd /c npx.
Step 1 — print the exact config for this machine
npm i -g znk-mcp@0.1.6
node "$(npm root -g)/znk-mcp/scripts/print-mcp-config.cjs"Windows PowerShell:
npm i -g znk-mcp@0.1.6
node "$(npm root -g)\znk-mcp\scripts\print-mcp-config.cjs"The script prints node, the absolute server.cjs, the CLI it found (if any),
and a ready-to-paste mcpServers JSON.
Step 2 — paste the printed JSON into the client. Recommended shape (Windows example):
{
"mcpServers": {
"znk": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": ["C:\\Users\\<you>\\AppData\\Roaming\\npm\\node_modules\\znk-mcp\\server.cjs"],
"env": {
"ZNK2_CLI": "C:\\ZNK\\2.40\\znk2_cli.exe",
"ZNK2_LICENSE_FILE": "C:\\ZNK\\customer.lic"
}
}
}
}Windows npx fallback (only if you cannot use the node form):
{
"mcpServers": {
"znk": {
"command": "cmd",
"args": ["/c", "npx", "-y", "znk-mcp@0.1.6"],
"env": { "ZNK2_CLI": "C:\\ZNK\\2.40\\znk2_cli.exe", "ZNK2_LICENSE_FILE": "C:\\ZNK\\customer.lic" }
}
}
}macOS / Linux: npx is directly executable, but node + absolute server.cjs
is still the most deterministic:
{
"mcpServers": {
"znk": {
"command": "node",
"args": ["/usr/local/lib/node_modules/znk-mcp/server.cjs"],
"env": {
"ZNK2_CLI": "/opt/znk/2.40/znk2_cli",
"ZNK2_LICENSE_FILE": "/opt/znk/customer.lic"
}
}
}
}Platform | CLI binary name | CLI install hint | Env fallback |
Windows |
| unzip the ZNKernel-II distribution; point |
|
macOS |
|
|
|
Linux |
|
|
|
ZNK2_CLI is resolved in this order: the configured value (absolute, or a bare
name searched on PATH) → <cwd>/znk2_cli[.exe] → the package directory →
<package>/znk/ → PATH. The resolved path and every path tried are included
in the CLI_NOT_FOUND error, together with the platform-specific fix.
# demo mode: no license, no kernel binary — 3 recorded samples
ZNK_DEMO=1 npx -y znk-mcp@0.1.6
# full mode: point at a ZNKernel-II distribution and your license
npx -y znk-mcp@0.1.6Use the explicit version (@0.1.6) until 0.1.6 is the latest tag you are
reading. npx -y znk-mcp installs the newest published version; demo mode
requires znk-mcp >= 0.1.3 (the release that introduced ZNK_DEMO=1).
Related MCP server: Enhanced GeoGebra MCP
2. Demo mode — ZNK_DEMO=1 (no license needed)
Demo mode serves three recorded, self-built samples and nothing else. It
does not load the kernel, does not read a .lic file and does not accept a user
file. What it shows is the three-valued contract on real recorded output:
Sample | Part | allow | reject | cannot_judge |
| 120×120×10 mounting flange, 4ר10 through holes + Ø30 centre hole | 10 | 0 | 10 |
| 60×40×20 pipe fitting, Ø20 cavity + Ø12 through hole | 7 | 5 | 8 |
| 50×40×30 closed thin-wall box, 0.8 mm walls | 4 | 7 | 9 |
The rows were produced by the official ZNKernel-II 2.29.1 distribution CLI
(CLI 1.0.0, protocol znk2-cli/1, rule versions 1.0–1.3) and are replayed
verbatim. demo.replay: true in the response says so explicitly.
Pipe two JSON-RPC lines into the server to see it (bash / macOS / Linux):
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"curl","version":"0"}}}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"znk_adjudicate","arguments":{"sample":"C05"}}}' \
| ZNK_DEMO=1 npx -y znk-mcp@0.1.6PowerShell:
$env:ZNK_DEMO = '1'
$req = @(
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"pwsh","version":"0"}}}'
'{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"znk_adjudicate","arguments":{"sample":"C01"}}}'
) -join "`n"
$req | npx -y znk-mcp@0.1.6Demo-mode surface:
znk_capabilities→ the 3 samples and their summaries.znk_adjudicate {"sample":"C01"|"C05"|"C06"}→ the recorded verdict rows.znk_adjudicate_rules→ the rule ids present in the recordings.Every other tool returns
error.code = "DEMO_MODE"and does not touch the kernel.
Demo mode is free. The sample STEP files and recorded verdicts live in
demo/ with their SHA-256 values; no customer part, customer name,
internal path or license key is included.
3. Full mode — environment variables
The server never embeds, copies, prints or commits a license. It passes the
environment it inherited to each znk2_cli subprocess.
Variable | Required | Meaning |
| yes (unless | Absolute path to |
| yes for kernel operations | Absolute path to the customer |
| recommended / policy-dependent | Absolute path to the signed revocation list. Missing while revocation checking is required fails closed. |
| no | Per-tool timeout in ms, clamped to |
| no | Default output directory when |
| no | Path-delimiter-separated allow-list for import/export paths. |
| no |
|
Do not put license contents in the repository, README, chat, logs or MCP
configuration checked into git. Point ZNK2_LICENSE_FILE at a file outside the
repository and keep that file's ACL restricted.
znk_capabilities answers without a license (license.status = missing);
every geometry/adjudication/sketch call returns the CLI's 1004 until a license
is configured.
4. MCP client configuration
{
"mcpServers": {
"znk": {
"command": "node",
"args": ["C:\\path\\to\\znk-mcp\\server.cjs"],
"env": {
"ZNK2_CLI": "C:\\path\\to\\znk2_cli.exe",
"ZNK2_LICENSE_FILE": "C:\\path\\to\\znk2.lic",
"ZNK2_REVOKE_LIST": "C:\\path\\to\\REVOKE-1.txt"
}
}
}
}Notes:
command: nodeworks whennodeis on the client'sPATH; otherwise use the absolutenode.exepath.Relative import/export paths resolve against the server process cwd; prefer absolute paths in tool arguments.
The client must use the MCP stdio transport. This server does not open a TCP port and does not use HTTP.
DSH: add it in the MCP server settings. It is not a Cordis plugin and has no
cordis.patch.yml.DeepSeek: this is not an official DeepSeek plugin; it is a standard MCP server that a DeepSeek-based MCP client can launch.
5. MCP protocol surface
Method | Result |
|
|
| notification; no response |
|
|
|
|
|
|
Everything else returns JSON-RPC -32601. Unknown tool names return -32602.
Malformed JSON returns -32700.
Protocol-version negotiation: if the client requests one of 2025-11-25,
2025-06-18, 2025-03-26, 2024-11-05, 2024-10-07, that version is echoed;
otherwise the server answers with its latest supported version 2025-11-25.
Tool result shape (MCP CallToolResult):
content[]: onetextblock with the pretty-printed JSON envelope.structuredContent: the same envelope as an object.isError:trueonly when the envelope hasok:false— adjudication rows whose verdict iscannot_judgeare not transport errors.
No resources, prompts, sampling, logging, progress or pagination. tools/list
does not return a nextCursor.
6. Tools
Tool | What it does | Main arguments |
| Create a box / cylinder / sphere / cone / torus; returns measurements, tessellation and a replayable recipe. |
|
|
|
|
| Volume, area, bbox, centroid, topology counts, Euler characteristic, |
|
| STEP / IGES / DXF / DWG / STL / OBJ / ZNK import (content-probed); returns a chainable |
|
| STL / OBJ / STEP export, with schema and unit options, round-trip stats, absolute output path. |
|
| Run the kernel's rule registry and return raw |
|
| List the rule ids the server knows and the three verdicts. | none |
| Body-level B-rep counts and validity. Entity-level queries return explicit |
|
| Kernel/CLI version, ABI symbols, formats, license/protection status, limits. Demo mode lists the samples. | none |
| 2D sketch constraint solve (single constraint or |
|
Full descriptions and JSON schemas come from tools/list.
Rule-count note. znk_adjudicate's rule enum lists all 20 rule ids of
the ZNKernel-II 2.29.1 registry — the same 20 ids the recorded demo samples
replay; the list was regenerated from znk2_cli capabilities in 0.1.4. Older
kernels expose fewer ids (2.28.1: 10): on those, call znk_adjudicate_rules
first and pass only ids it returns, or omit rule to run every rule the kernel
exposes.
Recipes and chaining
Every geometry-producing tool returns a recipe that can be passed back:
{"kind":"primitive","primitive":"box","params":{"lo":[0,0,0],"hi":[10,20,30]}}
{"kind":"boolean","op":"subtract","a":{"kind":"primitive"},"b":{"kind":"primitive"}}
{"kind":"import","file":"E:/path/to/part.step","format":"step"}A whole previous tool result is accepted too: the CLI unwraps
recipe / result.recipe.
Adjudication is three-valued
allow— the rule passed.reject— the rule failed.cannot_judge— undecided. Never mapped toallow, never counted as a pass;policy.cannot_judgesays"undecided - NOT an allow; never treat as a pass".
The server does not add an allowed:true field, does not filter rows and does
not turn cannot_judge into an error. Callers decide what to do with an
undecided verdict.
7. Error codes
CLI/kernel codes are passed through unchanged in structuredContent.error.code.
Code | Name | Typical cause |
|
| bad/missing field, unknown rule id, empty boolean result |
|
| value outside the accepted range |
|
| unsupported op/primitive/format; CLI-only topology entity query |
|
| missing license file / empty input |
|
| persisted payload/schema version mismatch |
|
| degenerate geometry; some parse failures |
|
| singular input |
|
| bodies do not intersect |
|
| coplanar/coincident contact; unsupported boolean configuration |
|
| entity/point not on the geometry |
|
| validation failure |
|
| open shell / no solid handle |
|
| self-intersection / stale handle |
|
| boolean could not be completed |
|
| fillet failure |
|
| shell/thickness failure |
|
| tessellation failure |
|
| sketch solver did not converge |
|
| over-constrained sketch |
|
| under-constrained sketch |
| tolerance exceeded | tolerance inflation guard (CLI extension) |
| I/O | import file not found / unreadable (CLI extension) |
|
| invalid body handle |
|
| parametric rebuild failed |
|
| nothing to undo |
|
| nothing to redo |
|
| malformed file/license/revocation data |
|
| format not supported |
|
| read/write failure |
|
| unsupported file/schema version |
|
| numeric failure |
|
| feature not implemented (e.g. sketch batch mode) |
|
| internal error |
Server-side synthetic codes:
Code | Meaning |
| tool needs the kernel, but the server runs with |
| demo mode received a file/recipe instead of |
| a recorded demo sample file is unreadable |
| arguments rejected before calling the CLI |
| path outside |
|
|
|
|
| CLI exited without stdout |
| CLI stdout was not JSON |
| request could not be written to the CLI |
| CLI output exceeded 8 MiB |
| unexpected server exception |
JSON-RPC layer: -32700, -32600, -32601, -32602, -32603.
Timeouts
Each tool call is capped at 60 seconds (ZNK2_TIMEOUT_MS, clamped
1..60000). On expiry the child process is killed and the tool returns
isError:true with code:"TIMEOUT".
8. Examples
node server.cjs < examples/01-create-describe.jsonl # create -> describe -> adjudicate
node server.cjs < examples/02-step-import.jsonl # import -> describe -> exportThe JSONL files omit initialize for brevity; the server does not enforce
initialization ordering, so piping them directly works.
9. Tests
node test/selftest.cjsThe self-test spawns the server over stdio and asserts 28 conditions:
initialize/tools list/ping; exactly 10 tools and their names; create volume > 0;
boolean subtract reduces that volume; describe; adjudication with every verdict
in the three-value set and cannot_judge preserved; rule list; body-level
topology; explicit 1003 for the unsupported entity-level query; capabilities;
sketch solve; STL export + import recipe; CLI 1003 passthrough for an invalid
primitive; -32601 for an unknown method; -32602 for an unknown tool.
The rule-count assertions are not hardcoded: they read the registry length
from znk_capabilities (result.adjudicate.rules) and expect exactly that many
rows and rule ids — 10 on kernel 2.28.1, 20 on 2.29.1. The pass line is:
SELFTEST PASS n/nwhere n is the assertion count of this build (28 in 0.1.4); the rule-count
expectations move with the kernel registry instead of being pinned to 10.
Negative-path behaviour: ZNK2_TIMEOUT_MS=1 -> TIMEOUT; no
ZNK2_LICENSE_FILE -> CLI 1004 (or DEMO_MODE when ZNK_DEMO=1); bad
ZNK2_CLI -> CLI_NOT_FOUND.
10. Security and operational limits
No embedded license / key. License and revocation paths come only from the environment. The server logs only whether they are configured, never their values.
No network access. The server never opens a socket; it only spawns the configured CLI (demo mode does not even do that).
Path allow-list.
ZNK2_ALLOWED_ROOTS(path-delimiter separated) confines import/export paths;PATH_NOT_ALLOWEDis returned before spawning the CLI.Import text cache. Inline text imports are written to
<tmp>/znk-mcp-imports/(or<first-allowed-root>/.znk-mcp-imports/); files older than 7 days are removed at startup.Serialized CLI calls. Calls are queued one at a time; serial execution avoids spurious concurrent-license failures.
8 MiB output cap and a 60 s timeout protect the client from runaway kernel calls.
Proprietary backend. ZNKernel-II is commercial software; this repository ships no kernel binary, no sample license and no key material.
11. Known limitations
Not a CAD modeler or GUI. No feature tree, no assemblies, no drawings, no interactive editing.
Not a CAE/FEA solver. No meshing, structural, thermal or flow analysis.
Not CAM / path planning. No toolpath, no post-processor, no machine simulation.
Demo mode replays recorded rows. It is not a fresh computation on your geometry;
demo.replay: truemarks every such response.znk_topologyis body-level only:znk2_clidoes not exposezn2_entity_topologythrough its JSON ops, soentity/entity_idrequests return explicit1003rather than fabricated adjacency or revision data.znk_sketch_solvebatch mode returns kernel9002on the official CLI; use the single-constraint orsolve_systemcontract.znk_importdefaults to the fast path:volume,area,centroidandvolume_sourcearenull. Setwith_mass:trueto measure them.Curved fallback volumes are approximated; check
volume_source.Relative paths resolve against the server process cwd; use absolute paths in client calls for reproducibility.
No progress notifications, cancellation propagation or streaming.
cannot_judge is a legitimate undecided outcome, not a pass and not a defect
of the tool layer.
12. Repository layout
znk-mcp/
server.cjs # zero-dependency MCP stdio server (all 10 tools)
package.json # metadata + scripts, no dependencies
README.md
LICENSE # MIT, wrapper layer only (kernel excluded)
demo/
README.md # provenance of the recorded samples
samples/ # C01/C05/C06 .step + .verdicts.json (self-built)
examples/
01-create-describe.jsonl # create -> describe -> adjudicate
02-step-import.jsonl # import -> describe -> export
sample.step # 10x20x30 box, generated by znk2_cli (AP242)
test/
selftest.cjs # self-test: 28 assertions; rule counts follow znk_capabilities13. License and publication status
znk-mcp (the wrapper layer) is licensed under the MIT License — see
LICENSE. The MIT grant covers server.cjs, package.json,
README.md, demo/, examples/ and test/ only. It does not cover the
ZNKernel-II kernel (znk2_cli), the ZNGL licensing / activation / revocation
logic, customer .lic files, revocation lists or key material; those remain
proprietary and are licensed separately under the ZNKernel-II EULA.
Demo mode is free and needs no license: it replays recorded sample verdicts and ships no kernel code. Commercial or production use of the geometry tools requires a ZNKernel-II license.
Release status (2026-11-29): znk-mcp@0.1.6 is the T-1160 fix release. It
makes the first znk_capabilities call actionable when the ZNK2 CLI is missing
(absolute-path resolution + per-platform fix in the error), documents the
Windows npx .cmd trap, adds scripts/print-mcp-config.cjs, and states the
trial route's GitHub-account requirement plus the email fallback. The tool
surface is unchanged from 0.1.5.
Evaluation build / 评测版. This is an evaluation build for trial and evaluation only: it is not a quotation or a commercial offer (非报价) and contains no customer data (不含客户数据). Real quotes and customer-specific trials are handled separately.
GitHub route (requires a GitHub account). Open a Trial request issue: https://github.com/haidi-ai/znk-mcp/issues/new?template=trial-request.yml. The form asks for company, part type, parts per day, contact and trial mode. If you are not signed in to GitHub, GitHub shows its login wall first.
No GitHub account? Email is the fallback. Send the same five fields to huishanzhao@126.com with subject
ZNK 评估试用申请. We reply within 48 hours (business days, UTC+8). Do not post license keys, customer drawings or personal data in either channel.
Public GitHub repository: https://github.com/haidi-ai/znk-mcp. The npm files
whitelist is server.cjs, README.md, LICENSE, demo/, examples/,
test/, scripts/, package.json; the tarball contains no dist/, no *.lic
file and no env files.
Available Tools
10 toolsznk_adjudicateA
Run the ZNKernel-II rule registry over a solid (10 built-in rules) and return the raw three-valued verdicts: allow | reject | cannot_judge. cannot_judge means UNDECIDED and is never mapped to allow; the response keeps verdict_summary and policy unchanged. Input: solid recipe or file (one of them), optional rule id (omit = all 10), params, tolerance, otherBodies (recipes) and otherFiles (paths, for assembly/interference).
Inputs: file, rule, solid, params, +3 more.
znk_adjudicate_rulesA
List the 10 built-in ZNKernel-II adjudication rules (id, namespace, name, rule_version, description, defaultParams) and the three accepted verdicts. This produces no geometry. Like every kernel operation it requires ZNK2_LICENSE_FILE; a missing license returns CLI error 1004.
Inputs: no named parameters.
znk_booleanA
Boolean operation between two solids: operation = union | subtract (a minus b) | intersect. a and b are recipes from znk_create / znk_boolean / znk_import; a whole previous tool result is also accepted. Planar polyhedra are exact; curved bodies may use the tessellated curved-CSG fallback (method/volume_source says so). Returns measurements plus a new replayable recipe. Kernel errors (e.g. 2001 Degenerate, 2004 Coincident, 2009 BooleanFailed) are passed through unchanged.
Inputs: a (required), b (required), operation (required), tessellate.
znk_capabilitiesA
Report ZNKernel-II capabilities before modeling: kernel/CLI version, ABI symbols, implemented/unsupported feature families, primitives, boolean ops, export formats, tessellation/sketch support, protection and license status, and limits. No geometry. Works without a license (license.status will say missing).
Inputs: no named parameters.
znk_createA
Create one analytic solid in ZNKernel-II. primitive = box | cylinder | sphere | cone | torus. params: box {lo:[x,y,z],hi:[x,y,z]}; cylinder {center,axis,radius,height}; sphere {center,radius}; cone {base_center,axis,base_radius,height}; torus {center,axis,major_radius,minor_radius}. Units are model units (mm by convention). Returns kernel measurements, a tessellation summary and a replayable recipe for chaining. Set tessellate=false to skip the mesh summary.
Inputs: params (required), primitive (required), tessellate.
znk_describeA
Measure an existing solid: volume, surface area, bounding box, centroid, B-rep topology counts (vertices/edges/coedges/loops/faces/shells, Euler characteristic), closed/watertight flag and volume_source (analytic | approximated | open_shell). Set tessellate=true to add triangle count and mesh watertightness. Pass the recipe returned by znk_create / znk_boolean / znk_import.
Inputs: solid (required), tessellate.
znk_exportA
Export a solid to stl | obj | step. Pass a recipe (solid) or an imported file (file), plus an optional output path. STL defaults to binary (set binary=false for ASCII); STEP supports schema AP203/AP214/AP242 and length_unit m|mm (extensions are routed by znk2_cli and round-trip verified). When path is omitted the server writes under ZNK2_EXPORT_DIR (default: /znk_exports). Returns the absolute path, byte size and mesh/round-trip stats.
Inputs: format (required), file, path, solid, +5 more.
znk_importA
Import STEP / IGES / DXF / DWG / STL / OBJ / ZNK through znk2_cli (content-probed; extension is not trusted) and return body measurements plus a replayable recipe {kind:"import",file}. Use path or inline text (STEP text is written to a server-side temporary file kept for 7 days); format is an optional hint. Default import path is fast (volume/area/centroid are null); set with_mass=true to measure mass properties. Import does not modify the source file.
Inputs: path, text, format, with_mass.
znk_sketch_solveA
Solve 2D sketch constraints with the ZNKernel-II LM solver. request is the legacy JSON contract: single constraint {type,a_pos,a_dir,b_pos,b_dir,value} or system {op:"solve_system",entities:[...],constraints:[...],options:{...}}. Batch mode ({constraints:[...]} or batch=true) returns kernel 9002 on the official CLI and is passed through. Returns {ok,residual,iterations,converged,positions} or {ok:false,error:{code,message}}.
Inputs: request (required), batch.
znk_topologyA
Read B-rep topology counts for a solid through znk2_cli describe: solids/shells/faces/loops/coedges/edges/vertices, Euler characteristic, shell Euler values, validity/issue_count, bbox and closed flag. This CLI-only tool layer reports body-level counts; entity-level face/edge/vertex geometry and adjacency (zn2_entity_topology) are NOT exposed by znk2_cli 2.28.1 and return an explicit NotSupported (1003) instead of fabricated data.
Inputs: solid (required), entity, entity_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Most tools are clearly distinct (import, create, boolean, export, sketch_solve), but znk_describe and znk_topology both return B-rep topology counts from the same underlying CLI 'describe', and znk_adjudicate vs znk_adjudicate_rules are separable only by careful reading. The descriptions do explain the differences (topology is body-level counts only, adjudicate_rules produces no geometry), but an agent could easily pick the wrong one for a measurement query.
All tools share a consistent znk_ snake_case prefix, giving a predictable namespace. Within that, verbs (export, import, create, describe, adjudicate) are mixed with nouns (boolean, topology, capabilities), a minor deviation but still highly readable and grouped logically.
Ten tools is well-scoped for a CAD kernel server: each covers a distinct stage of the modeling lifecycle (inspect capabilities, import, create, boolean, measure, adjudicate, sketch solve, export). No obviously redundant or filler tools.
Core lifecycle is covered (create/import, boolean, measure, adjudicate, export), but there are notable gaps: no transform tools (translate/rotate/scale/mirror), no fillet/chamfer or other feature operations, and znk_sketch_solve solves sketches but exposes no path to turn a solved sketch into a solid. Agents hitting these common CAD workflows would dead-end or have to fall back to recipes/booleans manually.
Maintenance
Related MCP Connectors
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
MCP server for the Z1N Protocol - on-chain identity for AI agents on Polygon
MCP server for StyleKit styles, tokens, recipes, lint and repair over stdio or HTTP.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- FlicenseAqualityBmaintenanceCAD-engineering MCP tool server for parametric modeling, DFM validation, mechanical calculations, and more. Enables code-CAD builds (build123d/CadQuery), model inspection, meshing, and mechanical calculators via MCP stdio.11-
- AlicenseAqualityDmaintenanceA local stdio MCP server for a self-hosted GeoGebra 5.0 Web bundle. It enables executing GeoGebra commands with structured feedback, querying commands, evaluating CAS, managing state, and exporting images using headless Chromium.121MIT
- AlicenseAqualityCmaintenanceModern CAD CLI + MCP Server: 2D/3D drawing, editing, measurement, validation, batch automation, real-time collaboration (CRDT + WebSocket).222Apache 2.0
- AlicenseNot gradedqualityNot gradedmaintenanceEnables MCP-compatible clients such as Claude Desktop, Cursor, and Antigravity to invoke deterministic mathematical modeling and System 2 agent capabilities through a native STDIO JSON-RPC 2.0 server with zero external dependencies.MIT