MostaORM MCP — generate schemas, lint & migrate from your AI too…
@apolocine
About MostaORM MCP — generate schemas, lint & migrate from your AI too…
MCP server for @mostajs/orm: generate type-safe EntitySchemas, lint them (24 rules) and produce SQL migrations — for one ORM API across 13 databases.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mostajs-orm": {
"url": "https://orm-mcp.amia.fr/mcp"
}
}
}Tools
3Generate a @mostajs/orm EntitySchema (TypeScript) from an entity name + fields (+ optional relations). Returns ready-to-paste TS and runs the 24-rule validator on the result.
Lint one or more @mostajs/orm EntitySchemas with the built-in conceptual validator (24 rules). Pass schemas as JSON. (sourceRoot cross-file rules are only available in local/stdio mode.)
Diff two sets of @mostajs/orm EntitySchemas and produce SQL migration statements (diffSchemas + generateMigrationSQL).
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.
Frequently asked questions
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.
Basic information
More Other MCP servers
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Awesome Mlops
visengerA curated list of references for MLOps
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Comments