Edict MCP Server

AI-agent programming language. JSON AST in, WASM out. Typed, effect-tracked, Z3-verified.

Local serverstdioTypeScript

What is the Edict MCP Server?

AI-agent programming language. JSON AST in, WASM out. Typed, effect-tracked, Z3-verified.

What you get

Edict is a statically-typed, effect-tracked programming language where the canonical program format is a JSON AST. It's purpose-built so AI agents can write, verify, and execute programs through a structured pipeline — no text parsing, no human-readable syntax, no ambiguity.

  • JSON AST — — Programs are JSON objects, not text files. No lexer, no parser
  • Structured errors — — Every error is a typed JSON object with enough context for an agent to self-repair
  • Type system — — Int, Float, String, Bool, Array, Option, Result<T,E>, records, enums, refinement types
  • Effect tracking — — Functions declare pure, reads, writes, io, fails. The compiler verifies consistency
  • Contract verification — — Pre/post conditions verified at compile time by Z3 (via SMT). Failing contracts return concrete counterexamples
  • WASM compilation — — Verified programs compile to WebAssembly via a pure-JS encoder and run in Node.js

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
edict_schemaReturns the full AST JSON Schema — the spec for how to write programs
edict_versionReturns compiler version and capability info
edict_examplesReturns 41 example programs as JSON ASTs (includes schema snippet)
edict_validateValidates AST structure (field names, types, node kinds)
edict_checkFull pipeline: validate → resolve names → type check → effect check → verify contracts
edict_compileCompiles a checked AST to WASM (returns base64-encoded binary)
edict_runExecutes a compiled WASM binary, returns output and exit code
edict_patchApplies targeted AST patches by nodeId and re-checks
edict_errorsReturns machine-readable catalog of all error types
edict_lintRuns non-blocking quality analysis and returns warnings
edict_debugExecution tracing and crash diagnostics
edict_composeCombines composable program fragments into a module
edict_explainExplains AST nodes, errors, or compiler behavior
edict_exportPackages a program as a UASF portable skill

How to install the Edict MCP Server

{
  "mcpServers": {
    "edict": {
      "command": "npx",
      "args": ["-y", "edict-lang"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Edict to edict schema.”
  • “Use Edict to edict version.”
  • “Use Edict to edict examples.”

Frequently asked questions

AI-agent programming language. JSON AST in, WASM out. Typed, effect-tracked, Z3-verified. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.