
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

An MCP server that exposes MariaDB and MySQL databases to MCP clients, offering tools to list databases and tables, describe schemas, and execute SQL queries with read-only defaults.
MariaDB / MySQL MCP Server is cataloged as an MCP server attributed to rjsalgado. An MCP server that exposes MariaDB and MySQL databases to MCP clients, offering tools to list databases and tables, describe schemas, and execute SQL queries with read-only defaults. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MariaDB / MySQL MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. It only allows read-only operations unless write flags are explicitly enabled, and INSERT, UPDATE, and DELETE each require their own environment flag.
Query timeout and maximum returned rows are configurable through the MARIADB_TIMEOUT_MS and MARIADB_ROW_LIMIT environment variables.
README.md · 9f9cac361bcb · Fetched 2026-11-13 10:04:44 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
This MCP server exposes MariaDB and MySQL databases to MCP clients such as Claude Desktop, VS Code, and other compatible tools.
It provides tools to:
npm install -g mariadb-mcp-server
npm install mariadb-mcp-server
git clone https://github.com/rjsalgado/mariadb-mcp-server.git
cd mariadb-mcp-server
npm install
npm run build
Set the following environment variables before starting the server:
MARIADB_HOST: Database hostMARIADB_PORT: Database port (default: 3306)MARIADB_USER: Database usernameMARIADB_PASSWORD: Database passwordMARIADB_DATABASE: Default database name (optional)MARIADB_ALLOW_INSERT: Enable INSERT statements (true/false)MARIADB_ALLOW_UPDATE: Enable UPDATE statements (true/false)MARIADB_ALLOW_DELETE: Enable DELETE statements (true/false)MARIADB_TIMEOUT_MS: Query timeout in milliseconds (default: 10000)MARIADB_ROW_LIMIT: Maximum number of rows returned (default: 1000)Example:
export MARIADB_HOST=localhost
export MARIADB_PORT=3306
export MARIADB_USER=myuser
export MARIADB_PASSWORD=mypassword
export MARIADB_DATABASE=mydb
export MARIADB_ALLOW_INSERT=false
export MARIADB_ALLOW_UPDATE=false
export MARIADB_ALLOW_DELETE=false
export MARIADB_TIMEOUT_MS=10000
export MARIADB_ROW_LIMIT=1000
{
"mcpServers": {
"mariadb": {
"command": "npx",
"args": ["mariadb-mcp-server"],
"env": {
"MARIADB_HOST": "your-host",
"MARIADB_PORT": "3306",
"MARIADB_USER": "your-user",
"MARIADB_PASSWORD": "your-password",
"MARIADB_DATABASE": "your-database",
"MARIADB_ALLOW_INSERT": "false",
"MARIADB_ALLOW_UPDATE": "false",
"MARIADB_ALLOW_DELETE": "false",
"MARIADB_TIMEOUT_MS": "10000",
"MARIADB_ROW_LIMIT": "1000"
},
"disabled": false,
"autoApprove": []
}
}
}
{
"mcpServers": {
"mariadb": {
"command": "node",
"args": ["/absolute/path/to/mariadb-mcp-server/dist/index.js"],
"env": {
"MARIADB_HOST": "your-host",
"MARIADB_PORT": "3306",
"MARIADB_USER": "your-user",
"MARIADB_PASSWORD": "your-password",
"MARIADB_DATABASE": "your-database",
"MARIADB_ALLOW_INSERT": "false",
"MARIADB_ALLOW_UPDATE": "false",
"MARIADB_ALLOW_DELETE": "false",
"MARIADB_TIMEOUT_MS": "10000",
"MARIADB_ROW_LIMIT": "1000"
},
"disabled": false,
"autoApprove": []
}
}
}
The server registers the following MCP tools:
list_databasesLists all databases accessible to the configured user.
list_tablesLists tables from a specific database.
Parameters:
database (optional): database name to inspectdescribe_tableReturns the schema of a specific table.
Parameters:
database (optional): database nametable (required): table nameexecute_queryExecutes a SQL query.
Parameters:
database (optional): database namequery (required): SQL statement to runThe repository includes scripts to validate the server against a MariaDB or MySQL instance.
npm run test:setup
npm run test:tools
Or run everything together:
npm test
If you encounter issues:
Inspiration https://github.com/dpflucas/mysql-mcp-server
This project is licensed under the MIT License - see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MariaDB / MySQL MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mariadb-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.