Wasmagent Js logo

Wasmagent Js

by WasmAgent

JavaScript packages for WASM-isolated code execution, tool policy enforcement, evidence export, and agent-to-UI shared state.

Install Wasmagent Js

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for WasmAgent/wasmagent-js, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

WasmAgent/wasmagent-js MCP server provides JavaScript packages for running agent-generated code in isolated WASM kernels, applying tool policies, recording evidence, and synchronizing agent and UI state. Its documented execution path uses `@wasmagent/aisdk` with `@wasmagent/kernel-quickjs`, while governance features include the MCP firewall and AEP evidence package. The repository also documents shared-state tools and adapters for AI SDK, LangChain, and OpenAI Agents.

Use cases

  • Run agent-generated JavaScript in a WASM-isolated QuickJS kernel
  • Wrap MCP tools with policy checks and taint tracking
  • Export signed evidence records from agent runs
  • Synchronize reducer-backed state between an agent and a UI

Key features

  • WASM-sandboxed JavaScript execution
  • MCP tool firewall and policy evaluation
  • Signed AEP evidence export
  • Reducer-backed shared-state tools
  • AI SDK, LangChain, and OpenAI Agents adapters

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

5/5 checks healthy over the last 39d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit7d agoMost recent push to the default branch.

How Wasmagent Js works

What WasmAgent/wasmagent-js MCP server does

WasmAgent/wasmagent-js MCP server is a JavaScript toolkit for agent runtimes that need isolated execution, tool governance, evidence records, or shared state between an agent and a user interface. The repository presents these capabilities as separate packages rather than as one documented server binary.

The execution path runs agent-created JavaScript inside a WASM kernel with no host-process access. The quickstart uses @wasmagent/aisdk and @wasmagent/kernel-quickjs, and the repository also lists remote, Pyodide, and Wasmtime-related isolation options in its kernel documentation. The material does not establish that every listed kernel is exposed through an MCP server.

Governance features cover tool inspection, per-call policy decisions, consent records, taint observations, and signed evidence export. Shared-state support gives an agent a projected view of application state and lets it dispatch semantic actions through reducer-backed tools.

How it works

For sandboxed execution, create a QuickJSKernel and pass it to sandboxedJsTool. The resulting tool can be added to an AI SDK, LangChain, or OpenAI Agents setup according to the repository’s quickstart. The documented isolation boundary prevents the executed code from accessing the host process.

The MCP firewall path wraps another MCP server. It can snapshot a tool descriptor at registration, perform a static vetting step, evaluate a policy against the requested arguments and consent records, and attach taint information to returned data. The README characterizes this firewall as a first-line filter rather than an adversarial-grade defense.

For evidence, AEPEmitter collects actions during a run and builds a versioned evidence record. The example records a tool name, outcome, and exit code. Shared state is defined with an initial state function, reducer, projection, and affordances; stateTools then supplies read_state and dispatch_action for a session.

Setup and configuration

Install only the package path that matches the required capability. Sandboxed execution uses npm install @wasmagent/aisdk @wasmagent/kernel-quickjs; firewall protection uses npm install @wasmagent/mcp-firewall; evidence export uses npm install @wasmagent/aep; and shared state uses npm install @wasmagent/core.

It also does not provide setup instructions for a named desktop or editor client. WasmAgent/wasmagent-js MCP server should therefore be evaluated as a package-based runtime toolkit unless additional repository documentation supplies transport details.

Tools and capabilities

Documented capabilities include:

  • Execute JavaScript through a QuickJS WASM kernel.
  • Wrap MCP tools with descriptor snapshots, vetting, policy evaluation, consent handling, and taint observations.
  • Emit signed AEP records after agent runs.
  • Score or admit trace-derived compliance records through the related packages.
  • Expose reducer-backed shared-state operations through read_state and dispatch_action.
  • Provide adapters intended for AI SDK, LangChain, and OpenAI Agents integrations.

Package maturity varies. Core and the QuickJS and remote kernels are marked stable; the MCP firewall and AEP packages are beta; AI SDK and Mastra sandbox adapters are alpha. The firewall is specifically documented as a first-line filter using keyword and lightweight n-gram analysis, so it should not be treated as the only security boundary.

Limitations and notes

Some components are not published or are explicitly private, including the MCP policy and MCP attestation packages. Stability also differs by package, and alpha interfaces may add fields without a breaking-version change. Choose the package and kernel deliberately, and apply defense in depth when protecting untrusted tool use.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Wasmagent Js

WasmAgent/wasmagent-js is an MCP server that connects agent runtimes with WASM-isolated execution and governance packages. Its documented tools include sandboxed JavaScript execution, MCP tool snapshotting and policy checks, taint observation, signed AEP evidence export, and shared-state operations named read_state and dispatch_action.

Install the package for the capability you need with npm. Sandboxed execution uses `npm install @wasmagent/aisdk @wasmagent/kernel-quickjs`; firewall protection uses `@wasmagent/mcp-firewall`; evidence export uses `@wasmagent/aep`; and shared state uses `@wasmagent/core`.

The README names AI SDK, LangChain, and OpenAI Agents as integration targets for the sandboxed tool, but it does not name Cursor or provide an MCP client configuration for it.

Yes, the documented sandboxed execution path runs agent-generated code in an isolated WASM kernel with no host-process access.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWasmagent Js AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-server-163?style=directory)](https://allmcps.com/mcp/mcp-server-163)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-server-163"><img src="https://allmcps.com/api/badge/mcp-server-163?style=directory" alt="Wasmagent Js on AllMCPs" /></a>