mcp-server-mariadb
@abel9851
关于 mcp-server-mariadb
An mcp server that provides read-only access to MariaDB.
基本信息
配置
工具
1Execute read-only operations against MariDB
概览
What is mcp-server-mariadb?
An MCP (Model Context Protocol) server that retrieves data from a MariaDB database. It is intended for use with MCP clients such as Claude Desktop.
How to use mcp-server-mariadb?
Configure the server in your Claude Desktop config file (claude_desktop_config.json). Use uvx to run the published package with connection parameters (--host, --port, --user, --password, --database). For development, use uv to run the source directly with environment variables.
Key features of mcp-server-mariadb
- Expose schema list in database as a resource.
- Execute read-only SQL queries via
query_databasetool. - Secured – only read‑only operations are permitted.
- Supports connection to any MariaDB instance.
- MIT licensed.
Use cases of mcp-server-mariadb
- Explore database schema without direct client access.
- Run ad‑hoc read queries from an MCP chat interface.
- Integrate MariaDB data into AI‑assisted workflows.
- Provide database metadata to LLMs for context.
FAQ from mcp-server-mariadb
What dependencies does mcp-server-mariadb require?
You must have MariaDB Connector/C installed. On macOS, run brew install mariadb-connector-c and set the MARIADB_CONFIG environment variable to the path of mariadb_config.
Can mcp-server-mariadb modify data?
No. The query_database tool is read‑only; it only executes queries that do not modify the database.
How do I configure mcp-server-mariadb with Claude Desktop?
Add a JSON entry under mcpServers in the Claude config file. Use uvx with connection arguments for the published version, or uv with environment variables for development.
Where does the server look for the database?
You provide the host, port, user, password, and database name either as command‑line arguments (--host, --port, etc.) or via environment variables.
Is mcp-server-mariadb production‑ready?
The README does not specify production readiness. It is provided under the MIT license with no warranties.
数据库 分类下的更多 MCP 服务器
mcp-server-qdrant: A Qdrant MCP server
qdrantAn official Qdrant Model Context Protocol (MCP) server implementation
Neon MCP Server
neondatabaseMCP server for interacting with Neon Management API and databases
mcp_mysql_server
xwb602625136Model Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
MCP Alchemy
runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
ClickHouse MCP Server
ClickHouseConnect ClickHouse to your AI assistants.
评论