Anvil MCP and closer AI coding integration

Hi guys,

I’m starting to look at best way to use AI while coding in Anvil. It seems that MCP’s may be a great thing to do and also instruction files for soemthing like cursor.io.

I think these additions will really help speed up the development of anvil apps by allowing us to vibe-code much more easily and successfully.

Does anvil have a plan for an MCP?

Does anvil have a suggestion of how to best code for anvil using AI?

The workflow I am currently contemplating:
Use cursor.io
Provide it with a context file on how anvil works
push to github and then test in the anvil IDE

Would love to hear other’s thoughts and also Anvil’s planned roadmap here!

Thanks,
David

1 Like

Seconded.

An MCP server for Anvil syntax seems to be the most accessible way for Anvil to get their feet wet with AI assisted coding.

While MCP servers have multiple use cases including performing actions and such, there are plenty that are solely used to help AI coding agents stay up to date with docs. Essentially this is a “better” approach than what I did before with my Anvil RAG chatbot.

Examples of generic MCP servers that help with syntax for frameworks:

Note that a big part of this is making sure docs are optimized to be read by LLMs, which usually means the following:

  • More fleshed out examples
  • More verbose
  • Turning tables and figures into descriptive text

Maybe GitHub - builtbycorelot/NFL: Node Form Language is a basis for cataloging Anvil specifications rather than MCP.