NeoSQL MCP
概览
作者提供的说明(英文原文)
Schemas, SQL, ERDs, and codegen for PostgreSQL, MySQL, Oracle, SQLite, and more via NeoSQL Desktop.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i起步阶段↓ 685/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 数据库与数据集
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"neosql": {
"command": "npx",
"args": [
"-y",
"neosql-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add neosql -- npx -y neosql-mcp或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"neosql": {
"command": "npx",
"args": [
"-y",
"neosql-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"neosql": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"neosql-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 unvus 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“数据库与数据集”中的其他服务器比较i
- 星标数多于此分类中其他 1156 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1156 个服务器的 87% 更新
- 基础检查结果等于或优于此分类中其他 1156 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
NeoSQL MCP 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.9.0)于5天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
neosql-mcp
English | 한국어
Bring NeoSQL Desktop's database tools into your MCP host (Claude Code, Codex, Gemini CLI, Cursor, …) via
npx.
neosql-mcp is a local stdio MCP server that lets MCP hosts use NeoSQL Desktop tools through npx.
It is not a standalone database server, database CLI, or replacement for NeoSQL Desktop. The package runs inside the MCP host process tree, exposes NeoSQL tools over standard MCP stdio, and delegates database/UI work to a running NeoSQL Desktop app through JSON-RPC over HTTP on a macOS Unix Domain Socket or Windows Named Pipe.
+-------------------+ +-------------------+ +-------------------+
| | | | | | | Claude Code +--->+ +--->+ NeoSQL Desktop | | | | | | | | | | | +---------+---------+ | Codex | | | | | | | | v | | | | +-------------------+ | Gemini CLI | | neosql-mcp | | | | | | | | PostgreSQL | | | | | | MySQL | | Cursor | | | | MariaDB | | | | | | Oracle | | | | | | SQL Server | | Other MCP hosts | | | | ... and more | | | | | | | +-------------------+ +-------------------+ +-------------------+ MCP hosts stdio MCP server Databases
Why neosql-mcp?
- AI coding assistants write better code when they can read your real schema and run real queries, instead of guessing column names and table shapes. neosql-mcp exposes the database your team already configured in NeoSQL Desktop to any MCP host.
- One running NeoSQL Desktop, one npx command — Claude Code, Codex, Gemini CLI, Cursor, and any other MCP host can use the connections and schemas already configured in NeoSQL Desktop. Database connections are configured in Desktop rather than separately for each MCP host.
Supported Databases
PostgreSQL, Supabase, MySQL, MariaDB, Oracle, SQL Server, SQLite, H2, and Databricks.
Database connections are made by NeoSQL Desktop, so neosql-mcp works with every DBMS that Desktop supports. See the DBMS connection guide for version requirements and per-DBMS connection details.
Security
Communication between neosql-mcp and NeoSQL Desktop stays on the local machine over a Unix Domain Socket (macOS) or Named Pipe (Windows). This channel opens no TCP ports, and its endpoint cannot be overridden by environment variables or config files. Database access follows Desktop's MCP Access Control settings; MCP host configuration does not require database credentials.
Schema information and query results are returned to your MCP host. The host's handling of that data and Desktop's database connections are outside this local transport boundary. execute-query can execute SQL including DDL, and generate-code can write files; review the requested operations and Desktop access settings before use.
See the NeoSQL MCP Privacy Policy for data processing, storage, retention, and deletion details.
Prerequisites
- macOS or Windows.
- Node.js 20 or later.
- NeoSQL Desktop installed on the same machine.
- An MCP host that can launch stdio servers, such as Claude Code, Codex, Gemini CLI, or Cursor.
- A NeoSQL project with MCP-enabled database connections and schemas.
Quick Start
No global install is required. Configure your MCP host to run the package with npx.
npx -y neosql-mcp
The process is a stdio MCP server, so running the command directly in a terminal may look like it is waiting for input. That is expected.
MCP Host Configuration
neosql-mcp has been tested with Claude Code, Codex, Gemini CLI, and Cursor. Any MCP host that can launch a stdio server can use the same command and arguments.
| Host | Config file |
|---|---|
| Claude Code | .mcp.json in the project, or ~/.claude.json for the user |
| Codex | .codex/config.toml in the project, or ~/.codex/config.toml |
| Gemini CLI | .gemini/settings.json in the project, or ~/.gemini/settings.json |
| Cursor | .cursor/mcp.json in the project, or ~/.cursor/mcp.json |
Claude Code, Gemini CLI, Cursor
These hosts share the same JSON shape under mcpServers:
{
"mcpServers": { "neosql": { "command": "npx", "args": ["-y", "neosql-mcp"] } } }
Codex
[mcp_servers.neosql]
command = "npx" args = [ "-y", "neosql-mcp", ]
Install as a Claude Plugin
Claude Code and Claude Desktop Cowork can also load neosql-mcp as a plugin instead of the manual mcpServers entry above. The plugin runs a version-pinned package, so new versions arrive with plugin updates rather than depending on the local npx cache.
From the Claude directory
In claude.ai or the Claude desktop app, open Customize › Plugins › Discover, search for NeoSQL MCP, and select Add. The plugin is saved to your claude.ai account and loads in Claude Code as neosql-mcp@synced the next time you start a session signed in to that account (Claude Code 2.1.273 or later). Claude Chat does not run this local MCP server.
From the marketplace in this repository
If you use Claude Code without a claude.ai login, or want to install from a terminal or a script, add this repository as a plugin marketplace and install the plugin from it:
claude plugin marketplace add unvus/neosql-mcp
claude plugin install neosql-mcp@neosql
Inside a session, /plugin install neosql-mcp --marketplace unvus/neosql-mcp does both steps. Marketplace plugins do not auto-update by default; run claude plugin update neosql-mcp@neosql, or enable auto-update for the neosql marketplace in /plugin.
Using the plugin with a manual configuration
A manual neosql entry and the plugin are separate servers in Claude Code, so keeping both shows every tool twice. Check /mcp to see which servers are active and disable one of them. To pin a project with --project-id, keep the manual configuration and disable the plugin for that repository in .claude/settings.local.json, using neosql-mcp@synced for a directory install or neosql-mcp@neosql for a marketplace install:
{
"enabledPlugins": { "neosql-mcp@synced": false } }
CLI Options
| Option | Default | Purpose |
|---|---|---|
--project-id= or --project-id | Not set | Open the specified project before an app-dependent tool runs and fail if the active project does not match it. |
To target a specific project, add its project ID to the MCP host's arguments:
"args": ["-y", "neosql-mcp", "--project-id=<your-project-id>"]
Replace with the target project's ID, not its display name. Without this option, tools use the projectId passed to the tool, or the project selected in Desktop. With it, an app-dependent tool can switch the Desktop window to the requested project before running; a tool call with a different projectId is rejected, and create-project is unavailable. Connecting the MCP host, listing tools, or calling ping, get-mcp-session-id, get-context-help, list-projects, or create-project does not switch to the configured project.
Save or discard unsaved changes in Desktop if they prevent navigation. Sign-in, project access, and other required confirmations are still handled in Desktop. If the project changes during preparation, or no longer matches when Desktop checks the request, the operation fails instead of silently using another project. Use a Desktop version that supports project targeting.
Desktop Readiness
Before an app-dependent tool runs, neosql-mcp checks the current Desktop and project state. On macOS and Windows, if Desktop is installed but disconnected, it requests app activation once and waits for readiness within a shared 40-second budget. App activation, optional project navigation, and project loading share this preparation budget. Once the project is ready, the original operation runs once in the same tool call. If user action is required, follow the returned guidance in Desktop and call the tool again afterward.
MCP hosts that provide a progress token receive English progress notifications. Without a token, readiness works the same way. Host display and overall timeouts are controlled by the host. Cancelling preparation stops further checks and operation submission while leaving an already launched Desktop app running. Preparation errors return isError: true with JSON text containing status, message, nextAction, and requestSent: false. Operations already submitted keep their existing result format and are never automatically resent.
Context Resolution
Each NeoSQL tool call works on one project: the projectId passed to the tool, else the project set with --project-id, else the project currently open in NeoSQL Desktop. When the target is not open, Desktop opens it first, and the tool runs once the project is fully loaded. Desktop still owns the active project and its Default connection target.
If no project is open and none is configured, call list-projects and pass the chosen projectId. To start a new design, call create-project: after you approve it in Desktop, it creates a local project with one design-only connection set as the Default and opens it. Pass the returned projectId to later tools such as erd-create-tables. If the host sends a cancellation while the creation confirmation is pending, it is forwarded to Desktop to close the dialog. Cancellation does not roll back a project whose creation has already started; check list-projects before retrying.
Database tools accept a connection target in one of two forms:
- Omit
connectionId,database, andschematogether to use the active project's Default selected in NeoSQL MCP Access Control. - Pass all three values together to use an explicit MCP-enabled target returned by
list-connections. Usedatabase: nullfor DBMSs without a database hierarchy.
Passing only one or two of these fields is invalid. An explicit target never falls back to the project Default when it is invalid.
Tools that accept an explicit connection target are marked in Available Tools.
Available Tools
| Tool | Target | Purpose |
|---|
只显示了开头部分;其余内容请在仓库中阅读