mcp_server_mariadb_reader

mcp_server_mariadb_reader

2

The MariaDB Reader MCP Server facilitates exploration and interaction with MariaDB databases, enabling AI assistants to access and query data efficiently. Key features include listing databases, retrieving table schemas, and querying tables, making it a robust tool for database management.

MariaDB Reader MCP Server

This project is a Model Context Protocol (MCP) server designed for exploring and interacting with MariaDB databases. AI assistants, such as Cline, can use this server to access and query information from MariaDB.

Features

  • List Databases: Returns a list of all accessible databases.
  • List Tables: Provides a list of all tables within a specified database.
  • Get Table Schema: Returns the schema definition of a specified table.
  • Query Table: Retrieves data from a specified table, returning up to 100 rows by default.

Setup

To use this server, clone the GitHub repository and register the server information in the MCP client configuration file. The repository includes pre-built binaries, eliminating the need for a separate build process.

Development

While pre-built files are included, if source code modifications are needed, follow these steps:

  1. Install dependencies using npm.
  2. Rebuild the project after modifying the source code.
  3. Optionally, use a watch mode to detect changes and rebuild automatically.