Product and transport
This command is provided by the Native product. Install the Native executable from Downloads before configuring the server.
lispex mcp serveNative serves stable MCP 2025-11-25 over local stdio using the official
rmcp/1.5.0 SDK. It advertises tools only, with no resources, prompts, roots,
sampling, elicitation, log stream, subscriptions, HTTP transport, or remote
address. Startup accepts only three optional, absolute product selections,
shown below.
lispex mcp serve \
--topaz-vm /absolute/path/to/topaz-vm \
--topaz-compiler /absolute/path/to/topaz-compiler \
--rust-tools /absolute/path/to/rust-tools--topaz-compiler and --rust-tools must appear together. Products are
strictly validated before the server starts. No path can be supplied in a
tool request.
Closed tools
| Tool | Required input | Optional input | Result |
|---|---|---|---|
lispex_reference | none | a topic of forms, procedures, reader, resources, or routes, plus an exact name | installed profile and registry answer, and unknown names return known: false |
lispex_eval | UTF-8 source | one Lispex datum in input, bound as input | Rust tree values, stdout, warnings, diagnostics, status, resource outcome, and identities |
lispex_diagnostic | code matching ^[EW][0-9]{3}$ | none | exact catalog row and raising condition, and unknown codes return known: false |
lispex_compare_routes | a court of tree-rust, rust-topaz, or all-four, plus UTF-8 source | one Lispex datum in input | exact per-route observations, identities, mismatch axes, availability, cleanup, and agreement without answer selection |
All request objects are closed. An extra field is invalid rather than ignored.
lispex_reference with a name also requires its topic. Evaluation and
comparison never accept a file path, route array, executable, network address,
or capability.
Evaluation result
The structured lispex.mcp-eval-result/v1 includes the current product and
profile identity, engine rust-tree, source and optional input SHA-256,
values in their one fixed form, captured stdout, exact diagnostics and
warnings, exit status, resource outcome, metrics, and zero fallback counters.
It also states the following.
{
"source_retained": false,
"semantic_equivalence_proved": false,
"vouch_authority": false
}Reader and runtime failures that finish inside the current caps are ordinary authoring results. Cancellation, wall-clock exhaustion, worker failure, malformed protocol input, and an unsupported protocol version remain visible. None of them retries on another program that runs rules.
Closed comparison courts
lispex.mcp-route-comparison-result/v1 admits no arbitrary route list. A court
is one run of checks gathered into a single verdict, and court is the exact
request field that names which one to run.
| Court | Exact members | Startup prerequisite |
|---|---|---|
tree-rust | built-in tree and Rust VM | none |
rust-topaz | built-in Rust VM and exact Topaz VM | --topaz-vm |
all-four | tree, Rust VM, Topaz VM, fresh AOT | all three startup options |
All members receive the same source, input, Core IR/bytecode derivation, and
resource request. A missing prerequisite returns court_available: false
with no attempted route. A completed mismatch returns agreement: false, and
answer_selected and partial_comparison remain false.
all-four creates a private request workspace, builds one fresh AOT product,
runs it through the strict product boundary, terminates the complete process
group on cancellation or timeout, and removes the workspace before responding.
Cleanup failure fails the tool result closed.
Fixed bounds
| Boundary | Limit |
|---|---|
| source | 65,536 bytes |
| input datum | 16,384 bytes |
| evaluation result | 1 MiB |
| comparison result | 4 MiB |
| diagnostics and warnings | 256 |
| evaluation wall clock | 5,000 ms |
| comparison wall clock | at most 660,000 ms |
The fixed authoring profile also applies the language's transition and control limits. These caps do not count every guest traversal, arithmetic operation, logical allocation, rendering, diagnostic, or cleanup action. The current MCP server therefore accepts trusted source only and is not an adversarial-rule sandbox. It claims neither deterministic total-work/allocation limits nor an operating-system memory ceiling. Timeout, cancellation, process termination, host OOM, panic, and trap produce no decision and no portable receipt.
Security and support
The server clears ambient worker configuration and grants no file, clock,
random, network, database, or host callback capability. Optional products
come only from immutable startup configuration. There is no discovery through
PATH, the environment, a checkout, a saved file that pins one way of running,
a catalog, the home directory, or the network. Submitted source is not included
in results or retained between calls. The service has no network transport.
MCP is Native-only. npm, public WebAssembly, the browser, and the Playground do not expose these tools. MCP output cannot be used in Vouch issuance or authentication, as re-execution evidence, or to obtain a gate grant.
Keep going
For a guided setup, use Lispex with an AI Assistant. For the complete Native command table, use Native CLI.