# MCPDBWizard for MariaDB

> MCPDBWizard for MariaDB is a paid MCP server for databases. Generates a MariaDB MCP server from only the tables, routines and statements you pick. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** self-hosted, Linux, Web
- **Website:** https://mcpdbwizard.com/docs/mariadb/
- **Repository:** https://github.com/srmadscience/mcpdbwizard-mariadb
- **MCP Registry name:** io.github.srmadscience/mcpdbwizard-mariadb
- **Categories:** databases
- **Listing updated:** 2026-11-14

## About

The design principle is exclusion: anything you do not select gets no tool, no method and no class, and there is no run-sql tool. Every call binds its values instead of passing SQL text, so an agent can only do what the generated server was built to allow.

A web console inside the Docker image has a Design area for choosing objects and a Runtime area that generates, starts and fronts the servers over HTTP. Tables get get_by_pk, insert, update and delete plus lookups per unique key, index and foreign key; procedures, functions and Oracle-mode package members get one tool each, sequences get nextval, and your own SQL statements become one tool apiece.

It targets MariaDB 11.4, 11.8, 12.3 and 13.x; 10.11 is not supported. Cursor outputs need 12.3 or later and VECTOR columns need 11.8 or later. The image is proprietary software from ATB Consultancy Services, and one licence also covers the Oracle and Postgres editions.

## Features

- **Selection-only exposure:** Only the objects you choose get generated code, so unselected tables and routines are unreachable.
- **Bound parameters:** Every call binds values rather than passing SQL text.
- **Routine and package tools:** Procedures, functions and package members each become a typed tool, with OUT parameters and result sets returned.
- **Custom SQL statements:** Each saved statement is exposed as its own tool and checked when the server is generated.
- **Context Pinning:** URL parameters are set as user variables so a customer-facing config can be scoped.
- **Docker console:** A multi-arch image (amd64 and arm64) with a Design and a Runtime console.

## Good for

- Give an agent safe access to a few tables of a production MariaDB
- Expose stored procedures as typed tools without writing a server
- Build a customer-facing MCP endpoint scoped by Context Pinning
- Wrap vetted SQL statements as agent tools

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcpdbwizard-mariadb -- docker run -i --rm ghcr.io/srmadscience/mcpdbwizard-mariadb:2.0.46
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcpdbwizard-mariadb": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/srmadscience/mcpdbwizard-mariadb:2.0.46"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcpdbwizard-mariadb": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/srmadscience/mcpdbwizard-mariadb:2.0.46"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcpdbwizard-mariadb": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/srmadscience/mcpdbwizard-mariadb:2.0.46"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcpdbwizard-mariadb": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/srmadscience/mcpdbwizard-mariadb:2.0.46"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcpdbwizard-mariadb": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/srmadscience/mcpdbwizard-mariadb:2.0.46"
      ]
    }
  }
}
```

## Tools

- `get_by_pk`
- `insert`
- `update`
- `delete`
- `nextval`

## FAQ

### Which MariaDB versions work?

MariaDB 11.4, 11.8, 12.3 and 13.x are supported. 10.11 is not, because a login that did not create a routine cannot read its source there.

### Can an agent run arbitrary SQL?

No. There is no run-sql tool; only the selected objects and statements are exposed, and values are bound.

### How is it distributed?

As a Docker image on ghcr.io and Docker Hub for linux/amd64 and linux/arm64. The repository holds release notes, not source code.

### What grants does the login need?

SELECT, EXECUTE and SHOW CREATE ROUTINE on each database it reads.

### Is MCPDBWizard for MariaDB free?

No. MCPDBWizard for MariaDB is a paid product.

### How do I add MCPDBWizard for MariaDB to Claude Code?

Run this command in your terminal: claude mcp add mcpdbwizard-mariadb -- docker run -i --rm ghcr.io/srmadscience/mcpdbwizard-mariadb:2.0.46

### What are the best alternatives to MCPDBWizard for MariaDB?

The closest alternatives to MCPDBWizard for MariaDB are Midplane, PlatypusDB, Lorebase, Sovaria and model2data studio.

## Alternatives

- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [PlatypusDB](https://ai-powered.com/mcp/platypusdb): PlatypusDB is an open-source MCP server for databases.
- [Lorebase](https://ai-powered.com/mcp/lorebase): Lorebase is an open-source MCP server for knowledge and memory.
- [Sovaria](https://ai-powered.com/mcp/sovaria): Sovaria is a freemium MCP server for databases.
- [model2data studio](https://ai-powered.com/mcp/model2data-studio): model2data studio is a freemium MCP server for databases.
- [semlayer](https://ai-powered.com/mcp/semlayer): semlayer is a free MCP server for databases.
- [bricksentry](https://ai-powered.com/mcp/bricksentry): bricksentry is an open-source MCP server for databases.
- [MCP Toolbox for Databases](https://ai-powered.com/mcp/mcp-toolbox-for-databases-2): MCP Toolbox for Databases is an open-source MCP server for databases.

---
Source: https://ai-powered.com/mcp/mcpdbwizard-for-mariadb
