Basic information
About mariadb-mcp-server
An mcp server that provides read-only access to MariaDB.
mariadb-mcp-server is a MCP server in the Databases category listed in the AddMCP.net directory, published by abel9851. Supported transport: stdio. Runtime: python. License: MIT license. The repository has 20 GitHub stars. Source code is hosted on github.com. Related topics: mariadb, mcp, mcp-server, model-context-protocol.
mariadb-mcp-server config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
mariadb-mcp-server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is mariadb-mcp-server?
mariadb-mcp-server is an MCP (Model Context Protocol) server that enables AI assistants like Claude to execute read-only SQL queries against a MariaDB database and retrieve its schema. It is intended for developers who want to query MariaDB through MCP-compatible clients.
How to use mariadb-mcp-server?
Install MariaDB Connector/C (on macOS using Homebrew), set the required environment variables (MARIADB_HOST, MARIADB_USER, MARIADB_PASSWORD, MARIADB_DATABASE, MARIADB_PORT), and configure your MCP client (e.g., Claude Desktop) with the uv command pointing to the server source. Once configured, use the query_database tool to run read-only queries.
Key features of mariadb-mcp-server
- Exposes database schema list as resources
- Provides a read-only
query_databasetool - Uses MariaDB Connector/C for database connectivity
- Licensed under the MIT License
Use cases of mariadb-mcp-server
- Query MariaDB from an AI assistant without write access
- Explore and document database schemas through natural language
- Integrate MariaDB data into MCP-powered workflows
- Run ad-hoc read-only reports via Claude Desktop
Frequently asked questions
1 How do I resolve the "mariadb_config not found" error?
Install MariaDB Connector/C (e.g., brew install mariadb-connector-c), add its bin directory to PATH, set the MARIADB_CONFIG environment variable, and retry the dependency installation.
2 What environment variables are required?
MARIADB_HOST, MARIADB_USER, MARIADB_PASSWORD, MARIADB_DATABASE, and MARIADB_PORT (default 3306). These are set in the client configuration’s env block.
3 What operations can the server perform?
It only supports read-only operations via the query_database tool. No write or DDL commands are allowed.
4 Where is the Claude Desktop configuration file located?
On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows: %APPDATA%\Claude\claude_desktop_config.json.
5 What license does mariadb-mcp-server use?
It is licensed under the MIT License.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In