drio
Open app

mcp-server-mariadb

Source

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

Catalog onlyCatalog onlySTDIO

Overview

MCP MariaDB Server is a server application designed to work with MariaDB, providing a robust environment for database management.

To use MCP MariaDB Server, you need to install MariaDB and configure the server settings as per the provided instructions. Follow the installation steps and set up the server using the configuration file.

  • Easy installation and setup for MariaDB. - Configuration options for server management. - Compatibility with various operating systems.
  1. Managing databases for web applications.
  2. Running data analytics and reporting.
  3. Supporting backend services for software applications.

Add to your AI client

Use these steps to connect mcp-server-mariadb in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-mariadb-abel9851": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-mariadb-abel9851"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-mariadb-abel9851": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-mariadb-abel9851"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-mariadb-abel9851": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-mariadb-abel9851"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-mariadb-abel9851": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-mariadb-abel9851"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-mariadb-abel9851": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-mariadb-abel9851"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-mariadb-abel9851": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-mariadb-abel9851"
      ]
    }
  }
}

FAQ

What is required to install MCP MariaDB Server?

You need to have MariaDB installed along with the MariaDB Connector/C.

Can I run MCP MariaDB Server on Windows?

Yes, MCP MariaDB Server can be configured to run on Windows, but ensure all dependencies are met.

Where can I find the installation instructions?

Installation instructions are provided in the project documentation on GitHub.