
Product
Socket Now Protects the Firefox Extension Ecosystem
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.
@database-mcp/mariadb
Advanced tools
MCP server for MariaDB with read-only guardrails, row caps, and statement timeouts
MCP server giving AI clients safe, structured access to a MariaDB database.
Two tools, guardrails on by default. MariaDB is MySQL wire-compatible, so
this is a thin package over the @database-mcp/mysql
adapter — identical behavior, MariaDB-flavored configuration.
{
"mcpServers": {
"mariadb": {
"command": "npx",
"args": ["-y", "@database-mcp/mariadb"],
"env": {
"MARIADB_HOST": "127.0.0.1",
"MARIADB_USER": "readonly_user",
"MARIADB_PASSWORD": "...",
"MARIADB_DATABASE": "mydb"
}
}
}
}
Alternatives: MARIADB_PASSWORD_FILE=/run/secrets/..., a YAML file via
--config (${VAR} expansion supported), or --dsn. --print-config
shows the resolved config with the password redacted.
execute_sql { sql } — run a single SQL statement.search_objects { table? } — list tables, or describe one (columns,
indexes, foreign keys).| Guardrail | Default | Override |
|---|---|---|
| Read-only | on | --allow-write / ALLOW_WRITE |
| Row cap | 1000 | --max-rows / MAX_ROWS |
| Query timeout | 30000 ms | --query-timeout-ms / QUERY_TIMEOUT_MS |
Read-only is enforced in two layers: a conservative SQL guard, plus
SET SESSION TRANSACTION READ ONLY on every pooled connection.
One package per engine, identical tool contract, shared conformance suite: github.com/arifulislamat/database-mcp
MIT
FAQs
MCP server for MariaDB with read-only guardrails, row caps, and statement timeouts
The npm package @database-mcp/mariadb receives a total of 95 weekly downloads. As such, @database-mcp/mariadb popularity was classified as not popular.
We found that @database-mcp/mariadb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.