mcp-server-mariadb
by abel9851
An MCP server implementation designed for retrieving data from MariaDB databases. It exposes schema lists and provides tools for executing read-only operations.
Last updated: N/A
What is mcp-server-mariadb?
This is an MCP (Modular Content Platform) server specifically designed to interact with MariaDB databases. It provides a way to access and query data within a MariaDB instance through a standardized interface.
How to use mcp-server-mariadb?
To use this server, you need to configure it with the necessary MariaDB connection details (host, port, user, password, database). Configuration examples are provided for integrating with Claude Desktop, including setting environment variables and specifying the path to the server executable or source code. You'll need to install the mariadb-connector-c dependency, especially on MacOS.
Key features of mcp-server-mariadb
Exposes schema list in database
Provides a tool to query the database (read-only)
Configuration examples for Claude Desktop
MIT License
Use cases of mcp-server-mariadb
Integrating MariaDB data into MCP-based applications
Providing a secure and controlled way to query MariaDB data
Building data-driven applications with Claude Desktop
Accessing MariaDB data through a standardized MCP interface
FAQ from mcp-server-mariadb
What is MCP?
What is MCP?
MCP stands for Modular Content Platform. It's a system for managing and delivering content in a modular way.
What is MariaDB Connector/C and why is it needed?
What is MariaDB Connector/C and why is it needed?
MariaDB Connector/C is a client library required to connect to MariaDB databases. It's a dependency for this server.
How do I resolve the OSError: mariadb_config not found?
How do I resolve the OSError: mariadb_config not found?
On MacOS, install mariadb-connector-c using brew install mariadb-connector-c
, set the environment variable MARIADB_CONFIG
, and ensure the library is in your PATH.
What kind of operations can I perform using query_database?
What kind of operations can I perform using query_database?
The query_database tool is designed for read-only operations against the MariaDB database. This means you can retrieve data but not modify it.
Where can I find the LICENSE file?
Where can I find the LICENSE file?
The LICENSE file is located in the root directory of the repository.