MCP Now
ForeverVM

ForeverVM

by jamsocket
GitHub

Run Python in a code sandbox.

code
python
repl
claude
forevervm

ForeverVM MCP Server

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

Tools

  1. create-python-repl
  • Create a Python REPL.
  • Returns: ID of the new REPL.
  1. run-python-in-repl
    • Execute code in a Python REPL.
    • Required Inputs:
      • code (string): code that the Python REPL will run.
      • replId (string): ID of the REPL to run the code on.
    • Returns: Result of the code executed.

Usage with Claude Desktop

Run the following command:

1npx 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:

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