Skip to main content
Glama

manim-mcp-server

Manim MCP Server

Manim MCP Demo

Overview

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 rendered animation.

Features

  • 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.

Installation

Prerequisites

Ensure you have the following installed:

  • Python 3.8+
  • Manim (Community Version)
  • MCP

Install Manim

pip install manim

Install MCP

pip install mcp

Clone the Repository

git clone https://github.com/abhiemj/manim-mcp-server.git cd manim-mcp-server

Integration with Claude

To integrate the Manim MCP server with Claude, add the following to your claude_desktop_config.json file:

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

Finding Your Python Path

To find your Python executable path, use the following command:

Windows (PowerShell):
(Get-Command python).Source
Windows (Command Prompt/Terminal):
where python
Linux/macOS (Terminal):
which python

This ensures that Claude can communicate with the Manim MCP server to generate animations dynamically.

Contributing

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b add-feature
  3. Make changes and commit:
    git commit -m "Added a new feature"
  4. Push to your fork:
    git push origin add-feature
  5. Open a pull request.

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Author

Created by abhiemj. Contributions welcome! 🚀

Listed in Awesome MCP Servers

This repository is featured in the Awesome MCP Servers repository under the Animation & Video category. Check it out along with other great MCP server implementations!

Acknowledgments

  • Thanks to the Manim Community for their amazing animation library.
  • Inspired by the open-source MCP ecosystem.

Find me at

@aiburner_official

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Generate animation like 3blue1brown using a single prompt.

  1. Overview
    1. Features
      1. Installation
        1. Prerequisites
        2. Install Manim
        3. Install MCP
        4. Clone the Repository
      2. Integration with Claude
        1. Finding Your Python Path
      3. Contributing
        1. License
          1. Author
            1. Listed in Awesome MCP Servers
          2. Acknowledgments
            1. Find me at

              Related MCP Servers

              • A
                security
                F
                license
                A
                quality
                Enables users to generate images from text prompts using Replicate's model, with configurable parameters and full MCP protocol compliance.
                Last updated 6 months ago
                1
                122
                TypeScript
              • A
                security
                F
                license
                A
                quality
                Enables creation, management, and templating of prompts through a simplified SOLID architecture, allowing users to organize prompts by category and fill in templates at runtime.
                Last updated a day ago
                6
                1
                62
                TypeScript
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                Provides image generation capabilities using the Flux Schnell model on Replicate, allowing users to create images from text prompts.
                Last updated 5 months ago
                1
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                Allows creating and modifying wireframes in Frame0 (a Balsamiq-alternative wireframe tool) by using natural language prompts, supporting operations like creating screens, editing elements, and managing pages.
                Last updated 11 days ago
                524
                34
                JavaScript
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhiemj/manim-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server