MCPInstall
manim-mcp logo

manim-mcp

by Avik-creator 16 stars Avik-creator/manim-mcp

MCP Manim Server generates mathematical animations from text prompts using Manim.

READMEmain

MCP Manim Server

A server-based tool that leverages Manim to generate mathematical animations from text prompts.

Working Video:

Working Video

Description

MCP Manim Server provides an interface to:

  • Execute Manim code snippets programmatically
  • Generate Manim code from natural language prompts
  • Manage animation media files

Installation

  1. Clone this repository
git clone https://github.com/Avik-creator/MCP.git
cd MCP
  1. Install dependencies
uv pip install
  1. Set up Manim The server uses Manim to render animations. Ensure Manim is installed:
pip install manim

Environment Variables

  • MANIM_EXECUTABLE: Path to the Manim executable (defaults to "manim")

Usage

Run the server:

uv run main.py

Features

Execute Manim Code

The server can run Manim code and return the path to the generated animation file.

Generate Manim Code from Prompts

The server can generate Manim code based on natural language prompts.

Clean Media Directory

Clean up generated media files when no longer needed.

Project Structure

  • main.py: Primary server implementation
  • media/: Directory where generated animations are stored

License

MIT License

More Design Tool MCP servers

Similar servers from the same category.

🤖 A Model Context Protocol server for generating charts using @antvis.

TextModel+1

SlideSpeak

slidespeak

Generate presentations using the SlideSpeak API.

APIPresentation+2

Generate images using Amazon Nova Canvas.

text

Bridges to 21st.dev's Magic API for generating UI components from descriptions, fetching existing components for inspiration, and searching for company logos in various formats.

search