Skip to content

feat: add MCP server example for sandboxed JavaScript execution#35

Open
simongdavies wants to merge 1 commit intomainfrom
add-mcp-example
Open

feat: add MCP server example for sandboxed JavaScript execution#35
simongdavies wants to merge 1 commit intomainfrom
add-mcp-example

Conversation

@simongdavies
Copy link
Contributor

Add an MCP (Model Context Protocol) server that exposes an execute_javascript tool, allowing AI agents to run arbitrary JavaScript inside an isolated Hyperlight micro-VM sandbox with strict CPU time limits and automatic snapshot/restore recovery after timeouts.

Includes server implementation, demo scripts (PowerShell and Bash), vitest test suite, and documentation.

@simongdavies simongdavies added the kind/enhancement New feature or improvement label Mar 3, 2026
Add an MCP (Model Context Protocol) server that exposes an
execute_javascript tool, allowing AI agents to run arbitrary JavaScript
inside an isolated Hyperlight micro-VM sandbox with strict CPU time
limits and automatic snapshot/restore recovery after timeouts.

Includes server implementation, demo scripts (PowerShell and Bash),
vitest test suite, and documentation.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement New feature or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant