Note: An extended version by ersatzben and BenCello can be found at: https://github.com/ersatzben/maxmsp-mcp
This project uses the Model Context Protocol (MCP) to let LLMs directly understand and generate Max patches.
Video link. Acknowledgement: the patch being explained is downloaded from here. Text comments in the original file are deleted.
Check out the full video where you can listen to the synthesised sounds.
The LLM agent has access to the official documentation of each object, as well as objects in the current patch and subpatch windows, which helps in retrieving and explaining objects, debugging, and verifying their own actions.
- Python 3.8 or newer
- uv package manager
- Max 9 or newer (because some of the scripts require the Javascript V8 engine), we have not tested it on Max 8 or earlier versions of Max yet.
- Install uv: