MCPDBWizard for MariaDB

io.github.srmadscience由 GitHub 账号 srmadscience 发布v2.0.46更新于 Nov 15, 2026

一个根据你选择的存储过程、表和语句构建的 MariaDB MCP 服务器。没有 run-sql 工具

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

A MariaDB MCP server built from the procedures, tables and statements you select. No run-sql tool

发布方自己的服务:MariaDB Documentation

已验证STDIO仅桌面数据库开发者工具

概览

MCPDBWizard for MariaDB 的本地 MCP 服务;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 MCPDBWizard for MariaDB,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

MCPDBWizard for MariaDB

MCPDBWizard for MariaDB generates MCP servers from a MariaDB schema. You select the tables, views, functions, procedures, Oracle-mode package members, sequences and SQL statements to expose, and it generates a server for exactly those. An agent then reaches the database only through typed tools. Nothing you didn't select has any code generated for it, and every call binds values rather than passing SQL text.

It ships as a Docker image. The web console runs inside it: Design chooses what to expose, and Runtime generates, starts and fronts the servers over HTTP.

This repository holds no source code. It exists for the release notes and as a public home for the image.

Get the image

docker pull ghcr.io/srmadscience/mcpdbwizard-mariadb:latestdocker pull docker.io/srmadscience/mcpdbwizard-mariadb:latest

Both registries hold the same multi-arch image (linux/amd64, linux/arm64). Pin a version tag in anything that matters. latest moves, and docker run never refreshes an image the machine already has.

Run it

docker run -d --name mcpdbwizard-mariadb -p 8080:8080 -v mcpdbwizard-data:/data \  -e MCPDBWIZARD_DB_HOST=db.example.com \  -e MCPDBWIZARD_DB_NAME=appdb \  -e MCPDBWIZARD_DB_USER=appuser \  -e DB_PASS_FILE=/run/secrets/db \  -e ADMIN_INITIAL_PASSWORD='choose-a-long-one' \  ghcr.io/srmadscience/mcpdbwizard-mariadb:latest

Open http://localhost:8080, log in as admin with ADMIN_INITIAL_PASSWORD, and set a new password when asked.

SettingMeaning
MCPDBWIZARD_DB_HOSTThe database host
MCPDBWIZARD_DB_PORTIts port; 3306 if unset
MCPDBWIZARD_DB_NAMEThe database. Its objects are the ones listed as your own
MCPDBWIZARD_DB_USERThe login. It need not share the database's name
MCPDBWIZARD_DB_OTHER_USEROptional: more databases to list, as a LIKE pattern (app%)
DB_PASS_FILE or DB_PASSThe login's password: a file (preferred) or the value; not both
ADMIN_INITIAL_PASSWORDThe console's first admin password

/data holds the configs and the generated servers. Keep it on a volume.

The login needs these grants on each database it reads:

sql
GRANT SELECT, EXECUTE, SHOW CREATE ROUTINE ON appdb.* TO appuser;

SHOW CREATE ROUTINE is the one that is easy to miss. Without it, MCPDBWizard cannot read a routine's ROW parameter fields, whether a function is an aggregate, or (on 11.8) its parameter defaults. A sequence's NEXTVAL also needs INSERT on that sequence.

Supported versions

MariaDB 11.4, 11.8, 12.3 and 13.x, each tested with lower_case_table_names 0, and 11.4 and 13.0 with 1 as well. MariaDB 10.11 is not supported: a login that did not create a routine cannot read its source there, so its parameters cannot be described.

Geometry crosses as EWKT (SRID=4326;POINT(1 2)), VECTOR (11.8 and later) as an array of numbers, and JSON as its text. Cursor outputs need 12.3 or later. The MCP server is the way in: the SOAP service layer and the JSON / JSON-RPC connectors of the Oracle product are not available for MariaDB.

Documentation and licence

Documentation is at https://mcpdbwizard.com/docs/. The image is proprietary software from ATB Consultancy Services Ltd, and an MCPDBWizard licence covers the Oracle, Postgres and MariaDB products alike. See https://mcpdbwizard.com for terms.

Reporting a problem

To report a suspected security problem, use this repository's Security tab → Report a vulnerability, which keeps the report private. Please don't open a public issue for it. For anything else, open an issue. Include the image tag, the MariaDB version (select version()), and a minimal config or steps that reproduce it.

来源:README.md,提交 7a572f7

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

5
  1. v2.0.46最新Nov 15, 2026
  2. v2.0.44Nov 14, 2026
  3. v2.0.42Nov 14, 2026
  4. v2.0.40Nov 14, 2026
  5. v2.0.36Nov 12, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Mariadb 集成