forevervm

Local 2025-08-31 23:25:11 0

The sessionless code interpreter.

Securely run AI-generated code in stateful sandboxes that run forever.


MCP Server for ForeverVM, enabling Claude to execute code in a Python REPL.

Tools

  1. create-python-repl

  2. Create a Python REPL.

  3. Returns: ID of the new REPL.

  4. run-python-in-repl

  5. Execute code in a Python REPL.
  6. Required Inputs:
    • code (string): code that the Python REPL will run.
    • replId (string): ID of the REPL to run the code on.
  7. Returns: Result of the code executed.

Usage with Claude Desktop

Run the following command:

npx forevervm-mcp install --claude

For other MCP clients, see the docs.

Installing locally (for development only)

In the MCP client, set the command to npm and the arguments to:

["--prefix", "<path/to/this/directory>", "run", "start", "run"]