DB Bridge
Provides secure SQL query execution across MySQL, PostgreSQL, and SQLite databases with granular per...
Select Your Database Type
Decide whether you want to connect to MySQL, PostgreSQL, or SQLite.Obtain Your Database Credentials
- For MySQL or PostgreSQL:
- Host (
DB_HOST): The address where your database is running (e.g.,127.0.0.1or a cloud endpoint for RDS/Cloud SQL/Azure). - Port (
DB_PORT): The port number (MySQL:3306, PostgreSQL:5432). - User (
DB_USER): The database username (e.g.,root,postgres). - Password (
DB_PASS): The database password for your user account. - Database name (
DB_NAME): The database/schema you want to use. (Leave empty for multi-DB mode.)
- Host (
- For SQLite:
- SQLite DB Path (
SQLITE_DB): The file path to your SQLite database, or use:memory:for an in-memory database.
- SQLite DB Path (
- For MySQL or PostgreSQL:
(Optional) Configure SSL/TLS If Using Cloud Databases
- If connecting to AWS RDS, Google Cloud SQL, or Azure Database, you may need:
DB_SSL=trueDB_SSL_REJECT_UNAUTHORIZED=true(recommended for production)- Paths to certificates/keys if required:
DB_SSL_CADB_SSL_CERTDB_SSL_KEY
- These certificates can be downloaded from your cloud provider:
- If connecting to AWS RDS, Google Cloud SQL, or Azure Database, you may need:
(Optional) Set Operation Permissions
- For read-only setup, use:
DB_READ_ONLY_MODE=true - To allow/deny operations globally:
ALLOW_INSERT_OPERATION,ALLOW_UPDATE_OPERATION,ALLOW_DELETE_OPERATION,ALLOW_DDL_OPERATION(trueorfalse)
- For schema-specific control, set:
SCHEMA_INSERT_PERMISSIONS,SCHEMA_UPDATE_PERMISSIONS,SCHEMA_DELETE_PERMISSIONS,SCHEMA_DDL_PERMISSIONS- Format:
schema1:true,schema2:false
- For read-only setup, use:
(Optional) Set Multi-DB Mode
- For MySQL/PostgreSQL, leave
DB_NAMEblank to access multiple databases. - Multi-DB mode is readonly by default. To enable writes:
MULTI_DB_WRITE_MODE=true
- For MySQL/PostgreSQL, leave
(Optional) Configure as Remote MCP
- Enable HTTP server:
IS_REMOTE_MCP=true - Set an authentication key:
REMOTE_SECRET_KEY=your-secret-key-here - Choose port:
PORT=3000(or desired port)
- Enable HTTP server:
Fill in the FastMCP Connection Interface
- Use the "Install Now" button.
- Enter the environment variable values as described above (name and value for each required key).
Summary Table (for MySQL/PostgreSQL):
| Variable | Example Value | Required? |
|---|---|---|
| DB_TYPE | mysql / postgresql / sqlite | Yes |
| DB_HOST | 127.0.0.1 / db.example.com | Yes (not SQLite) |
| DB_PORT | 3306 / 5432 | Yes (not SQLite) |
| DB_USER | root / postgres | Yes (not SQLite) |
| DB_PASS | your_db_password | Yes (not SQLite) |
| DB_NAME | your_db_name | (Leave empty for multi-DB) |
| SQLITE_DB | :memory: or /path/to/file.db | (Only for SQLite) |
| DB_SSL | true / false | Optional/cloud |
| DB_SSL_CA, CERT, KEY | /path/to/*.pem | Only for SSL/TLS |
Fill these values in the FastMCP connection setup interface to connect your DB via mcp-db-bridge.
Quick Start
Choose Connection Type for
Authentication Required
Please sign in to use FastMCP hosted connections
Configure Environment Variables for
Please provide values for the following environment variables:
started!
The MCP server should open in . If it doesn't open automatically, please check that you have the application installed.
Copy and run this command in your terminal:
Make sure Gemini CLI is installed:
Visit Gemini CLI documentation for installation instructions.
Make sure Claude Code is installed:
Visit Claude Code documentation for installation instructions.
Installation Steps:
Configuration
Installation Failed
More for Database
View All →Supabase MCP Server
Connect Supabase projects directly with AI assistants using the Model Context Protocol (MCP). This server standardizes communication between Large Language Models and Supabase, enabling AI to manage tables, query data, and interact with project features like edge functions, storage, and branching. Customize access with read-only or project-scoped modes and select specific tool groups to fit your needs. Integrated tools cover account management, documentation search, database operations, debugging, and more, empowering AI to assist with development, monitoring, and deployment tasks in your Supabase environment efficiently and securely.
ClickHouse
Unlock powerful analytics with the ClickHouse MCP Server—seamlessly run, explore, and manage SQL queries across ClickHouse clusters or with chDB’s embedded OLAP engine. This server offers easy database and table listing, safe query execution, and flexible access to data from files, URLs, or databases. Built-in health checks ensure reliability, while support for both ClickHouse and chDB enables robust data workflows for any project.
Postgres MCP Pro
Boost your Postgres database performance with Postgres MCP Pro, an AI-driven MCP server offering advanced index tuning, detailed explain plans, and comprehensive health checks. It combines proven optimization algorithms with schema intelligence for safe, context-aware SQL execution. Whether analyzing slow queries or recommending optimal indexes, Postgres MCP Pro empowers developers to improve efficiency and maintain database integrity. Designed for both development and production, it supports flexible transport options and robust access controls, making database management smarter, safer, and easier. Experience deterministic performance insights alongside AI assistance to keep your Postgres running at its best.
More for Cloud Platforms
View All →Salesforce
Unlock powerful Salesforce org management with the Salesforce DX MCP Server, designed for seamless interaction between large language models and Salesforce environments. This developer preview offers secure, direct access to Salesforce resources without exposing secrets, using TypeScript libraries and granular org allowlisting. Its modular toolsets cover org administration, data queries, user permissions, metadata deployment, and testing. Easily extendable and compatible with various clients like VS Code, Cursor, and more, it empowers developers to perform complex tasks with natural language commands while maintaining robust security. The MCP Server streamlines Salesforce DX workflows through an efficient, secure, and flexible protocol.
Netlify
Control your Netlify projects effortlessly using natural language through AI agents with Netlify MCP Server. This server follows the Model Context Protocol to enable code agents to create, deploy, and manage sites, configure access controls, handle environment variables, and more—all via simple prompts. It acts as a bridge between AI clients and Netlify’s API and CLI, empowering seamless automation and resource management. Whether retrieving team data or managing forms and extensions, Netlify MCP Server streamlines your workflow by integrating powerful AI-driven project control in an accessible, standardized way.
Azure All
Supercharge AI agents with seamless access to Azure services using Azure MCP Server. This project enables powerful automation and management of Azure resources with tools for databases, storage, monitoring, security, and best practices. Easily interact with services like Cosmos DB, SQL, Key Vault, Service Bus, and more—all within compatible AI platforms. Azure MCP Server is in Public Preview and rapidly evolving, making it a versatile solution for both developers and enterprise environments looking to integrate Azure functionality.