mcp-server-mariadb logo

mcp-server-mariadb

by MCP-Mirror

An MCP server implementation designed to retrieve data from MariaDB databases. It exposes schema information and provides tools for executing read-only queries.

View on GitHub

Last updated: N/A

What is mcp-server-mariadb?

This is an MCP (Meta-Config Protocol) server that acts as an interface to a MariaDB database. It allows other applications, such as Claude Desktop, to access and query the database in a structured and controlled manner.

How to use mcp-server-mariadb?

To use this server, you need to configure it within the Claude Desktop application (or another compatible application) by providing the necessary database credentials (host, port, user, password, database name). You can configure it as a published or development server, depending on your needs. The configuration involves specifying the command to execute the server and any necessary arguments.

Key features of mcp-server-mariadb

  • Exposes schema list in database

  • Provides a tool to query the database (read-only)

  • Configuration for both published and development environments

  • Integration with Claude Desktop

Use cases of mcp-server-mariadb

  • Integrating MariaDB data with Claude Desktop

  • Providing a secure and controlled interface to a MariaDB database

  • Enabling read-only access to MariaDB data for reporting or analysis

  • Building applications that require access to MariaDB data through a standardized protocol

FAQ from mcp-server-mariadb

What is MCP?

MCP stands for Meta-Config Protocol, a protocol for managing and accessing configuration data.

What kind of queries can I execute?

The server is designed for read-only operations, ensuring data integrity.

How do I install MariaDB Connector/C?

On macOS, you can use brew install mariadb-connector-c. You may also need to set environment variables as described in the README.

Where can I find the Claude Desktop config file?

The config file is located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows.

What license is this server under?

This server is licensed under the MIT license. See the LICENSE file in the repository for details.