### Install mcp-databend (Bash) Source: https://github.com/databendlabs/mcp-databend/blob/main/README.md Command to install the mcp-databend package using the 'uv' package manager. ```bash uv tool install mcp-databend ``` -------------------------------- ### Development Setup and Run (Bash) Source: https://github.com/databendlabs/mcp-databend/blob/main/README.md Commands to clone the mcp-databend repository, set up dependencies using 'uv sync', and run the server locally. ```bash git clone https://github.com/databendlabs/mcp-databend cd mcp-databend uv sync uv run python -m mcp_databend.main ``` -------------------------------- ### Configure MCP Client with Databend (Bash) Source: https://github.com/databendlabs/mcp-databend/blob/main/README.md CLI command to add the mcp-databend server to the MCP client configuration, setting the Databend DSN and running the server. ```bash claude mcp add mcp-databend --env DATABEND_DSN='your-connection-string-here' -- uv tool run mcp-databend ``` -------------------------------- ### Configure MCP Client with Databend (JSON) Source: https://github.com/databendlabs/mcp-databend/blob/main/README.md JSON configuration for MCP clients (like Claude Desktop, Windsurf) to connect to the mcp-databend server, specifying the command, arguments, and environment variables. ```json { "mcpServers": { "mcp-databend": { "command": "uv", "args": ["tool", "run", "mcp-databend"], "env": { "DATABEND_DSN": "your-connection-string-here", "SAFE_MODE": "true" } } } } ``` -------------------------------- ### Configure MCP Safe Mode (JSON) Source: https://github.com/databendlabs/mcp-databend/blob/main/README.md Configuration to enable or disable the MCP Safe Mode for Databend interactions. Safe mode blocks sensitive SQL operations like DROP, DELETE, and ALTER by default. ```json { "env": { "DATABEND_DSN": "your-connection-string-here", "SAFE_MODE": "true" } } ``` ```json { "env": { "DATABEND_DSN": "your-connection-string-here", "SAFE_MODE": "false" } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.