Edict MCP server
io.github.Sowiedu/edict·v1.9.2·12 starsAI-agent programming language. JSON AST in, WASM out. Typed, effect-tracked, Z3-verified.
12 stars
Reviews
Write oneNobody has reviewed Edict yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Edict tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan233 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumeval / new Function used
exec.evaldist/contracts/generate-tests.js: … try { const val = model.eval(v, true); const str = val.to…
How Edict compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 73% of 4,460 AI and agents servers
- GitHub stars
- 12
- more than 85% of 2,711 AI and agents servers
Install Edict in Claude Code, Cursor or VS Code
Runs npx -y edict-lang on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add edict -- npx -y edict-lang
What the publisher says
From the Edict repository's README, as published. We do not edit it. Read it on GitHub
Edict
A programming language designed for AI agents. No parser. No syntax. Agents produce AST directly as JSON.
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.
Agent (LLM)
│ produces JSON AST via MCP tool call
↓
Schema Validator ─── invalid? → StructuredError → Agent retries
↓
Name Resolver ────── undefined? → StructuredError + candidates → Agent retries
↓
Type Checker ─────── mismatch? → StructuredError + expected type → Agent retries
↓
Effect Checker ───── violation? → StructuredError + propagation chain → Agent retries
↓
Contract Verifier ── unproven? → StructuredError + counterexample → Agent retries
(Z3/SMT) ↓
Code Generator (pure-JS WASM encoder) → WASM → ExecuteFeatures
- 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, 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.
- MCP interface — All tools exposed via Model Context Protocol for direct agent integration.
- Schema migration — ASTs from older schema versions are auto-migrated. No breakage when the language evolves.
Execution Model
Edict compiles to WebAssembly and runs in a sandboxed VM. This is a deliberate security decision — not a limitation:
- No ambient authority — compiled WASM cannot access the filesystem, network, or OS unless the host explicitly provides those capabilities via the pluggable EdictHostAdapter interface
- Compile-time capability declaration — the effect system (io, reads, writes, fails) lets the host inspect what a program requires before running it
- Runtime enforcement — RunLimits controls execution timeout, memory ceiling, and filesystem sandboxing
- Defense-in-depth — agent-generated code that runs immediately needs stronger isolation than human-reviewed code. The effect system + WASM sandbox + host adapter pattern provides exactly that
Host capabilities available through adapters: filesystem (sandboxed), HTTP, crypto (SHA-256, MD5, HMAC), environment variables, CLI arguments. New capabilities are added by extending EdictHostAdapter.
Quick Start
For AI Agents (MCP)
The fastest way to use Edict is through the MCP server — it exposes the entire compiler pipeline as tool calls:
npx edict-lang # start MCP server (stdio transport, no install needed)Or install locally:
npm install edict-lang
npx edict-lang # start MCP serverTwo calls to get started: edictschema (learn the AST format) → edictcheck (submit a program). See MCP Tools for the full tool list.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Edict: common questions
- Is Edict MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Edict safety report
- How do I install Edict?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Edict need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Edict maintained?
- The last commit was 38 days ago (2026-09-27). The latest release is v1.9.2.
- How does Edict compare with other AI and agents MCP servers?
- safety score 85/100 (higher than 73% of 4,460 AI and agents servers); github stars 12 (more than 85% of 2,711 AI and agents servers). Full comparison.