MCP.so
Sign In
M

MostaORM MCP — generate schemas, lint & migrate from your AI too…

@apolocine

Basic information

Category

Other

Transports

stdio

Author

apolocine

Submitted by

MADANI

About MostaORM MCP — generate schemas, lint & migrate from your AI tool

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 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

3

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.

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

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

More Other MCP servers