Database MCP Mariadb runs on your own machine — the client starts it, so there is no endpoint to ping. 99 installs a week from pypi. Last commit 17 Oct 2026.
MCP server for MariaDB. Read-only by default, row caps, timeouts, secrets never logged.
We read the source, 1 d ago · rules 995398eba69f
Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.
const child = spawn(command, args, { env: process.env });
const child = spawn(command, args, { env: process.env });
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
Today is the operative word: we check Database MCP Mariadb every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add database-mcp-mariadb -e 'MARIADB_HOST=<MARIADB_HOST>' -e 'MARIADB_USER=<MARIADB_USER>' -e 'MARIADB_DATABASE=<MARIADB_DATABASE>' -- npx -y @database-mcp/mariadb
{
"mcpServers": {
"database-mcp-mariadb": {
"command": "npx",
"args": [
"-y",
"@database-mcp/mariadb"
],
"env": {
"MARIADB_DATABASE": "<MARIADB_DATABASE>",
"MARIADB_HOST": "<MARIADB_HOST>",
"MARIADB_USER": "<MARIADB_USER>"
}
}
}
}
[mcp_servers.database-mcp-mariadb]
command = "npx"
args = ["-y", "@database-mcp/mariadb"]
env = { MARIADB_HOST = "<MARIADB_HOST>", MARIADB_USER = "<MARIADB_USER>", MARIADB_DATABASE = "<MARIADB_DATABASE>" }
{
"mcpServers": {
"database-mcp-mariadb": {
"command": "npx",
"args": [
"-y",
"@database-mcp/mariadb"
],
"env": {
"MARIADB_DATABASE": "<MARIADB_DATABASE>",
"MARIADB_HOST": "<MARIADB_HOST>",
"MARIADB_USER": "<MARIADB_USER>"
}
}
}
}
{
"servers": {
"database-mcp-mariadb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@database-mcp/mariadb"
],
"env": {
"MARIADB_DATABASE": "<MARIADB_DATABASE>",
"MARIADB_HOST": "<MARIADB_HOST>",
"MARIADB_USER": "<MARIADB_USER>"
}
}
}
}
Put your own values in place of
<MARIADB_HOST> (Database host), <MARIADB_USER> (Database user (a read-only user is recommended)), <MARIADB_DATABASE> (Database name).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
MARIADB_PASSWORD (Database password (or use MARIADB_PASSWORD_FILE)).
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.
MCP server for libSQL/Turso, local or remote. Read-only by default, row caps, timeouts.
MCP server for SQLite databases. Read-only by default, row caps, statement timeouts.
Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default.
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
Read-only MCP server for exposing database schema metadata without row data.
Read-only MCP server that finds deleted SQL Server rows from the transaction log (fn_dblog).
Answers built from our own checks of this server.