MCP.so
Sign In

Manim MCP

@wstcpyt

About Manim MCP

manim mcp server for math animation

Basic information

Category

Other

License

Apache-2.0

Runtime

python

Transports

stdio

Publisher

wstcpyt

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "manim-mcp": {
      "command": "docker",
      "args": [
        "pull",
        "wstcpyt/manim-docker-mcp:latest"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Manim MCP?

A Docker-based environment for creating mathematical animations with Manim, featuring both a CLI interface and a web API with Model Context Protocol (MCP) support for AI assistants.

How to use Manim MCP?

Install Docker and Docker Compose, then pull the prebuilt image or build locally. Use CLI mode with docker compose run manim or API mode with docker compose up -d manim-api; interact via HTTP endpoints or MCP integration.

Key features of Manim MCP

  • Containerized Manim environment for isolated, reproducible animations
  • Web API for creating and managing animations via HTTP
  • MCP integration enabling direct interaction with AI assistants
  • File management: upload scripts and download generated animations
  • Multiple quality settings from 480p preview to 1440p production
  • Custom LaTeX support for mathematical formulas

Use cases of Manim MCP

  • Generate mathematical animations from natural language descriptions using an AI assistant
  • Run animations via CLI or API for scripted or automated workflows
  • Upload animation scripts and download resulting videos for presentations or production
  • Experiment with quality settings to balance preview speed and final output resolution

FAQ from Manim MCP

What are the prerequisites to use Manim MCP?

Docker and Docker Compose must be installed on your system.

How do I create and run a simple animation?

Create a Python file in the animations directory using Manim syntax, then run docker compose run manim -pql animations/example.py ExampleScene (CLI) or POST to /run-manim (API).

How do I access the API documentation?

Start the API server with docker compose up -d manim-api, then visit http://localhost:8000/docs.

Can I use custom LaTeX in my animations?

Yes, the container includes a minimal LaTeX installation; you can use MathTex and similar commands in your scripts.

What quality settings are available?

Low (480p, 15fps), medium (720p, 30fps), high (1080p, 60fps), and production (1440p, 60fps), set with flags like -ql, -qm, -qh, -qk.

Comments

More Other MCP servers