Skip to content

ForeverVM MCP Server

Use ForeverVM as an MCP Server, enabling Claude to execute code in a Python REPL.

Tools

The ForeverVM MCP Server exposes two 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

For Claude Desktop, you can run the following command to install the ForeverVM MCP server.

Terminal window
npx forevervm-mcp install --claude

Usage with Windsurf AI Code Editor

For Windsurf AI, you can run the following command to install the ForeverVM MCP server.

Terminal window
npx forevervm-mcp install --windsurf

Usage with Goose CLI

For Goose, you can run the following command to install the ForeverVM MCP server.

Terminal window
npx forevervm-mcp install --goose