A MCP (Model Context Protocol) Server for Max

haokun tian's icon

Hi!

We've created a Model Context Protocol server to let LLMs directly understand and generate Max patches.

Check out the Github repo for installation: https://github.com/tiianhk/MaxMSP-MCP-Server

Check out the demo videos:

Shuoyang & Haokun

yaniki's icon

Great work! Thanks for sharing!

Halli's icon

Fantastic. thank you :)

Anthony Palomba's icon

This is amazing! It is time for some Max code vibing!

Graham Archer's icon

Hi Haokun Tian!

This looks amazing!

Please can you tell me if it's possible to use this MCP with Chat GPT's new Custom Connectors? If so, could you do an installation video of how to do that?

Thanks so much!

Dirky Dirk's icon

I just signed up to say thank you so much for this, I've been struggling for so long to get into max, not sure if I've been missing something but as so as you build anything complex it becomes almost impossible to debug, this will absolutely change EVERYTHING... so yeah, THANK YOU!!!

Michael Freeman's icon

Oh thank the Gods ! I've been using Apple Code Intelligence in Xcode as well as OpenAI Codex with GitHub so have been looking for something for Max.

Does MaxMSP-MCP Server also understand Max for Live development ?

What about the actual training of the AI on Max ? Last time I tried AI's with Max was before the release of ChatGPT 5 which is has a much improved code generation, or have you found other AI's such as Claude to perform better ?

haokun tian's icon

Hi Graham,

Sorry for a late reply. I am on the free plan for ChatGPT so I don't have the access to test the new connector feature. However I found another tool called MCP superassistant (https://mcpsuperassistant.ai) that might help you use Max MCP with ChatGPT.

haokun tian's icon

The Max MCP understands and has the ability to generate the live.* objects as it enables the LLM to check the documentation of those objects. The current setup we have on Github is using the standalone Max environment, not the Max4Live environment. I will try the Max4Live environment next.

As for which model performs the best for Max programming: I don't think there's a good evaluation out there. I used Claude Desktop (which is using sonnet 4 right now) as it has good supports for using local MCP servers.

Michael Freeman's icon

OK thanks haokun tian !

That's great to hear that you are planning to add the Max4Live environment.

I went with Claude as ChatGPT seems quite limited with MCP connectors at the moment. I documented the whole process as it was not easy to work how to do it. I have forked your Github repository and will add documentation to the readme and put in a pull request. Cheers 🍻😃