Skip to main content
MCP Server

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention

Share
0 stars TypeScript Unknown Updated: 2026-05-29

Send to Your Agent

Copy this prompt and paste it into Claude, Cursor, or any MCP client to install instantly.

Install the dbmcp MCP server for me.

Server: dbmcp
Description: Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention
Install command: 

Environment variables needed:
- HTTP_HOST: HTTP bind host
- HTTP_PORT: HTTP bind port
- HTTP_ALLOWED_ORIGINS: Allowed CORS origins (comma-separated)
- HTTP_ALLOWED_HOSTS: Allowed host names (comma-separated)

GitHub: https://github.com/haymon-ai/dbmcp

Please install this MCP server and confirm when ready.

Paste into any AI agent with MCP support — works with Claude Desktop, Cursor, Cline, and more.

Quick Install

Config file: ~/Library/Application Support/Claude/claude_desktop_config.json

  1. Open Claude Desktop app
  2. Go to Settings → Developer → Edit Config
  3. Paste the config below into the file
  4. Restart Claude Desktop

Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json

Installation Methods

Tools (1)

execute

Execute server operations

Environment Variables

HTTP_HOST Optional

HTTP bind host

Example: 127.0.0.1
HTTP_PORT Optional

HTTP bind port

Example: 9001
HTTP_ALLOWED_ORIGINS Optional

Allowed CORS origins (comma-separated)

Example: value
HTTP_ALLOWED_HOSTS Optional

Allowed host names (comma-separated)

Example: value

Compatibility

Claude Desktop
Cursor
Cline
VS Code
Devin (formerly Windsurf)

About

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention

Overview

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention

Repository

Find the source code at https://github.com/haymon-ai/dbmcp.

Tools

  • execute: Execute server operations

Environment Variables

  • HTTP_HOST: HTTP bind host
  • HTTP_PORT: HTTP bind port
  • HTTP_ALLOWED_ORIGINS: Allowed CORS origins (comma-separated)
  • HTTP_ALLOWED_HOSTS: Allowed host names (comma-separated)

Related Resources

Compare LLM Pricing

This server works with Claude, GPT-4o, and other models. Compare API costs side-by-side to find the cheapest option for your workflow.