MCP.so
登录
@

@yuuzu/sql MCP Server

@nakiriyuuzu

基本信息

分类

数据库

传输方式

stdio

作者

nakiriyuuzu

提交者

Yuuzu

关于 @yuuzu/sql MCP Server

## Query Modes

@yuuzu/sql MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "sql-mcp": {
      "command": "bunx",
      "args": [
        "@yuuzu/sql-mcp"
      ],
      "env": {
        "SQL_MCP_MODE": "safe"
      }
    }
  }
}

@yuuzu/sql MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is @yuuzu/sql MCP?

—

How to use @yuuzu/sql MCP?

Set the SQL_MCP_MODE environment variable to control query permissions. Available modes are safe (default), write, and full.

Key features of @yuuzu/sql MCP

  • safe mode: allows SELECT, WITH, EXPLAIN (read-only).
  • write mode: adds INSERT, UPDATE, DELETE.
  • full mode: adds CREATE, DROP, ALTER, TRUNCATE.
  • Default mode is safe if no variable is set.

Use cases of @yuuzu/sql MCP

  • Running read‑only queries with the safe mode.
  • Modifying data with INSERT, UPDATE, DELETE in write mode.
  • Performing full schema changes (CREATE, DROP, ALTER, TRUNCATE) in full mode.

常见问题

1

What query modes are available?

Three modes: `safe`, `write`, and `full`.

2

What operations are allowed in `safe` mode?

Only SELECT, WITH, and EXPLAIN statements.

3

How do I enable the `write` or `full` mode?

Set the environment variable `SQL_MCP_MODE` to `write` or `full` before starting the server.

4

What is the default mode if I don't set the variable?

The default mode is `safe`.

评论

数据库 分类下的更多 MCP 服务器