NestDaddy

No2Sql

io.github.Ptalati015/no2sql · v1.1.2

No2SQL MCP server for inferring SQL schema and ER diagrams from MongoDB databases.

Is this your server? Claim it to get a Verified maintainer mark, your own note here, and an email when it goes down or its tools change. Free.

MCP Score How we grade

This server runs on your own machine, so there is no public endpoint to check and grade.

Connect Runs on your machine

Terminal
claude mcp add no2sql -e NO2SQL_MONGO=<NO2SQL_MONGO> -e NO2SQL_ALLOWED_DATABASES=<NO2SQL_ALLOWED_DATABASES> -e NO2SQL_BLOCK_SYSTEM_DATABASES=<NO2SQL_BLOCK_SYSTEM_DATABASES> -- dnx No2SQL --yes
claude_desktop_config.json
{
  "mcpServers": {
    "no2sql": {
      "command": "dnx",
      "args": [
        "No2SQL",
        "--yes"
      ],
      "env": {
        "NO2SQL_MONGO": "<NO2SQL_MONGO>",
        "NO2SQL_ALLOWED_DATABASES": "<NO2SQL_ALLOWED_DATABASES>",
        "NO2SQL_BLOCK_SYSTEM_DATABASES": "<NO2SQL_BLOCK_SYSTEM_DATABASES>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "no2sql": {
      "command": "dnx",
      "args": [
        "No2SQL",
        "--yes"
      ],
      "env": {
        "NO2SQL_MONGO": "<NO2SQL_MONGO>",
        "NO2SQL_ALLOWED_DATABASES": "<NO2SQL_ALLOWED_DATABASES>",
        "NO2SQL_BLOCK_SYSTEM_DATABASES": "<NO2SQL_BLOCK_SYSTEM_DATABASES>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "no2sql": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "No2SQL",
        "--yes"
      ],
      "env": {
        "NO2SQL_MONGO": "<NO2SQL_MONGO>",
        "NO2SQL_ALLOWED_DATABASES": "<NO2SQL_ALLOWED_DATABASES>",
        "NO2SQL_BLOCK_SYSTEM_DATABASES": "<NO2SQL_BLOCK_SYSTEM_DATABASES>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
NO2SQL_MONGO
Required, secret
MongoDB connection string, including any credentials. Treat it as a secret and set it only in your MCP client's env config.
NO2SQL_ALLOWED_DATABASES
Optional
Comma-separated list of database names the server may read. Recommended: list only the databases you want analysed. Default (empty): every database not blocked by NO2SQL_BLOCK_SYSTEM_DATABASES.
NO2SQL_BLOCK_SYSTEM_DATABASES
Optional
When true (default), the MongoDB system databases admin, config and local are blocked. Keep it true unless you have a specific need.

Details

Package[email protected] (NUGET, stdio)
First published24 Nov 2026
Last updated24 Nov 2026
Registry nameio.github.Ptalati015/no2sql

More databases servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.