MCP.so
登录
@

@yuuzu/sql Mcp

@nakiriyuuzu

关于 @yuuzu/sql Mcp

## Query Modes

基本信息

分类

数据库

传输方式

stdio

发布者

nakiriyuuzu

提交者

Yuuzu

配置

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

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

FAQ from @yuuzu/sql MCP

What query modes are available?

Three modes: safe, write, and full.

What operations are allowed in safe mode?

Only SELECT, WITH, and EXPLAIN statements.

How do I enable the write or full mode?

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

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

The default mode is safe.

Is there a transport or authentication method described?

评论

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