MCP.so
登录

MCP Server Mariadb

@abel9851

基本信息

分类

数据库

许可证

MIT

传输方式

stdio

作者

abel9851

关于 MCP Server Mariadb

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

MCP Server Mariadb 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Server Mariadb 工具

1

Execute 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_database tool.
  • 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.

常见问题

1

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`.

2

Can mcp-server-mariadb modify data?

No. The `query_database` tool is read‑only; it only executes queries that do not modify the database.

3

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.

4

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.

5

Is mcp-server-mariadb production‑ready?

The README does not specify production readiness. It is provided under the MIT license with no warranties.

评论

数据库 分类下的更多 MCP 服务器