Back to MCP Directory
Manim
Model Context Protocol moderate risk

Manim

This MCP server executes Manim scripts to generate animations, saving the output to a media folder with optional cleanup, offering portable animation generation.

Connections & Capabilities

Connects To

GitHub

Capabilities

execwrite

Quickstart

Install

pip install manim

Config

{
  "mcpServers": {
     "manim-server": {
      "command": "/absolute/path/to/python",
      "args": [
        "/absolute/path/to/manim-mcp-server/src/manim_server.py"
      ],
      "env": {
        "MANIM_EXECUTABLE": "/Users/[Your_username]/anaconda3/envs/manim2/Scripts/manim.exe"
      }
    }
  }
}

Exposed MCP Tools (2)

high
execute_manim_script

Executes a Manim Python script and generates a video animation.

Executes arbitrary code, potentially leading to system compromise.

moderate
cleanup_temporary_files

Deletes temporary files created during the animation process.

Could unintentionally delete important files if configured incorrectly.

Safety Assessment

This server is relatively safe for trusted users who understand the code being executed. However, it poses a moderate risk if untrusted code is executed due to the lack of sandboxing and potential for file system writes.

  • No direct internet exposure.
  • Limited file system access (media folder only).
  • Requires explicit script execution.
  • User-defined environment variables for configuration.
  • Executes arbitrary Python code, posing a risk of malicious scripts.
  • Writes video files to the file system.
  • Potential for resource exhaustion if scripts are poorly written.
  • No built-in sandboxing of the execution environment.
Manim Review, Pricing & Alternatives (2026) | Flaex AI