Repository navigation
v0.3.0-experimental
Pre-release
Pre-release
·
28 commits
to main
since this release
@mantlejs/mcp-code 0.3.0-experimental — MCP code mode
First release of @mantlejs/mcp-code: a typed API plus a QuickJS sandbox, so an agent writes one short script
against your services instead of calling many MCP tools.
search_apiand themantle://code/api.d.tsresource give the agent TypeScript declarations for exactly the
services and methods you expose — deny-by-default, narrowed further by an agent token's capability scope.executeruns the script in a fresh QuickJS sandbox with no network, filesystem, timers, or imports. Call count,
run time, memory, and output size are all capped with typed errors.- Every service call the script makes runs the full hook pipeline with
provider: "mcp".@mantlejs/auditentries
for one script share anexecutionId. - Custom executors can replace QuickJS; a conformance suite is exported for them.
npm install @mantlejs/mcp-code@experimentalRequires @mantlejs/mcp and @mantlejs/mantle ^0.3.0 (see v0.3.0). Experimental: the API may change before
it's promoted.