Mosta Net logo

Mosta Net

Exposes schema-driven CRUD tools over MCP while connecting to 13 databases through the @mostajs/orm layer.

Install Mosta Net

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mosta-net": {
      "command": "npx",
      "args": [
        "-y",
        "@mostajs/net"
      ],
      "env": {
        "DB_DIALECT": "YOUR_VALUE_HERE",
        "SGBD_URI": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @mostajs/net

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The mosta-net MCP server exposes entities from an @mostajs/orm schema through an MCP endpoint for AI agents. It auto-generates 15 tools per entity for CRUD, counting, search, aggregation, bulk operations, and relations, while the same server can also expose REST, GraphQL, WebSocket, and other transports. Reach for it when an agent needs controlled access to data backed by PostgreSQL, MySQL, SQLite, MongoDB, or the other supported database dialects. API-key scopes, RBAC, project scopes, and transport scopes govern access to multi-tenant data.

Use cases

  • Expose ORM entities to an AI agent through MCP
  • Run CRUD and search operations against project-scoped data
  • Connect agents to PostgreSQL, SQLite, MongoDB, or other supported databases
  • Apply API-key permissions to MCP data access

Key features

  • Schema-generated MCP tools
  • 15 tools per entity
  • CRUD, search, aggregation, and bulk operations
  • API-key scopes and RBAC
  • 13 database dialects
  • Multiple transport protocols

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/21 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · @mostajs/net (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads514Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Mosta Net works

What mosta-net MCP server does

The mosta-net MCP server, published as Octonet or @mostajs/net, exposes a single schema from @mostajs/orm through MCP. Entities registered in that schema become available to connected agents through generated tools rather than hand-written MCP handlers. The server is designed for applications that need an agent-facing data interface alongside conventional application protocols.

MCP is one of 11 available transports. The same entities can also be reached through REST, GraphQL, WebSocket, SSE, JSON-RPC, gRPC, tRPC, OData, NATS, and Arrow Flight. This makes the MCP endpoint suitable for an agent operating alongside browser clients, services, or analytics consumers using the same data model.

How it works

Octonet runs as a TypeScript and Fastify Node.js server. It uses @mostajs/orm for persistence and generates transport interfaces from the registered entity schema. The MCP endpoint is available at /mcp, using POST and GET with server-sent events as documented in the project.

For each entity, the MCP transport generates 15 tools. The documented operations include create, read, update, and delete actions, record counts, search, aggregation, bulk operations, and relations. Exact tool names depend on the generated entity interface, so the schema determines which resources an agent can access.

Authentication is based on API keys and scopes. A request can present an X-API-Key header, a bearer token, or an apikey query parameter. Authorization checks can cover projects, operations such as read or write, and transports such as MCP. The server also supports RBAC for human-oriented administration and can sanitize sensitive fields such as passwords, hashes, and tokens before returning entity data.

Setup and configuration

Self-hosting starts with npx @mostajs/net init, according to the project documentation. The server requires a configured ORM database dialect and connection URI. The documented settings use DB_DIALECT for the dialect and SGBD_URI for the database connection, for example PostgreSQL, SQLite, or MongoDB values.

Supported persistence dialects include PostgreSQL, MySQL, MariaDB, SQLite, Oracle, SQL Server, DB2, SAP HANA, HSQLDB, Sybase, CockroachDB, Google Cloud Spanner, and MongoDB. Switching databases involves changing the dialect and connection settings rather than changing the MCP entity interface.

Tools and capabilities

  • Generate MCP tools from registered ORM entities.
  • Perform entity CRUD operations.
  • Count, search, aggregate, and bulk-process records.
  • Work with entity relations.
  • Enforce project, operation, and transport scopes.
  • Serve the same schema through additional network protocols.

Limitations and notes

Database access also depends on a valid dialect and connection configuration.

The public sandbox provides pre-seeded User, Product, and Order entities and permits read-write CRUD through REST and MCP. It uses an isolated SQLite file, limits usage to 500 requests per day, and expires after seven days of inactivity. Those sandbox conditions should not be assumed for a self-hosted deployment.

The project is licensed under AGPL-3.0-or-later. The mosta-net MCP server is therefore relevant to teams that can accommodate that license and want MCP access controlled through the project’s API-key and scope model.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mosta Net

mosta-net is an MCP server that connects AI agents to entities managed by the @mostajs/orm layer. Its main tools are generated per entity for CRUD, counting, search, aggregation, bulk operations, and relations. Access can be restricted with API-key scopes covering projects, operations, and transports.

Run `npx @mostajs/net init` to begin a self-hosted setup. Configure the ORM database with `DB_DIALECT` and `SGBD_URI`, then expose the MCP endpoint at `/mcp` according to the server configuration.

mosta-net supports PostgreSQL, MySQL, MariaDB, SQLite, Oracle, SQL Server, DB2, SAP HANA, HSQLDB, Sybase, CockroachDB, Google Cloud Spanner, and MongoDB through `@mostajs/orm`.

Yes. The public sandbox response also provides an MCP URL that can be used by an MCP client.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMosta Net AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mosta-net?style=directory)](https://allmcps.com/mcp/mosta-net)
HTML Embed
<a href="https://allmcps.com/mcp/mosta-net"><img src="https://allmcps.com/api/badge/mosta-net?style=directory" alt="Mosta Net on AllMCPs" /></a>