Database MCP Server for Claude Code supporting MySQL, Oracle, PostgreSQL, SQL Server, Dameng, and OceanBase. Version 1.0.6 provides multi-connection management via environment variables, read-only safety enforcement, schema exploration, DDL retrieval, execution plan analysis, structure comparison, and SQL translation. Released as an npm CLI tool, regularly updated. Differentiated by multi-database support in a single MCP server, security-first design (writes require explicit execute tool), and Chinese-language documentation.
npm install db-tanxii-mcpNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Global installation and minimal configuration to connect to a MySQL database via the MCP server.
Use DB_URL__<name> (e.g., DB_URL__MYSQL) not DB_URL_<name>.
Use the execute tool instead of write_query or similar.
Set ORACLE_CLI_HOME environment variable to the Oracle Instant Client directory.
Keep the package name as-is in package.json and npm commands.
Run 'npm install -g db-tanxii-mcp' to install globally.
Use DB_URL__<name> format. Example: DB_URL__MYSQL=mysql://user:pass@host:port/db
No dependency data recorded yet.