Skip to main content
Glama
siakhooi

mcp-mariadb

by siakhooi

mcp-mariadb

A simple Model Context Protocol (MCP) server for MariaDB.

Features

  • Loads MariaDB connection settings from a YAML config file

  • Uses the environment variable MCP_MARIADB_CONFIG when set

  • Defaults to ~/.mcp-mariadb/config.yaml when the environment variable is not set

  • Exposes one tool: executesql

Related MCP server: DBHub

Usages

Installation

Use one of the sample in editor's mcp config file, put in your repo:

  • .cursor/mcp.json

  • .antigravity/mcp.config.json

  • .vscode/mcp.json

  • .windsurf/mcp.config.json

Notes: remove the --network mcp-net in the config file if your database is not configured to use the docker network mcp-net.

Configuration

Create a YAML file such as:

mariadb:
  host: localhost
  database: app
  username: app
  password: secret

Tool usage

Ask the AI agent to use it when work with mariadb database.

Badges

Wise visitors

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • A basic MCP server to operate on the Postman API.

  • MCP server for managing Prisma Postgres.

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/siakhooi/mcp-mariadb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server