What is MCP?

Model Context Protocol is an open protocol that defines a language model's doors to the outside world. An MCP server offers the model three kinds of things: callable tools, readable resources and ready-made prompts.

When a client such as a coding assistant connects to the server, it discovers which tools are available and calls them when needed. Instead of guessing, the model now asks, reads and verifies.

What does our server do?

In our web projects, making a design editable from the panel means four layers: a field definition, an application model, a panel editor and a UI template. Writing these by hand takes time and varies from project to project.

The MCP server we have developed hands this conversion over to the language model, but without giving up control. The model first reads the project's rules, then converts the marked-up HTML, and finally validates the template it has produced:

get_conventions(project)
convert_html(section: "campaign")
validate_template("Campaign")

Rules come first

It's not enough for a model to write good code; it has to write the way the team writes. That is why our coding agents work by reading our architecture rules and skill files: what goes in which layer, how an endpoint is named, how a form is validated.

The model brings speed; the rules bring consistency. When the two come together, we can review the resulting code as if it were a teammate's.

What's next?

We are experimenting with taking the same approach beyond design-to-code conversion: generating data models, reports and test scenarios according to the project's rules as well. We will keep sharing the results in our lab.