a year ago
developer-toolsA Rust-based Model Context Protocol (MCP) server that exposes a V8 JavaScript runtime as a tool for AI agents like Claude and Cursor. Supports persistent heap snapshots via S3 or local filesystem, and is ready for integration with modern AI development environments.
Overview
What is mcp-v8?
mcp-v8 is a Rust-based Model Context Protocol (MCP) server that provides a V8 JavaScript runtime for AI agents like Claude and Cursor, enabling them to execute JavaScript code in a secure environment.
How to use mcp-v8?
To use mcp-v8, install it via the provided install script and run the server with either S3 or local filesystem for heap storage. You can then integrate it with AI tools like Claude and Cursor by configuring their settings to point to the mcp-v8 server.
Key features of mcp-v8?
- V8 JavaScript Execution: Execute JavaScript code securely in an isolated environment.
- Heap Snapshots: Persist and restore V8 heap state using S3 or local storage.
- MCP Protocol: Seamless integration with AI agents like Claude and Cursor.
- Configurable Storage: Choose between S3 or local directory for heap storage.
Use cases of mcp-v8?
- Running JavaScript code for AI agents.
- Persisting state between executions for complex tasks.
- Integrating with modern AI development environments.
FAQ from mcp-v8?
- Can mcp-v8 run asynchronous JavaScript?
No, mcp-v8 does not support async/await or Promises; all code must be synchronous.
- Is network access available in mcp-v8?
No, mcp-v8 does not allow network access or HTTP requests.
- How do I install mcp-v8?
You can install mcp-v8 using the provided install script or build it from source if preferred.