MostaORM MCP — generate schemas, lint & migrate from your AI tool
@apolocine
MCP server for @mostajs/orm: generate type-safe EntitySchemas, lint them (24 rules) and produce SQL migrations — for one ORM API across 13 databases.
Overview
What is MostaORM MCP?
MostaORM MCP is a Model Context Protocol server for the @mostajs/orm library. It lets AI tools generate type-safe EntitySchemas, lint them with 24 built-in rules, and produce SQL migrations — all using a single ORM API that works across 13 databases.
How to use MostaORM MCP?
Install the MCP server and configure it as a tool in any MCP-compatible AI client. Once connected, use the server’s tools to generate an EntitySchema, run lint rules on it, and create the corresponding SQL migration script.
Key features of MostaORM MCP
- Generate type-safe EntitySchemas from AI prompts
- Lint schemas with 24 built-in rules
- Produce SQL migration scripts automatically
- Single ORM API works across 13 databases
- Designed for integration with any MCP-compatible AI tool
Use cases of MostaORM MCP
- Quickly prototype database schemas by describing them to an AI assistant
- Validate schema design with automated linting rules
- Generate SQL migration files for multi-database projects
FAQ from MostaORM MCP
What databases does MostaORM MCP support?
It supports 13 databases through the underlying @mostajs/orm library, offering a unified API.
How many lint rules are available?
The server includes 24 lint rules for checking EntitySchemas.
Can I use MostaORM MCP with any AI tool?
Yes, as an MCP server it works with any client that implements the Model Context Protocol, such as Claude Desktop or other compatible assistants.
Is the generated schema type-safe?
Yes, the EntitySchemas produced by the server are type-safe by design, leveraging the typing system of @mostajs/orm.