MariaDB Reader MCP Server
The MariaDB Reader MCP Server allows AI assistants to explore and interact with MariaDB databases through the following capabilities:
List Databases: Retrieve a list of all accessible databases
List Tables: Obtain a list of all tables within a specified database
Get Table Schema: Fetch the schema (column definitions) of a specified table
Query Table: Query data from a specified table, with an optional limit on the number of rows returned (defaults to 100)
Enables database exploration and interaction with MariaDB databases, providing tools to list databases, view tables, retrieve table schemas, and query table data with customizable limits.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MariaDB Reader MCP Servershow me the schema for the users table in the ecommerce database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MariaDB Reader MCP Server
This project is a Model Context Protocol (MCP) server for exploring and interacting with MariaDB databases. It provides tools for AI assistants like Cline to access and query MariaDB databases.
function
This MCP server provides the following tools:
list_databases: Returns a list of all accessible databases.list_tables: Returns a list of all tables in the specified database.Input:
database(string, required) - The name of the database for which to retrieve a list of tables.
get_table_schema: Returns the schema (column definition) of the specified table.input:
database(string, required) - The name of the database to which the table belongs.table(string, required) - The name of the table to query the schema for.
query_table: Retrieves data from a specified table. By default, it returns the first 100 rows.input:
database(string, required) - The name of the database to which the table belongs.table(string, required) - The name of the table from which to retrieve data.limit(number, optional) - The maximum number of rows to return (default: 100).
Related MCP server: MCP MariaDB Server
setting
To use this server, you need to clone the GitHub repository and register the server information in the configuration file of your MCP client (e.g. the VS Code extension). This repository includes a pre-built executable ( build/index.js ), so no separate build step is required.
Clone repository: Clone this repository to a location of your choice.
git clone https://github.com/moosin76/mcp_server_mariadb_reader.gitModify the MCP settings file:
Example settings:
{
"mcpServers": {
"mcp_server_mariadb_reader": {
"command": "node",
"args": ["<클론된 저장소 경로>/build/index.js"], // 클론된 저장소 내 build/index.js 파일 경로
"env": {
"MARIADB_HOST": "YOUR_DB_HOST", // MariaDB 호스트 주소
"MARIADB_PORT": "YOUR_DB_PORT", // MariaDB 포트 번호 (예: "3306")
"MARIADB_USER": "YOUR_DB_USER", // MariaDB 사용자 이름
"MARIADB_PASSWORD": "YOUR_DB_PASSWORD", // MariaDB 비밀번호
"MARIADB_DATABASE": "YOUR_DEFAULT_DB" // (선택) 기본 데이터베이스 이름
},
"disabled": false,
"autoApprove": []
}
// 다른 MCP 서버 설정...
}
}caution:
You need to change
<클론된 저장소 경로>part to the local path where you cloned the actual repository (e.g.C:/Users/YourUser/Documents/GitHub/mcp_server_mariadb_reader).You will need to modify the MariaDB connection information in
envobject to match your actual environment.
Development (when modifying source code)
This repository contains the built files, so you don't need to follow the steps below to use the server. If you want to modify the source code ( src directory ) directly and apply the changes, follow these steps:
Installing dependencies (first time or when changing
package.json):npm installBuild after fix:
npm run buildThis command compiles TypeScript code in the
srcdirectory into JavaScript code inbuilddirectory.
(Optional) Detect changes during development and build automatically:
npm run watch
License
This project is distributed under the [Enter License Information] license.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with MariaDB databases through standard SQL operations and advanced vector/embedding-based search. Supports database management, schema inspection, and semantic document storage and retrieval with multiple embedding providers.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with MariaDB databases through SQL operations and vector-based semantic search. Supports standard database queries, schema inspection, and optional embedding-powered document storage and retrieval.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with MariaDB databases through schema exploration, query execution, and database statistics. Includes security features like read-only mode, parameterized queries, and connection pooling with support for both JSON and Markdown output formats.
- AlicenseBqualityCmaintenanceEnables AI assistants to securely interact with MariaDB and MySQL databases using granular per-connection read/write permissions and transaction support. It allows users to manage multiple database connections, explore schemas, and execute controlled SQL queries through a standardized interface.6155MIT
Related MCP Connectors
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
Connect to PlanetScale databases, branches, schema, query insights, and execute SQL
Read-only MCP server for Muovi, Argentina's trust-first local services marketplace (6 tools).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/moosin76/mcp_server_mariadb_reader'
If you have feedback or need assistance with the MCP directory API, please join our Discord server