ForeverVM

offiziell

Python in einer Code-Sandbox ausführen.

Was kann man mit Forever VM MCP machen?

  • Start a new Python REPL session — ask your assistant to create a fresh Python environment using create-python-repl and get back its session ID.
  • Run Python code in an existing REPL — provide a REPL ID and code snippet to execute via run-python-in-repl and receive the output.
  • Chain multiple code executions in one session — reuse the same REPL ID across several run-python-in-repl calls to build up state, variables, or results incrementally.

Dokumentation

ForeverVM MCP Server

MCP-Server für ForeverVM, der es Claude ermöglicht, Code in einer Python-REPL auszuführen.

Tools

  1. create-python-repl
  • Erstellt eine Python-REPL.
  • Gibt zurück: ID der neuen REPL.
  1. run-python-in-repl
    • Führt Code in einer Python-REPL aus.
    • Erforderliche Eingaben:
      • code (string): Code, den die Python-REPL ausführen soll.
      • replId (string): ID der REPL, auf der der Code ausgeführt werden soll.
    • Gibt zurück: Ergebnis des ausgeführten Codes.

Verwendung mit Claude Desktop

Führen Sie den folgenden Befehl aus:

npx forevervm-mcp install --claude

Für andere MCP-Clients siehe die Dokumentation.

Lokale Installation (nur für die Entwicklung)

Setzen Sie im MCP-Client den Befehl auf npm und die Argumente auf:

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