ForeverVM

resmi

Bir kod kum havuzunda Python çalıştırın.

Forever VM MCP ile neler yapabilirsiniz?

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

Dokümantasyon

ForeverVM MCP Sunucusu

ForeverVM için MCP Sunucusu, Claude'un bir Python REPL'inde kod çalıştırmasını sağlar.

Araçlar

  1. create-python-repl
  • Bir Python REPL'i oluşturur.
  • Döndürdüğü: Yeni REPL'in kimliği.
  1. run-python-in-repl
    • Bir Python REPL'inde kod çalıştırır.
    • Gerekli Girdiler:
      • code (string): Python REPL'inin çalıştıracağı kod.
      • replId (string): Kodun çalıştırılacağı REPL'in kimliği.
    • Döndürdüğü: Çalıştırılan kodun sonucu.

Claude Desktop ile Kullanım

Aşağıdaki komutu çalıştırın:

npx forevervm-mcp install --claude

Diğer MCP istemcileri için belgelere bakın.

Yerel olarak yükleme (yalnızca geliştirme amaçlı)

MCP istemcisinde, komutu npm olarak ve argümanları şu şekilde ayarlayın:

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