Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Status ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🗄️ Databases
  3. Dbmcp
Dbmcp logo
Health: ActiveRecent health check succeeded.Last checked 10/4/2026, 10:01:21 PM

Dbmcp

User RatingsBe the first to rate and review this MCP server!
View Repository32 GitHub StarsTotal stargazers on GitHub for the source repository (32 stars).Visit Website
databasessqlschemamcp

Connects AI assistants to MySQL, MariaDB, PostgreSQL, and SQLite for schema discovery and SQL operations.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON ▾

Client Config & Setup

Remote HTTP
Configure Environment Variables (API Keys, Tokens, Options):
Add required secrets below — values are included directly in the generated snippet so you can copy and paste with confidence.
Quick Add:
Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "dbmcp": {
      "url": "http://127.0.0.1:9001/mcp",
      "env": {
        "DB_BACKEND": "YOUR_VALUE_HERE"
      }
    }
  }
}

💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (39) Directory Badge Claim listing Alternatives🗄️ More in Databases

Overview

The dbmcp MCP server connects AI assistants to MySQL, MariaDB, PostgreSQL, and SQLite through a single binary. It supports stdio for locally managed client processes and HTTP for remote or multi-client access. Use it to inspect database structure, run queries, and manage selected database objects, with read-only mode enabled by default.

Use cases

•Inspect database schemas from an AI coding client
•Run read-only SQL queries against an existing database
•Search tables and views with paginated results
•Review query plans with explainQuery
•Connect a remote MCP client over HTTP

Key features

•Supports MySQL, MariaDB, PostgreSQL, and SQLite
•Provides schema and object discovery tools
•Runs over stdio or HTTP
•Defaults to read-only database access
•Supports cursor pagination and metadata search
•Ships as a single binary

Capabilities & Tool Schemas (39) ~98 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server — may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Dbmcp.

tables

Callable MCP tool function

schema

Callable MCP tool function

kind

Callable MCP tool function

owner

Callable MCP tool function

comment

Callable MCP tool function

views

Callable MCP tool function

How Dbmcp works

What the dbmcp MCP server does

The dbmcp MCP server gives MCP-compatible AI clients access to SQL database structure and operations. It supports MySQL, MariaDB, PostgreSQL, and SQLite from one executable, without requiring Python, Node.js, or Docker at runtime.

Its schema tools can enumerate databases, tables, views, triggers, functions, procedures, and materialized views where the selected backend supports them. Table and view discovery can return brief names or more detailed metadata. Table details may include columns, constraints, indexes, and triggers; backend-specific view metadata can include definitions, ownership, security settings, and related options.

The server also provides data and database-management tools, including read queries, write queries, database creation, database removal, table removal, and query explanation. Read-only mode hides write-oriented tools and is enabled by default.

How it works

The dbmcp MCP server runs with either a stdio or http subcommand. In stdio mode, an MCP client starts and manages the process. In HTTP mode, the process runs separately and clients connect to its MCP endpoint, such as /mcp.

Configuration follows a predictable order: command-line flags override environment variables, which override built-in defaults. The database backend must be selected as mysql, mariadb, postgres, or sqlite. Host, port, user, password, database name, connection limits, query timeouts, pagination size, and logging can then be configured as needed.

Schema-listing responses support cursor-based pagination. Table and view searches can use case-insensitive patterns with % and _ wildcards on backends that support those options. SQLite uses a file path as the database name and does not provide every database-oriented operation; for example, database listing is unavailable there.

Setup and configuration

Installers are provided for macOS, Linux, WSL, Windows PowerShell, and Windows CMD. The project also documents Docker, Cargo, and other installation methods. A client can configure the executable in .mcp.json and pass settings through an env block, or the server can be started with command-line flags.

A minimal stdio setup selects the backend and database credentials, then runs dbmcp stdio. For HTTP, start dbmcp http, choose a bind host and port, and configure the client with an HTTP server entry. The HTTP configuration uses allowed-origin and allowed-host controls; its defaults restrict access to local addresses.

Important environment variables include DB_BACKEND, DB_HOST, DB_PORT, DB_USER, DB_PASSWORD, and DB_NAME. TLS settings are available for supported database connections through options for SSL, CA certificates, client certificates, client keys, and certificate verification. The default connection pool size is five, the default query timeout is 30 seconds, and the default maximum page size is 100 items.

Tools and capabilities

The dbmcp MCP server exposes capabilities in several groups:

  • Discovery of databases, tables, views, triggers, functions, procedures, and materialized views.
  • Detailed table metadata, including columns, constraints, indexes, and triggers.
  • Backend-specific view metadata such as definitions, owners, definers, security, and update settings.
  • Read queries, write queries, and query plans through explainQuery.
  • Database and table DDL operations, including creation and deletion where available.
  • Pagination using cursors and optional table or view searches.

Exact availability varies by database backend. SQLite has no separate database parameter for applicable tools, and its view listing returns only the brief form. PostgreSQL view details are documented for the public schema in the supplied material, while MySQL and MariaDB expose their own view metadata fields.

Limitations and notes

Running dbmcp without a subcommand prints usage information and exits unsuccessfully; use stdio, http, or version. The default read-only setting blocks write queries, so write access must be enabled deliberately when required.

Database credentials and connection settings are supplied by the client or command line; the material does not describe an authentication layer for the HTTP endpoint beyond origin and host restrictions. The server is licensed under MIT. Backend-specific tool availability and metadata shape should be checked before building workflows that depend on a particular object type or response field.

Read the full README →View source on GitHub →

Related MCP Servers

View all in Databases View all alternatives
  • Genai Toolbox logoGenai Toolbox

    Open source MCP server specializing in easy, fast, and secure tools for Databases.

    🗄️ Databases5 views
    Compare vs Genai Toolbox →
  • MCP Server Neon logoMCP Server Neon

    An MCP Server for creating and managing Postgres databases using Neon Serverless Postgres

    🗄️ Databases4 views
    Compare vs MCP Server Neon →
  • MCP Server Sqlite logoMCP Server Sqlite

    SQLite operations — query databases, inspect schemas, explain queries, and export data.

    🗄️ Databases3 views
    Compare vs MCP Server Sqlite →
  • MCP Server Mysql logoMCP Server Mysql

    MySQL database integration in NodeJS with configurable access controls and schema inspection

    🗄️ Databases3 views
    Compare vs MCP Server Mysql →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
32
Stargazers on the source repository.
Last commit
7d ago
Most recent push to the default branch.
Tools exposed
39
Callable tools this server registers over MCP.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Dbmcp

dbmcp is an MCP server that connects AI assistants to MySQL, MariaDB, PostgreSQL, and SQLite. Its main tools discover databases, tables, views, triggers, functions, procedures, and materialized views, while also supporting readQuery, writeQuery, explainQuery, and selected database or table DDL operations.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDbmcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dbmcp?style=directory)](https://allmcps.com/mcp/dbmcp)
HTML Embed
<a href="https://allmcps.com/mcp/dbmcp"><img src="https://allmcps.com/api/badge/dbmcp?style=directory" alt="Dbmcp on AllMCPs" /></a>

Technical Specs & Signals

Category🗄️Databases
More technical detailsExpand ▾
TransportSSE (Remote)
LicenseMIT
ClientsClaude Desktop, Cursor, Claude Code
Last updatedOct 6, 2026
14/14 checks healthy over the last 59d
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars32
GitHub Star CountTotal stargazers on GitHub representing community popularity (32 stars).
Last commit7d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Oct 1, 2026
49Quality signal: Fair · 49/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership6/20
Documentation & tools24/30
Adoption & activity7/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 1Medium 0Low 0

Scanned 8/17/2026 via OSV.dev · http://127.0.0.1:9001/mcp (npm)

★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🗄️ Databases →Best MCP servers for Databases →Best PostgreSQL MCP servers →Best SQLite MCP servers →Best MySQL MCP servers →Alternatives to Dbmcp →Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients