Basic information
About MostaORM MCP — generate schemas, lint & migrate from your AI tool Server
MCP server for @mostajs/orm: generate type-safe EntitySchemas, lint them (24 rules) and produce SQL migrations — for one ORM API across 13 databases.
MostaORM MCP — generate schemas, lint & migrate from your AI tool is a MCP server in the Other category listed in the AddMCP.net directory, published by apolocine. It exposes 3 tools, including mostajs_generate_schema, mostajs_validate, mostajs_create_migration. Supported transport: stdio. Source code is hosted on github.com. Related topics: code-generation, databases, developer-tools, migration, orm.
Setup
claude mcp add mosta-orm-mcp --transport http https://orm-mcp.amia.fr/mcp
[mcp_servers.mosta-orm-mcp] url = "https://orm-mcp.amia.fr/mcp"
{
"mcpServers": {
"mosta-orm-mcp": {
"url": "https://orm-mcp.amia.fr/mcp"
}
}
}
{
"servers": {
"mosta-orm-mcp": {
"type": "http",
"url": "https://orm-mcp.amia.fr/mcp"
}
}
}
MostaORM MCP — generate schemas, lint & migrate from your AI tool config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mostajs-orm": {
"url": "https://orm-mcp.amia.fr/mcp"
}
}
}
MostaORM MCP — generate schemas, lint & migrate from your AI tool tools
-
mostajs_generate_schema
— Generate 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.
name:string*, collection:string, fields:array*, relations:array, timestamps:boolean, softDelete:boolean -
mostajs_validate
— 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.)
schemas:array*, sourceRoot:string -
mostajs_create_migration
— Diff two sets of @mostajs/orm EntitySchemas and produce SQL migration statements (diffSchemas + generateMigrationSQL).
oldSchemas:array*, newSchemas:array*
Overview
What is MostaORM MCP — generate schemas, lint & migrate from your AI tool?
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 — generate schemas, lint & migrate from your AI tool?
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 schemas, lint & migrate from your AI tool
- 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 — generate schemas, lint & migrate from your AI tool
- 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
Frequently asked questions
1 What databases does MostaORM MCP support?
It supports 13 databases through the underlying @mostajs/orm library, offering a unified API.
2 How many lint rules are available?
The server includes 24 lint rules for checking EntitySchemas.
3 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.
4 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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In