Native MCP Tool Reference

The exact local stdio command, closed schemas, comparison courts, limits, identities, and non-authority boundary of the four Native authoring tools.

This page describes v1.13. Verify whether it is the current manual at /version.json

Product and transport

This command is provided by the Native product. Install the Native executable from Downloads before configuring the server.

SH
lispex mcp serve

Native serves stable MCP 2025-11-25 over local stdio using the official rmcp/1.5.0 SDK. It advertises tools only: no resources, prompts, roots, sampling, elicitation, log stream, subscriptions, HTTP transport, or remote endpoint. Startup accepts only three optional, absolute product selections:

SH
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

ToolRequired inputOptional inputResult
lispex_referencenonetopic: forms, procedures, reader, resources, or routes; exact nameinstalled profile and registry answer; unknown names return known: false
lispex_evalUTF-8 sourceone Lispex datum in input, bound as inputRust tree values, stdout, warnings, diagnostics, status, resource outcome, and identities
lispex_diagnosticcode matching ^[EW][0-9]{3}$noneexact catalog row and raising condition; unknown codes return known: false
lispex_compare_routescourt: tree-rust, rust-topaz, or all-four; UTF-8 sourceone Lispex datum in inputexact 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, endpoint, 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, canonical values, captured stdout, exact diagnostics and warnings, exit status, resource outcome, metrics, and zero fallback counters.

It also states:

JSON
{
  "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 retries another evaluator.

Closed comparison courts

lispex.mcp-route-comparison-result/v1 admits no arbitrary route list:

CourtExact membersStartup prerequisite
tree-rustbuilt-in tree and Rust VMnone
rust-topazbuilt-in Rust VM and exact Topaz VM--topaz-vm
all-fourtree, Rust VM, Topaz VM, fresh AOTall 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; 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

BoundaryLimit
source65,536 bytes
input datum16,384 bytes
evaluation result1 MiB
comparison result4 MiB
diagnostics and warnings256
evaluation wall clock5,000 ms
comparison wall clockat most 660,000 ms

The fixed authoring profile also applies the language's transition and control limits. These caps do not meter 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 PATH, environment, checkout, route-lock, catalog, home-directory, or network discovery. Submitted source is not included in results or retained between calls. The service has no network transport.

MCP is Native-only. npm, public WASM, the browser, and the Playground do not expose these tools. MCP output cannot enter Vouch issue, authentication, re-execution evidence, or a gate grant.

Keep going

For a guided setup, use Lispex with an AI Assistant. For the complete Native command table, use Native CLI.