mcp
v0.16.0Model Context Protocol server exposing Moment domain services as AI agent tools
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
moment_validate
Parse and validate a .moment specification file. Returns parsed IR summary with context count, flow count, and any diagnostics. Use to check if a .moment file is valid before running other tools.
| Parameter | Type | Description |
|---|---|---|
filePath * | string |
moment_status
Get unified project status for a .moment specification. Checks parse validity, implementation sync drift, schema lifecycle, and upstream source fingerprint. Use to assess overall project health.
| Parameter | Type | Description |
|---|---|---|
filePath * | string |
moment_viz
Generate visualization data from a .moment specification. Produces context map and timeline layout as structured JSON without starting an HTTP server. Use to get visualization data for diagrams.
| Parameter | Type | Description |
|---|---|---|
filePath * | string |
moment_get_events
Read local Moment event signals from .complai/events/moment/. Returns event records sorted newest-first with optional time filtering. Use to inspect reconciliation history and event signals.
| Parameter | Type | Description |
|---|---|---|
projectDir * | string | |
limit | number | |
since | string |
moment_import
Import Sift JSONL event streams into .moment specification files. Reads .domain/*.jsonl and writes .moment context files plus upstream fingerprint. Use when upstream Sift specification has been updated.
| Parameter | Type | Description |
|---|---|---|
domainDir * | string | |
outputDir | string |
moment_emit_ts
Generate TypeScript type definitions and test scaffolds from a .moment specification. Chains parse, derive, and emit. Use when TypeScript artifacts need regeneration after spec changes.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
dryRun | boolean |
moment_reconcile
Run cascade reconciliation against a .moment specification. Classifies drift as APPLIED (Category 1), DRIFT (Category 2), or BREAKING (Category 3). Use after upstream changes to determine reconciliation actions.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
eventPath | string | |
mode | string |