Database · MODEL CONTEXT PROTOCOL

mcp-server-mariadb

An mcp server that provides read-only access to MariaDB.

WHAT IT CONNECTS

What mcp-server-mariadb gives an AI Agent

  • query_database
  • Execute read-only operations against MariDB
  • mac
  • when install mariadb,
  • execute `brew install mariadb-connector-c`
  • execute `echo 'export PATH="/opt/homebrew/opt/mariadb-connector-c/bin:$PATH"' >> ~/.bashrc`
  • set environment variable `export MARIADB_CONFIG=$(brew --prefix mariadb-connector-c)/bin/mariadb_config`
  • execute `uv add mariadb` again.
  • **MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
  • **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
  • `/PATH/TO/uvx`: Full path to uvx executable
  • `/PATH/TO/uv`: Full path to UV executable
  • `/YOUR/SOURCE/PATH/mcp-server-mariadb/src/mcp_server_mariadb`: Path to server source code

SECURITY

An MCP listing is not a security review

An MCP server may receive model context, credentials, local files, or permission to call external systems. Review its code, requested environment variables, network behavior, package provenance, and maintenance status before connecting it to an agent.