# dbmcp > The privacy first MCP server for SQL databases. All pages in one file: https://dbmcp.haymon.ai/llms-full.txt ## Introduction - [Introduction](https://dbmcp.haymon.ai/llms.mdx/content.md): Overview, quick install, and supported databases ## Get started - [Installation](https://dbmcp.haymon.ai/llms.mdx/installation/content.md): Install dbmcp with the install script, then pick another method if you need one - [Binaries](https://dbmcp.haymon.ai/llms.mdx/installation/binaries/content.md): Download a prebuilt dbmcp binary for Linux, macOS, or Windows - [Docker](https://dbmcp.haymon.ai/llms.mdx/installation/docker/content.md): Run dbmcp from the multi-arch Docker image - [Package Managers](https://dbmcp.haymon.ai/llms.mdx/installation/package-managers/content.md): Install dbmcp with npm or Cargo - [Kubernetes](https://dbmcp.haymon.ai/llms.mdx/kubernetes/content.md): Deploy dbmcp on Kubernetes with the Helm chart - [Build from source](https://dbmcp.haymon.ai/llms.mdx/installation/from-source/content.md): Build dbmcp from source with the Rust toolchain - [Supported versions](https://dbmcp.haymon.ai/llms.mdx/supported-versions/content.md): Which database versions dbmcp tests, and what happens on the others ## Configuration - [Configuration](https://dbmcp.haymon.ai/llms.mdx/configuration/content.md): Every dbmcp setting with its YAML key, environment variable, type, and default - [Precedence](https://dbmcp.haymon.ai/llms.mdx/configuration/precedence/content.md): How dbmcp picks each setting from the environment, env files, config files, and defaults - [Config files](https://dbmcp.haymon.ai/llms.mdx/configuration/config-files/content.md): Load settings from YAML config files and env files with --config-file and --env-file - [YAML format](https://dbmcp.haymon.ai/llms.mdx/configuration/yaml-format/content.md): Structure of the dbmcp YAML config file, with an annotated example - [Env files](https://dbmcp.haymon.ai/llms.mdx/configuration/env-files/content.md): Write dotenv-style env files for dbmcp - [Telemetry](https://dbmcp.haymon.ai/llms.mdx/configuration/telemetry/content.md) - [Interpolation and secrets](https://dbmcp.haymon.ai/llms.mdx/configuration/interpolation/content.md): Reference environment variables with ${} and keep secrets out of config files - [Startup errors](https://dbmcp.haymon.ai/llms.mdx/configuration/errors/content.md): How dbmcp reports invalid config files and settings at startup ## Data Privacy - [Data Privacy](https://dbmcp.haymon.ai/llms.mdx/privacy/content.md): Keep sensitive data, personal and business, out of what the AI assistant sees - [Redaction](https://dbmcp.haymon.ai/llms.mdx/privacy/redaction/content.md): Choose the operator, hash key, and categories that `full` mode uses - [Rules](https://dbmcp.haymon.ai/llms.mdx/privacy/rules/content.md): Rewrite every value of named table columns, whatever the query does with them - [Machine Learning](https://dbmcp.haymon.ai/llms.mdx/privacy/machine-learning/content.md): Detect names of people, places, and organizations with an optional machine-learning (NER) model - [Data types](https://dbmcp.haymon.ai/llms.mdx/privacy/data-types/content.md): Every kind of personal or sensitive data the built-in recognizers detect, and the rule-only labels `privacy.rules` can assign ## Templates - [Templates](https://dbmcp.haymon.ai/llms.mdx/templates/content.md): Ready-made privacy rules for popular applications, to paste into your config - [Chatwoot](https://dbmcp.haymon.ai/llms.mdx/templates/chatwoot/content.md): Privacy rules for Chatwoot 4.x on PostgreSQL - [Devise (Rails)](https://dbmcp.haymon.ai/llms.mdx/templates/devise/content.md): Privacy rules for Devise 4.9 and 5.0 on MySQL, MariaDB, PostgreSQL, and SQLite - [Discourse](https://dbmcp.haymon.ai/llms.mdx/templates/discourse/content.md): Privacy rules for Discourse 2026.1 to 2026.11 on PostgreSQL - [Django](https://dbmcp.haymon.ai/llms.mdx/templates/django/content.md): Privacy rules for Django 4.2, 5.2, and 6.0 on MySQL, MariaDB, PostgreSQL, and SQLite - [Drupal](https://dbmcp.haymon.ai/llms.mdx/templates/drupal/content.md): Privacy rules for Drupal 8.9 to 11 and Drupal Commerce 2 and 3 on MySQL, MariaDB, PostgreSQL, and SQLite - [Ghost](https://dbmcp.haymon.ai/llms.mdx/templates/ghost/content.md): Privacy rules for Ghost 6.x on MySQL 8 and SQLite - [Gitea / Forgejo](https://dbmcp.haymon.ai/llms.mdx/templates/gitea/content.md): Privacy rules for Gitea 1.27 to 28.4 and Forgejo 15 LTS to 17 on MySQL, MariaDB, PostgreSQL, and SQLite - [JTL-Shop](https://dbmcp.haymon.ai/llms.mdx/templates/jtl-shop/content.md): Privacy rules for JTL-Shop 5.6 to 5.8 on MySQL and MariaDB - [Keycloak](https://dbmcp.haymon.ai/llms.mdx/templates/keycloak/content.md): Privacy rules for Keycloak 26.0 to 26.8 on MySQL, MariaDB, and PostgreSQL - [Magento](https://dbmcp.haymon.ai/llms.mdx/templates/magento/content.md): Privacy rules for Magento Open Source and Adobe Commerce 2.4.7 to 2.4.9 on MySQL and MariaDB - [Mastodon](https://dbmcp.haymon.ai/llms.mdx/templates/mastodon/content.md): Privacy rules for Mastodon 4.4 to 4.7 on PostgreSQL - [Matomo](https://dbmcp.haymon.ai/llms.mdx/templates/matomo/content.md): Privacy rules for Matomo 5 on MySQL and MariaDB - [Mattermost](https://dbmcp.haymon.ai/llms.mdx/templates/mattermost/content.md): Privacy rules for Mattermost 10.11 to 12.1 on PostgreSQL, and 10.11 on MySQL - [Mautic](https://dbmcp.haymon.ai/llms.mdx/templates/mautic/content.md): Privacy rules for Mautic 5.2 and 6.0 on MySQL and MariaDB - [Moodle](https://dbmcp.haymon.ai/llms.mdx/templates/moodle/content.md): Privacy rules for Moodle 4.5 LTS and 5.0 to 5.3 on MySQL, MariaDB, and PostgreSQL - [Odoo](https://dbmcp.haymon.ai/llms.mdx/templates/odoo/content.md): Privacy rules for Odoo Community 17.0 to 20.0 on PostgreSQL - [OpenCart](https://dbmcp.haymon.ai/llms.mdx/templates/opencart/content.md): Privacy rules for OpenCart 3.0 and 4.0 to 4.1 on MySQL and MariaDB - [OroCommerce](https://dbmcp.haymon.ai/llms.mdx/templates/orocommerce/content.md): Privacy rules for OroCommerce 6.0 and 6.1 on PostgreSQL - [OXID eShop](https://dbmcp.haymon.ai/llms.mdx/templates/oxid/content.md): Privacy rules for OXID eShop 7.0 to 7.6 on MySQL and MariaDB - [PrestaShop](https://dbmcp.haymon.ai/llms.mdx/templates/prestashop/content.md): Privacy rules for PrestaShop 1.7.8, 8.2, and 9.0 on MySQL and MariaDB - [Saleor](https://dbmcp.haymon.ai/llms.mdx/templates/saleor/content.md): Privacy rules for Saleor 3.20 to 3.23 on PostgreSQL - [Shopware 6](https://dbmcp.haymon.ai/llms.mdx/templates/shopware/content.md): Privacy rules for Shopware 6.4 to 6.7 on MySQL and MariaDB - [Spryker](https://dbmcp.haymon.ai/llms.mdx/templates/spryker/content.md): Privacy rules for Spryker B2B Marketplace 202610 on MySQL, MariaDB, and PostgreSQL - [Supabase Auth](https://dbmcp.haymon.ai/llms.mdx/templates/supabase-auth/content.md): Privacy rules for Supabase Auth (GoTrue) up to v2.198.0 on PostgreSQL - [Sylius](https://dbmcp.haymon.ai/llms.mdx/templates/sylius/content.md): Privacy rules for Sylius 2.0 to 2.3 on MySQL, MariaDB, and PostgreSQL - [TYPO3](https://dbmcp.haymon.ai/llms.mdx/templates/typo3/content.md): Privacy rules for TYPO3 12.4, 13.4, and 14.3 on MySQL, MariaDB, PostgreSQL, and SQLite - [WooCommerce](https://dbmcp.haymon.ai/llms.mdx/templates/woocommerce/content.md): Privacy rules for WooCommerce 8.2 to 11.3 with HPOS on WordPress, on MySQL and MariaDB ## Clients - [Clients](https://dbmcp.haymon.ai/llms.mdx/clients/content.md): Add dbmcp to Claude, Codex, VS Code, Cursor, and other MCP clients - [Claude Desktop](https://dbmcp.haymon.ai/llms.mdx/clients/claude-desktop/content.md): Add dbmcp to Claude Desktop in claude_desktop_config.json - [Claude Code](https://dbmcp.haymon.ai/llms.mdx/clients/claude-code/content.md): Install the dbmcp plugin for Claude Code, or add the server by hand with claude mcp add or .mcp.json - [Codex](https://dbmcp.haymon.ai/llms.mdx/clients/codex/content.md): Install the dbmcp plugin for Codex, or add the server by hand in config.toml - [VS Code](https://dbmcp.haymon.ai/llms.mdx/clients/vs-code/content.md): Add dbmcp to VS Code with the one-click install buttons or in .vscode/mcp.json - [Cursor](https://dbmcp.haymon.ai/llms.mdx/clients/cursor/content.md): Add dbmcp to Cursor with the one-click install button or in mcp.json - [Windsurf (Devin Desktop)](https://dbmcp.haymon.ai/llms.mdx/clients/windsurf/content.md): Add dbmcp to Windsurf (Devin Desktop) in mcp_config.json - [Zed](https://dbmcp.haymon.ai/llms.mdx/clients/zed/content.md): Add dbmcp to Zed as a context server in settings.json - [Gemini CLI](https://dbmcp.haymon.ai/llms.mdx/clients/gemini-cli/content.md): Add dbmcp to Gemini CLI in settings.json - [Goose](https://dbmcp.haymon.ai/llms.mdx/clients/goose/content.md): Add dbmcp to Goose as a command-line extension with goose configure or config.yaml - [JetBrains AI Assistant](https://dbmcp.haymon.ai/llms.mdx/clients/jetbrains/content.md): Add dbmcp to JetBrains AI Assistant in its Model Context Protocol settings - [LM Studio](https://dbmcp.haymon.ai/llms.mdx/clients/lm-studio/content.md): Add dbmcp to LM Studio with the one-click install button or in mcp.json ## Features - [Features](https://dbmcp.haymon.ai/llms.mdx/features/content.md): Database support, transports, timeouts, pagination, and SSH tunnel - [Transports](https://dbmcp.haymon.ai/llms.mdx/features/transports/content.md): Run dbmcp over stdio or Streamable HTTP, and secure the HTTP endpoint - [Health probes](https://dbmcp.haymon.ai/llms.mdx/features/health-probes/content.md): Liveness and readiness endpoints of the HTTP transport - [Database connection](https://dbmcp.haymon.ai/llms.mdx/features/database/content.md): Connect dbmcp to MySQL, MariaDB, PostgreSQL, or SQLite - [Query timeouts](https://dbmcp.haymon.ai/llms.mdx/features/query-timeouts/content.md): Limit how long each tool call may run, per server and per call - [Pagination and output caps](https://dbmcp.haymon.ai/llms.mdx/features/pagination/content.md): Page through large results and cap the size of query tool output - [SSH tunnel](https://dbmcp.haymon.ai/llms.mdx/features/ssh-tunnel/content.md): Reach MySQL, MariaDB, or PostgreSQL through an SSH bastion ## Tools - [Tools](https://dbmcp.haymon.ai/llms.mdx/tools/content.md): The MCP tools dbmcp exposes and where each is available - [objects](https://dbmcp.haymon.ai/llms.mdx/tools/objects/content.md): List tables, views, triggers, functions, procedures, materialized views, or databases, with name search and optional full metadata - [read](https://dbmcp.haymon.ai/llms.mdx/tools/read/content.md): Run a read-only SELECT, SHOW, DESCRIBE, or EXPLAIN query, with pagination and an optional timeout - [write](https://dbmcp.haymon.ai/llms.mdx/tools/write/content.md): Run INSERT, UPDATE, DELETE, or schema changes when read-only mode is off, and get affected-row counts - [explain](https://dbmcp.haymon.ai/llms.mdx/tools/explain/content.md): Show the execution plan of a SQL query, with optional EXPLAIN ANALYZE on PostgreSQL and MySQL, or ANALYZE on MariaDB ## Security - [Security](https://dbmcp.haymon.ai/llms.mdx/security/content.md): How dbmcp protects your data - [Read-only mode](https://dbmcp.haymon.ai/llms.mdx/security/read-only/content.md): How read-only mode limits the tools and SQL an assistant can use ## Optional - [License](https://dbmcp.haymon.ai/llms.mdx/license/content.md): dbmcp is released under the MIT License