Skip to main content
Glama

neosql-mcp

通过 npx 将 NeoSQL Desktop 的数据库工具引入你的 MCP 主机(Claude Code、Codex 等)。

npm version license node

neosql-mcp 是一个本地 stdio MCP 服务器,可让 MCP 主机通过 npx 使用 NeoSQL Desktop 工具。

它不是独立的数据库服务器、数据库 CLI,也不是 NeoSQL Desktop 的替代品。该包运行在 MCP 主机进程树内,通过标准 MCP stdio 暴露 NeoSQL 工具,并通过 macOS Unix Domain Socket 或 Windows Named Pipe 上的 HTTP JSON-RPC,将数据库/UI 工作委托给正在运行的 NeoSQL Desktop 应用。

[MCP host] -- stdio MCP --> [neosql-mcp]
  -- JSON-RPC over HTTP on UDS/Named Pipe --> [NeoSQL Desktop]

为什么选择 neosql-mcp?

  • AI 编程助手在能够读取真实 schema 并运行真实查询时,会写出更好的代码,而不是猜测列名和表结构。neosql-mcp 将你的团队已在 NeoSQL Desktop 中配置好的数据库暴露给任何 MCP 主机。

  • 一个正在运行的 NeoSQL Desktop,一条 npx 命令——Claude Code、Codex 以及任何其他 MCP 主机都可以使用已在 NeoSQL Desktop 中配置的连接和 schema。无需逐主机配置,凭据永远不会离开 NeoSQL Desktop。

Related MCP server: database-remote-mcp

安全性

所有流量都通过 Unix Domain Socket(macOS)或 Named Pipe(Windows)保留在本地机器上。不会打开任何 TCP 端口,且无法通过环境变量或配置文件覆盖上游端点。数据库访问范围遵循 NeoSQL Desktop 中的连接设置——凭据和每连接权限不会在此重复。

前提条件

  • Node.js 20 或更高版本。

  • 同一台机器上安装了 NeoSQL Desktop。

  • 一个能够启动 stdio 服务器的 MCP 主机,例如 Claude Code 或 Codex。

  • 一个启用了 MCP 的数据库连接和 schema 的 NeoSQL 项目。

快速开始

无需全局安装。配置你的 MCP 主机使用 npx 运行该包。

npx -y neosql-mcp

该进程是一个 stdio MCP 服务器,因此在终端中直接运行该命令时,可能会看起来像是在等待输入。这是正常现象。

MCP 主机配置

Claude Code .mcp.json

{
  "mcpServers": {
    "neosql": {
      "command": "npx",
      "args": ["-y", "neosql-mcp"]
    }
  }
}

Codex config.toml

[mcp_servers.neosql]
command = "npx"
args = [
  "-y",
  "neosql-mcp",
]

CLI 选项

选项

描述

--profile=<prod|dev|local|stage>

连接到匹配的 NeoSQL Desktop 配置。

在 MCP 主机配置中使用 --key=value 形式。有意不支持诸如 --profile dev 之类的空格分隔形式。默认配置为 prod

上下文解析

NeoSQL 工具始终使用当前在 NeoSQL Desktop 中选中并完全加载的项目。Node 进程不存储项目或默认数据库坐标。

数据库工具接受以下两种形式的坐标:

  1. 同时省略 connectionIddatabaseschema,以使用 NeoSQL MCP Access Control 中选定的活动项目 Default。

  2. 同时传入全部三个值,以使用 list-connections 返回的启用了 MCP 的显式坐标。对于没有数据库层次结构的 DBMS,使用 database: null

仅传入一个或两个坐标字段是无效的。显式坐标在无效时永远不会回退到项目 Default。

接受完整显式坐标元组的工具:

  • list-tables

  • get-table-details

  • erd-create-tables

  • erd-modify-tables

  • execute-query

可用工具

工具

用途

ping

返回 pong,用于轻量级 MCP 健康检查。

get-mcp-session-id

诊断工具,返回此进程使用的上游会话 id。

list-connections

列出当前项目中启用了 MCP 的 NeoSQL 连接和 schema。

list-tables

使用项目 Default 或显式坐标列出表。

get-table-details

返回列、键、索引及相关表元数据。

get-context-help

说明活动项目 Default 和显式坐标的用法。

erd-create-tables

向 ERD 添加虚拟表,而不更改数据库。

erd-modify-tables

修改虚拟 ERD 表模型,而不更改数据库。

execute-query

使用 Default 或显式坐标执行 SQL,包括 DDL。

传输

neosql-mcp 通过确定性的本地端点与 NeoSQL Desktop 通信:

  • macOS:path.join(os.tmpdir(), 'neosql-mcp.sock')

  • Windows:\\.\pipe\neosql-mcp

故障排除

NeoSQL Desktop was not found

请先安装 NeoSQL Desktop。在 macOS 上,neosql-mcp 目前会首先检查标准的 /Applications~/Applications 位置。如果在那里找不到应用,它会回退到 NeoSQL Desktop 在应用至少启动一次后记录在 ~/.neosql/mcp-config.json 中的应用路径。在 Windows 上,它会检查 HKCU 下按用户划分的 NSIS 卸载注册表项。

NeoSQL Desktop is not running

启动 NeoSQL Desktop,等待其完成加载,然后再次运行该工具。在可能的情况下,neosql-mcp 会在返回此状态之前请求操作系统级别的应用激活。

NeoSQL Desktop did not respond

应用可能仍在启动或被阻塞。稍等片刻后重试,或重启 NeoSQL Desktop。

上下文相关工具失败

在 NeoSQL Desktop 中选择一个项目,并在 MCP Access Control 中配置一个已启用的 Default。要使用其他坐标,请运行 list-connections,并将其 connectionIddatabaseNameschemaName 值一起作为 connectionIddatabaseschema 传入。

npx 无法找到或运行该包

检查 MCP 主机是否可以访问 npx,以及 Node.js 是否为 20 或更高版本。

开发

npm ci
npm run build
npm test

要进行本地 MCP 主机测试,请构建并链接二进制文件:

npm run build
npm link
ls -la $(which neosql-mcp)

本地测试完成后,取消链接,以便直接的 neosql-mcp 命令不再使用工作区构建:

npm unlink -g neosql-mcp

Available Tools

10 tools
createTablescreateTablesA

Create one or more new tables in the NeoSQL application. Pass multiple table definitions to create them in a single call. Each definition may include columns, primary keys, foreign keys, indexes, and table-level constraints (UNIQUE / CHECK / EXCLUSION). Tables that fail (e.g. duplicates) are skipped and reported; successfully created tables are added to the ERD. Uses the current context (project/connection).

ParametersJSON Schema
NameRequiredDescriptionDefault
tableDefinitionsYesList of table definitions to create (e.g. [{name, remarks, columns, primaryKeys, ...}])
connectionIdNoNeoSQL connection ID from listConnections. If omitted, uses current context connectionId.
schemaNoMCP-enabled database schema name from listConnections. If omitted, uses current context schema.

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided; description covers batch creation, failure skipping, and ERD updates, but does not disclose destructive nature, permissions, or rollback behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Efficient, front-loaded sentences with no unnecessary words; every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers batch creation, failure, and context, but misses return value description and deeper error handling, which is important given no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so description adds minimal per-parameter meaning; the batch and failure reporting context is helpful but not substantial beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Create one or more new tables' with specific verb and resource, distinguishing it from sibling tools like modifyTables or listTables.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains batch creation, failure handling, and context usage, but lacks explicit guidance on when to use versus alternatives like modifyTables or executeQuery.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

executeQueryexecuteQueryA

Execute a SQL query on the database through NeoSQL. Supports SELECT, INSERT, UPDATE, DELETE, and EXPLAIN statements. DDL statements (CREATE, ALTER, DROP, TRUNCATE) are NOT allowed — use createTables or modifyTables tools instead. SELECT and EXPLAIN return result rows (up to 200 rows). Uses the current context (project/connection/schema).

ParametersJSON Schema
NameRequiredDescriptionDefault
sqlYesThe SQL statement to execute. Must not be DDL (CREATE/ALTER/DROP/TRUNCATE).
connectionIdNoNeoSQL connection ID from listConnections. If omitted, uses current context connectionId.
schemaNoMCP-enabled database schema name from listConnections. If omitted, uses current context schema.

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description covers key behaviors: supported statements, DDL exclusion, row limit for SELECT/EXPLAIN, and context usage. Could be more explicit about side effects of write operations, but overall transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four well-structured sentences, each adding value. Purpose stated first. No redundant or unnecessary information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers return behavior (up to 200 rows for SELECT/EXPLAIN), parameter context, and sibling tools. Lacks explicit statement that INSERT/UPDATE/DELETE return no rows, but implied. Good overall.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with clear descriptions for each parameter. Description adds context about 'current context' for connectionId and schema, which is not in schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the verb 'execute', resource 'SQL query on database', and specific supported statement types (SELECT, INSERT, UPDATE, DELETE, EXPLAIN). It explicitly distinguishes from sibling tools by disallowing DDL and referencing createTables/modifyTables.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance on when to use (for DML and SELECT/EXPLAIN) and when not (DDL). Names alternatives (createTables, modifyTables) and explains context usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

generateCodegenerateCodeB

Generate source code from a database table using a template pack. Uses the current context (project/connection/schema) for database connection. Returns generated file contents based on the specified template.

ParametersJSON Schema
NameRequiredDescriptionDefault
tableNameYesTable name to generate code for
templatePackIdYesTemplate pack ID to use for code generation
schemaNoDatabase schema name. If omitted, uses current context schema.

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description must disclose all behavioral traits. Does not state whether tool is read-only, has side effects (e.g., writing files), error behavior (e.g., missing table), or required permissions. Only states it returns file contents.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three focused sentences: purpose, context requirement, output. No redundant words, information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers purpose, context, and return type, but lacks details on error conditions, valid template packs, prerequisite setup for context, and return format specifics. Adequate for a simple tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 100% parameter description coverage, so baseline is 3. Description adds context about schema omission using current context, but does not elaborate on tableName or templatePackId beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states verb 'generate source code' and resource 'from a database table using a template pack'. It distinguishes from siblings like createTables (table creation vs code generation) though not explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implied usage: use when generating code from a table. Mentions current context for connection, but no explicit when-not-to-use or alternatives among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

getContextHelpgetContextHelpA

Get information about how to find project and connection IDs. NeoSQL project and connection information is managed by the NeoSQL application (UI). Use listConnections to discover MCP-enabled connectionId/schema pairs. Set stable defaults with CLI options and pass connectionId/schema per tool call when needed.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full disclosure burden. It accurately describes the tool as providing information, which is clearly non-destructive. While it lacks explicit safety notes, the simplicity of the tool (no params, no mutations) makes this sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no wasted words. It front-loads the core purpose ('Get information...') and efficiently adds contextual guidance about related tools and configuration, making every sentence earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (no parameters, no output schema), the description is complete. It explains its purpose, suggests when to use siblings, and provides practical advice for managing IDs. No additional information is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are no parameters, so the baseline is 4. The description adds value beyond the empty schema by explaining what the tool returns and how it fits into the larger workflow, though it doesn't need to document non-existent parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Get information about how to find project and connection IDs,' which is a specific verb and resource. It distinguishes itself from siblings like listConnections (which discovers MCP-enabled pairs) by focusing on informational guidance rather than executing queries or modifications.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use context (finding project/connection IDs) and references an alternative tool (listConnections) for discovering MCP-enabled pairs. It also advises on setting defaults and passing IDs per tool call, covering both usage scenarios and best practices.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

getMcpSessionIdgetMcpSessionIdD

Get Mcp-Session-Id

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

D1.4/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided. Description fails to disclose behavioral traits such as side effects, authentication requirements, or idempotency. 'Get' implies read-only, but no confirmation or details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely short but wasteful; it merely restates the name. Conciseness should provide value, not redundancy. Could include a brief explanation in the same length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no parameters and no output schema, the description must fully explain its purpose and return value. 'Get Mcp-Session-Id' is insufficient—it does not define what the session ID represents or how it is used.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters in schema (100% coverage by default). Description adds no parameter-level insight, but given zero parameters, there is no information gap. Baseline 4 is not warranted because description does not proactively clarify anything.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description 'Get Mcp-Session-Id' is a tautology of the tool name. It does not specify the resource or action beyond what the name already implies, providing no additional clarity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus siblings (e.g., listConnections, ping). The description lacks context for appropriate invocation scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

getTableDetailsgetTableDetailsA

Get detailed information about one or more tables including columns, indexes, primary keys, and foreign keys. Pass multiple table names to retrieve details in a single call. Uses the current context (project/connection/schema) if schema parameter is not specified.

ParametersJSON Schema
NameRequiredDescriptionDefault
tableNamesYesList of table names to get details for (e.g. ["users", "orders", "products"])
connectionIdNoNeoSQL connection ID from listConnections. If omitted, uses current context connectionId.
schemaNoMCP-enabled database schema name from listConnections. If omitted, uses current context schema.

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description must disclose behavior. It mentions that schema/connection falls back to current context, which is helpful. It does not mention error handling, permissions, or performance implications, but for a read-only query tool, the level is acceptable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no redundancy. information is front-loaded and each sentence adds new, useful information. Perfectly concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only 3 parameters, one required, and no output schema, the description sufficiently explains the tool's purpose and usage scope. It covers the return types (columns, indexes, etc.) and context inheritance, leaving little ambiguity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% coverage, so baseline is 3. The description adds meaningful context beyond the schema: the ability to pass multiple table names and the fallback behavior for connectionId/schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it retrieves detailed information about tables (columns, indexes, primary keys, foreign keys) and supports multiple tables in one call. This distinguishes it from sibling tools like listTables (which likely lists only names).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description tells when to use the tool (to get detailed table info), implies context usage, and indirectly suggests that listTables is for simpler listings. However, it does not explicitly exclude cases like schema inspection vs. data retrieval.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

listConnectionslistConnectionsA

List database connections that have MCP access enabled in the current NeoSQL project. Only connections (and schemas) that the user opted-in via the connection MCP tab are returned. Use this to discover which connectionId / schema values you can pass to other tools. Each connection entry includes id, name, description, dataSource (DBMS family), dbVersion (database product version, useful for dialect-version features), the per-user profile (envPreset such as local/dev/staging/prod, label, protection), and the list of MCP-enabled schemas with their per-schema policies (ddlExecute / autoCommit).

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description fully discloses that only MCP-enabled connections are returned and details each entry's fields. It is transparent about the per-user profile and per-schema policies, but could mention if any restrictions or pagination exist.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with two sentences. It front-loads the main action and then elaborates on the content, making it easy to read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no parameters or output schema, the description provides all necessary context: purpose, filter, returned fields. It is fully complete for an agent to decide and invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has no parameters (100% schema coverage), so no parameter documentation is needed. The description adds no parameter info, which is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists database connections with MCP access enabled in the current NeoSQL project. It specifies the filter (only opted-in connections) and lists what each entry includes, distinguishing it from siblings like listTables.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly advises to use this tool to discover connectionId and schema values for other tools, providing clear guidance on when to use it. However, it does not mention alternative tools or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

listTableslistTablesA

List all tables and views in a database schema. Returns table names, types (TABLE/VIEW), and comments. Uses the current context (project/connection/schema) if parameters are not specified.

ParametersJSON Schema
NameRequiredDescriptionDefault
connectionIdNoNeoSQL connection ID from listConnections. If omitted, uses current context connectionId.
schemaNoMCP-enabled database schema name from listConnections (e.g., 'public', 'dbo'). If omitted, uses current context schema.
searchNoSearch keyword to filter tables by name or comment (case-insensitive). If omitted, returns all tables.

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must cover behavioral aspects. It implies a read-only operation but does not explicitly state non-destructiveness or any side effects. It mentions using current context, which adds transparency, but could be more explicit about safety or permissions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences that front-load the purpose and return value, with no redundant information. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple listing tool with fully documented parameters and no output schema, the description covers the essential information (what is returned, fallback behavior). It could mention error handling or pagination, but is largely complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already provides 100% description coverage for all three parameters. The description only repeats the fallback behavior already in the schema, adding no significant new meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: listing tables and views in a database schema, specifying the returned data (table names, types, comments). This distinguishes it from siblings like getTableDetails (detailed info on one table) or createTables.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains that parameters are optional and fall back to current context, providing clear usage guidance. However, it does not explicitly contrast with alternatives like getTableDetails or state when not to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

modifyTablesmodifyTablesA

Modify one or more existing tables in the NeoSQL application. Each alteration can include: table rename, comment operation, primary key operations, column operations (ADD/DROP/MODIFY/RENAME), index operations (ADD/DROP), foreign key operations (ADD/DROP), and table-level constraint operations (UNIQUE / CHECK / EXCLUSION; ADD/DROP). For table comments, use remarksOperation.modify=true when an empty string is an intended comment change. For primary keys, omit primaryKeyOperations or pass [] for no change; dropping every PK column requires an explicit DROP operation for each current PK column. Pass multiple alterations to modify several tables in a single call. Uses the current context (project/connection).

ParametersJSON Schema
NameRequiredDescriptionDefault
alterationsYesList of table alterations. Each specifies a target table and the changes to apply.
connectionIdNoNeoSQL connection ID from listConnections. If omitted, uses current context connectionId.
schemaNoMCP-enabled database schema name from listConnections. If omitted, uses current context schema.

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must disclose behavior. It explains operational details (e.g., dropping every PK column requires explicit DROP). However, it does not mention whether the operation is transactional, whether changes are immediately persisted, or any permission requirements. Some behavioral traits are left implicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is verbose and lists all operation types, making it thorough but not concise. It is front-loaded with the main action, but subsequent sentences are dense. It could be trimmed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (many operation types) and that the input schema covers all parameters, the description covers the main use cases and edge cases (e.g., empty comments, PK drops). Missing details like error handling or atomicity are minor gaps, but overall it is mostly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value beyond the schema by explaining the purpose of each operation group and providing usage nuance (e.g., when to set modify flag, how to handle PK drops). This elevates the score above baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool modifies existing tables and enumerates all supported operation types (rename, comments, PK, columns, indexes, foreign keys, constraints). It distinguishes from sibling tools like createTables (creates new tables) and getTableDetails (reads table info).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides specific usage patterns, such as using remarksOperation.modify=true to intentionally set an empty comment, and that omitting primaryKeyOperations or passing [] means no change. It also mentions that multiple alterations can be batched and notes context defaults, but lacks explicit when-not-to-use guidance vs. alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

pingPingA

Health-check tool. Returns "pong".

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations, but description fully discloses behavior: returns 'pong'. No side effects or additional traits needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with zero waste, properly front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple health-check tool with no output schema, the description is complete enough to understand function and return value.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters in schema, baseline is 4. Description adds nothing about parameters, but none exist.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it is a health-check tool that returns 'pong', which is specific and distinct from siblings that handle database operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance when to use or when not, but the purpose is obvious; implicit usage as a health check. Lacks alternatives or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

B3.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: schema creation, query execution, code generation, table details, listing, modification, connection discovery, context help, session ID, and health check. No overlapping responsibilities.

Naming Consistency5/5

All tool names follow a consistent verbNoun camelCase pattern (createTables, executeQuery, generateCode, getTableDetails, listTables, modifyTables, listConnections, getContextHelp, getMcpSessionId, ping). No mixing of conventions.

Tool Count5/5

10 tools is well-scoped for a database management server. It covers schema operations, query execution, discovery, and utility without being overwhelming.

Completeness3/5

Covers creation, modification, querying, and listing of tables, but lacks a drop table tool. Also missing is any tool for managing projects or connections beyond listing. This leaves notable gaps in lifecycle management.

Maintenance

ActivityActive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables remote database access (RDBMS and MongoDB) through MCP tools, supporting read/write queries, schema management, and more.
  • F
    license
    A
    quality
    C
    maintenance
    Local stdio MCP server for read-only Microsoft SQL Server access through Python and pyodbc, providing test connection, list tables, describe table, and query tools.
    4
  • A
    license
    A
    quality
    B
    maintenance
    Production-oriented MCP server for Microsoft SQL Server, enabling query execution, database discovery, schema introspection, and metadata inspection via MCP clients.
    6
    4
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/unvus/neosql-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server