Manim MCP Server

This is an MCP (Model Context Protocol) server that executes Manim animation code and returns the generated video. It allows users to send Manim

Local serverstdioPython

What is the Manim MCP Server?

This is an MCP (Model Context Protocol) server that executes Manim animation code and returns the generated video. It allows users to send Manim scripts and receive

The short version

  • Executes Manim Python scripts
  • Saves animation output in a visible media folder
  • Allows users to clean up temporary files after execution
  • Portable and configurable via environment variables

What it needs from you

Ensure you have the following installed: - Python 3.8+ - Manim (Community Version) - MCP

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Manim MCP Server

{
  "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"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

Ensure you have the following installed: - Python 3.8+ - Manim (Community Version) - MCP

VariableDescriptionRequired
MANIM_EXECUTABLEDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Manim to Prerequisites.”

Frequently asked questions

This is an MCP (Model Context Protocol) server that executes Manim animation code and returns the generated video. It allows users to send Manim scripts and receive Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.