MariaDB MCP Server

by abel9851
MIT License
5
  • Apple

Integrations

  • Allows querying MariaDB databases to retrieve schema information and execute read-only SQL operations against MariaDB instances.

servidor mcp-mariadb

Una implementación de servidor MCP para recuperar datos de mariadb

Características

Recursos

Exponer la lista de esquemas en la base de datos

Herramientas

  • base de datos de consultas
    • Ejecutar operaciones de solo lectura contra MariDB

dependencia

instalar mariadb

  • impermeable
    • Al instalar MariaDB, es posible que aparezca el siguiente error del sistema operativo. Puede resolverlo instalando MariaDB-Connector-C.
OSError: mariadb_config not found. This error typically indicates that MariaDB Connector/C, a dependency which must be preinstalled, is not found. If MariaDB Connector/C is not installed, see installation instructions If MariaDB Connector/C is installed, either set the environment variable MARIADB_CONFIG or edit the configuration file 'site.cfg' to set the 'mariadb_config' option to the file location of the mariadb_config utility.
  1. ejecutar brew install mariadb-connector-c
  2. ejecutar echo 'export PATH="/opt/homebrew/opt/mariadb-connector-c/bin:$PATH"' >> ~/.bashrc
  3. establecer la variable de entorno export MARIADB_CONFIG=$(brew --prefix mariadb-connector-c)/bin/mariadb_config
  4. Ejecute uv add mariadb nuevamente.

Uso con Claude Desktop

Archivo de configuración

Rutas al archivo de configuración de Claude Desktop:

  • MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json
  • Ventanas : %APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "mcp_server_mariadb": { "command": "/PATH/TO/uvx" "args": [ "mcp-server-mariadb", "--host", "${DB_HOST}", "--port", "${DB_PORT}", "--user", "${DB_USER}", "--password", "${DB_PASSWORD}", "--database", "${DB_NAME}" ] } } }

Nota : reemplace estos marcadores de posición con rutas reales:

  • /PATH/TO/uvx : Ruta completa al ejecutable uvx
{ "mcpServers": { "mcp_server_mariadb": { "command": "/PATH/TO/uv", "args": [ "--directory", "/YOUR/SOURCE/PATH/mcp-server-mariadb/src/mcp_server_mariadb", "run", "server.py" ], "env": { "MARIADB_HOST": "127.0.0.1", "MARIADB_USER": "USER", "MARIADB_PASSWORD": "PASSWORD", "MARIADB_DATABASE": "DATABASE", "MARIADB_PORT": "3306" } } } }

Nota : reemplace estos marcadores de posición con rutas reales:

  • /PATH/TO/uv : Ruta completa al ejecutable UV
  • /YOUR/SOURCE/PATH/mcp-server-mariadb/src/mcp_server_mariadb : Ruta al código fuente del servidor

Licencia

Este servidor mcp tiene licencia MIT. Consulte el archivo LICENCIA en el repositorio.

-
security - not tested
A
license - permissive license
-
quality - not tested

Una implementación de servidor MCP que permite a Claude ejecutar consultas de solo lectura en bases de datos MariaDB y explorar esquemas de bases de datos a través del lenguaje natural.

  1. Features
    1. Resources
    2. Tools
  2. dependency
    1. install mariadb
  3. Usage with Claude Desktop
    1. Configuration File
  4. License

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      An MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.
      Last updated -
      7
      18
      4
      TypeScript
      MIT License
      • Apple
      • Linux
    • -
      security
      A
      license
      -
      quality
      An MCP server that enables natural language querying of Supabase PostgreSQL databases using Claude 3.7, allowing users to inspect schemas, execute SQL, manage migrations, and convert natural language to SQL queries.
      Last updated -
      Python
      MIT License
      • Linux
      • Apple
    • A
      security
      F
      license
      A
      quality
      MCP server that allows Claude AI to interact directly with MySQL databases, enabling query execution and table information retrieval through natural language.
      Last updated -
      1
      6
      3
      JavaScript
    • -
      security
      -
      license
      -
      quality
      An MCP server that allows working with MySQL databases by providing tools for executing read-only SQL queries, getting table schemas, and listing database tables.
      Last updated -
      1
      JavaScript

    View all related MCP servers

    ID: axor9jvqwx