logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

manim-service-adapter

A localized Model Context Protocol (MCP) handler engineered to render dynamic visual content via the Manim animation engine.

Author

MCP Server

abhiemj

MIT License

Quick Info

GitHub GitHub Stars 478
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

artartisticanimationsartistic culturalexplore artart culture

Manim Rendering Endpoint Adapter

Abstract

This module functions as an intermediary MCP (Model Context Protocol) gateway. Its core responsibility involves receiving requests containing Manim animation source code, executing the rendering pipeline via the Manim library, and subsequently transmitting the resulting finalized video file back to the requester.

Core Capabilities

  • Processes and executes Manim scripts written in Python.
  • Persists generated visual assets within a designated media output directory.
  • Provides utility for purging transient and temporary build artifacts.
  • Offers portability and configuration via system environment variables.

Deployment Guide

Prerequisites Verification

Verify the presence of the following software components:

  • Python interpreter, version 3.8 or newer.
  • Manim (Community Edition) software package.
  • The MCP runtime environment.

Installing Manim

Execute the following package manager command:

sh pip install manim

Installing MCP Framework

Install the necessary protocol framework:

sh pip install mcp

Source Code Acquisition

Clone the source repository:

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

Integration Schema for Claude

To establish communication between Claude and this rendering service, append the following configuration block to your claude_desktop_config.json manifest:

{ "mcpServers": { "manim-renderer": { "command": "/path/to/your/python/executable", "args": [ "/path/to/manim-mcp-server/src/manim_server.py" ], "env": { "MANIM_EXECUTABLE": "/path/to/your/manim/binary" } } } }

Locating the Python Interpreter Path

Determine the absolute path to your Python binary using the appropriate system utility:

Windows (PowerShell):

powershell (Get-Command python).Source

Windows (Command Prompt/CMD):

bash where python

Unix-like Systems (Linux/macOS):

bash which python

This explicit path setup guarantees successful dynamic animation generation initiated by Claude.

Collaborative Development

  1. Initiate a repository fork.
  2. Establish a dedicated feature branch: sh git checkout -b feature/new-rendering-logic

  3. Implement modifications and record them: sh git commit -m "Feature: Enhanced video encoding option"

  4. Push committed changes to your personal fork: sh git push origin feature/new-rendering-logic

  5. Submit a formal Pull Request.

Licensing Terms

This service is distributed under the permissive MIT License agreement. Users retain the freedom to utilize, alter, and redistribute the software, contingent upon adherence to the specified terms outlined in the LICENSE documentation within the project directory.

Primary Maintainer

Developed by abhiemj. Contributions are warmly welcomed! 🌟

Highlighted in Curated MCP Resources

This project is proudly featured in the Awesome MCP Servers collection, specifically cataloged under the Visualization and Media Production grouping. Explore other exemplary MCP implementations there!

Acknowledgements

  • Gratitude extended to the Manim Community for providing this exceptional visual scripting instrument.
  • Inspiration drawn from the broader open-source MCP framework development scene.

Connect with the Author

aiburner_official Contact: @aiburner_official

See Also

`