ForeverVM logo

ForeverVM

Free

在代码沙盒中运行 Python 代码。

FreeFree tier
Type
Open Source

About ForeverVM

ForeverVM MCP Server is an open-source server that enables Claude (and other MCP clients) to execute Python code in a REPL sandbox. It provides two simple tools: create-python-repl to start a new Python REPL, and run-python-in-repl to run arbitrary Python code in a specified REPL. The server is lightweight, easy to set up, and ideal for interactive coding experiments and automation within AI assistants.

Key Features

Create Python REPLs with a single tool
Execute arbitrary Python code in a REPL
MCP server integration for Claude and other clients
Simple setup via npx command or local installation
Open source and free to use

Pros & Cons

Pros
  • Enables Claude to directly execute Python code
  • Two straightforward tools for REPL management
  • Open source and free with easy setup
  • Lightweight and developer-friendly
Cons
  • Limited to Python REPL execution; no persistent environments beyond REPL lifespan
  • No dependency or package management within the REPL
  • Requires an MCP client like Claude Desktop

Best For

Running Python code experiments through ClaudeExecuting code snippets for analysis or automationPrototyping Python scripts in a controlled environmentIntegrating Python execution into AI workflows

FAQ

What is ForeverVM MCP Server?
It is an MCP server that allows Claude to create and run code in Python REPLs, providing a sandboxed execution environment.
How do I install it?
Run `npx forevervm-mcp install --claude` for Claude Desktop, or configure manually for other MCP clients.
What tools does it provide?
It provides two tools: `create-python-repl` to start a new Python REPL, and `run-python-in-repl` to execute code in an existing REPL.