ForeverVM

公式

コードサンドボックスでPythonを実行します。

Forever VM MCPで何ができますか?

  • 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.

ドキュメント

ForeverVM MCP Server

ForeverVM用のMCPサーバーで、ClaudeがPython REPLでコードを実行できるようにします。

ツール

  1. create-python-repl
  • Python REPLを作成します。
  • 戻り値: 新しいREPLのID。
  1. run-python-in-repl
    • Python REPLでコードを実行します。
    • 必須入力:
      • code (文字列): Python REPLが実行するコード。
      • replId (文字列): コードを実行するREPLのID。
    • 戻り値: 実行されたコードの結果。

Claude Desktopでの使用方法

以下のコマンドを実行してください:

npx forevervm-mcp install --claude

その他のMCPクライアントについては、ドキュメントを参照してください。

ローカルインストール(開発用のみ)

MCPクライアントで、コマンドを npm に設定し、引数を以下に設定してください:

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