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?

コメント

「データベース」の他のコンテンツ